18.0 MB
/srv/reproducible-results/rbuild-debian/r-b-build.riXwDqo9/b1/dune-common_2.9.0-2_i386.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.riXwDqo9/b2/dune-common_2.9.0-2_i386.changes
406 B
Files
    
Offset 1, 4 lines modifiedOffset 1, 4 lines modified
  
1 ·dd57c400d34b1d05ff15abb12e63c8c8·495992·debug·optional·libdune-common-dev-dbgsym_2.9.0-2_i386.deb1 ·dd57c400d34b1d05ff15abb12e63c8c8·495992·debug·optional·libdune-common-dev-dbgsym_2.9.0-2_i386.deb
2 ·72b4842c4b38ae5f291999ab63c9ee44·379756·libdevel·optional·libdune-common-dev_2.9.0-2_i386.deb2 ·72b4842c4b38ae5f291999ab63c9ee44·379756·libdevel·optional·libdune-common-dev_2.9.0-2_i386.deb
3 ·bfc8ee48676a156a80c4a50cd354fe1c·2757380·doc·optional·libdune-common-doc_2.9.0-2_all.deb3 ·2a35b9de168c3afcbfe5bfe2d76ad706·2758908·doc·optional·libdune-common-doc_2.9.0-2_all.deb
18.0 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····26448·2023-01-12·15:39:41.000000·control.tar.xz2 -rw-r--r--···0········0········0····26520·2023-01-12·15:39:41.000000·control.tar.xz
3 -rw-r--r--···0········0········0··2730740·2023-01-12·15:39:41.000000·data.tar.xz3 -rw-r--r--···0········0········0··2732196·2023-01-12·15:39:41.000000·data.tar.xz
12.4 KB
control.tar.xz
12.4 KB
control.tar
12.4 KB
./md5sums
30.0 B
./md5sums
Files differ
12.3 KB
line order
    
Offset 32, 17 lines modifiedOffset 32, 16 lines modified
32 usr/share/doc/libdune-common-doc/doxygen/a00020_source.html32 usr/share/doc/libdune-common-doc/doxygen/a00020_source.html
33 usr/share/doc/libdune-common-doc/doxygen/a00023.html33 usr/share/doc/libdune-common-doc/doxygen/a00023.html
34 usr/share/doc/libdune-common-doc/doxygen/a00023_source.html34 usr/share/doc/libdune-common-doc/doxygen/a00023_source.html
35 usr/share/doc/libdune-common-doc/doxygen/a00026.html35 usr/share/doc/libdune-common-doc/doxygen/a00026.html
36 usr/share/doc/libdune-common-doc/doxygen/a00026_source.html36 usr/share/doc/libdune-common-doc/doxygen/a00026_source.html
37 usr/share/doc/libdune-common-doc/doxygen/a00029.html37 usr/share/doc/libdune-common-doc/doxygen/a00029.html
38 usr/share/doc/libdune-common-doc/doxygen/a00029_source.html38 usr/share/doc/libdune-common-doc/doxygen/a00029_source.html
39 usr/share/doc/libdune-common-doc/doxygen/a00032.html 
40 usr/share/doc/libdune-common-doc/doxygen/a00032_source.html 
41 usr/share/doc/libdune-common-doc/doxygen/a00035.html39 usr/share/doc/libdune-common-doc/doxygen/a00035.html
 40 usr/share/doc/libdune-common-doc/doxygen/a00035_source.html
42 usr/share/doc/libdune-common-doc/doxygen/a00038.html41 usr/share/doc/libdune-common-doc/doxygen/a00038.html
43 usr/share/doc/libdune-common-doc/doxygen/a00038_source.html42 usr/share/doc/libdune-common-doc/doxygen/a00038_source.html
44 usr/share/doc/libdune-common-doc/doxygen/a00041.html43 usr/share/doc/libdune-common-doc/doxygen/a00041.html
45 usr/share/doc/libdune-common-doc/doxygen/a00041_source.html44 usr/share/doc/libdune-common-doc/doxygen/a00041_source.html
46 usr/share/doc/libdune-common-doc/doxygen/a00044.html45 usr/share/doc/libdune-common-doc/doxygen/a00044.html
47 usr/share/doc/libdune-common-doc/doxygen/a00044_source.html46 usr/share/doc/libdune-common-doc/doxygen/a00044_source.html
48 usr/share/doc/libdune-common-doc/doxygen/a00047.html47 usr/share/doc/libdune-common-doc/doxygen/a00047.html
Offset 50, 68 lines modifiedOffset 49, 66 lines modified
50 usr/share/doc/libdune-common-doc/doxygen/a00050.html49 usr/share/doc/libdune-common-doc/doxygen/a00050.html
51 usr/share/doc/libdune-common-doc/doxygen/a00050_source.html50 usr/share/doc/libdune-common-doc/doxygen/a00050_source.html
52 usr/share/doc/libdune-common-doc/doxygen/a00053.html51 usr/share/doc/libdune-common-doc/doxygen/a00053.html
53 usr/share/doc/libdune-common-doc/doxygen/a00053_source.html52 usr/share/doc/libdune-common-doc/doxygen/a00053_source.html
54 usr/share/doc/libdune-common-doc/doxygen/a00056.html53 usr/share/doc/libdune-common-doc/doxygen/a00056.html
55 usr/share/doc/libdune-common-doc/doxygen/a00056_source.html54 usr/share/doc/libdune-common-doc/doxygen/a00056_source.html
56 usr/share/doc/libdune-common-doc/doxygen/a00059.html55 usr/share/doc/libdune-common-doc/doxygen/a00059.html
 56 usr/share/doc/libdune-common-doc/doxygen/a00059_source.html
57 usr/share/doc/libdune-common-doc/doxygen/a00062.html57 usr/share/doc/libdune-common-doc/doxygen/a00062.html
58 usr/share/doc/libdune-common-doc/doxygen/a00062_source.html58 usr/share/doc/libdune-common-doc/doxygen/a00062_source.html
59 usr/share/doc/libdune-common-doc/doxygen/a00065.html59 usr/share/doc/libdune-common-doc/doxygen/a00065.html
60 usr/share/doc/libdune-common-doc/doxygen/a00065_source.html60 usr/share/doc/libdune-common-doc/doxygen/a00065_source.html
61 usr/share/doc/libdune-common-doc/doxygen/a00068.html61 usr/share/doc/libdune-common-doc/doxygen/a00068.html
62 usr/share/doc/libdune-common-doc/doxygen/a00068_source.html62 usr/share/doc/libdune-common-doc/doxygen/a00068_source.html
63 usr/share/doc/libdune-common-doc/doxygen/a00071.html63 usr/share/doc/libdune-common-doc/doxygen/a00071.html
64 usr/share/doc/libdune-common-doc/doxygen/a00071_source.html64 usr/share/doc/libdune-common-doc/doxygen/a00071_source.html
65 usr/share/doc/libdune-common-doc/doxygen/a00074.html65 usr/share/doc/libdune-common-doc/doxygen/a00074.html
66 usr/share/doc/libdune-common-doc/doxygen/a00074_source.html66 usr/share/doc/libdune-common-doc/doxygen/a00074_source.html
67 usr/share/doc/libdune-common-doc/doxygen/a00077.html67 usr/share/doc/libdune-common-doc/doxygen/a00077.html
68 usr/share/doc/libdune-common-doc/doxygen/a00077_source.html 
69 usr/share/doc/libdune-common-doc/doxygen/a00080.html68 usr/share/doc/libdune-common-doc/doxygen/a00080.html
70 usr/share/doc/libdune-common-doc/doxygen/a00080_source.html69 usr/share/doc/libdune-common-doc/doxygen/a00080_source.html
71 usr/share/doc/libdune-common-doc/doxygen/a00083.html70 usr/share/doc/libdune-common-doc/doxygen/a00083.html
72 usr/share/doc/libdune-common-doc/doxygen/a00083_source.html71 usr/share/doc/libdune-common-doc/doxygen/a00083_source.html
73 usr/share/doc/libdune-common-doc/doxygen/a00086.html72 usr/share/doc/libdune-common-doc/doxygen/a00086.html
74 usr/share/doc/libdune-common-doc/doxygen/a00086_source.html73 usr/share/doc/libdune-common-doc/doxygen/a00086_source.html
75 usr/share/doc/libdune-common-doc/doxygen/a00089.html74 usr/share/doc/libdune-common-doc/doxygen/a00089.html
76 usr/share/doc/libdune-common-doc/doxygen/a00089_source.html75 usr/share/doc/libdune-common-doc/doxygen/a00089_source.html
77 usr/share/doc/libdune-common-doc/doxygen/a00092.html76 usr/share/doc/libdune-common-doc/doxygen/a00092.html
78 usr/share/doc/libdune-common-doc/doxygen/a00092_source.html77 usr/share/doc/libdune-common-doc/doxygen/a00092_source.html
79 usr/share/doc/libdune-common-doc/doxygen/a00095.html78 usr/share/doc/libdune-common-doc/doxygen/a00095.html
80 usr/share/doc/libdune-common-doc/doxygen/a00095_source.html79 usr/share/doc/libdune-common-doc/doxygen/a00095_source.html
81 usr/share/doc/libdune-common-doc/doxygen/a00098.html80 usr/share/doc/libdune-common-doc/doxygen/a00098.html
82 usr/share/doc/libdune-common-doc/doxygen/a00098_source.html 
83 usr/share/doc/libdune-common-doc/doxygen/a00101.html81 usr/share/doc/libdune-common-doc/doxygen/a00101.html
84 usr/share/doc/libdune-common-doc/doxygen/a00101_source.html82 usr/share/doc/libdune-common-doc/doxygen/a00101_source.html
85 usr/share/doc/libdune-common-doc/doxygen/a00104.html83 usr/share/doc/libdune-common-doc/doxygen/a00104.html
86 usr/share/doc/libdune-common-doc/doxygen/a00104_source.html84 usr/share/doc/libdune-common-doc/doxygen/a00104_source.html
87 usr/share/doc/libdune-common-doc/doxygen/a00107.html85 usr/share/doc/libdune-common-doc/doxygen/a00107.html
88 usr/share/doc/libdune-common-doc/doxygen/a00107_source.html86 usr/share/doc/libdune-common-doc/doxygen/a00107_source.html
89 usr/share/doc/libdune-common-doc/doxygen/a00110.html87 usr/share/doc/libdune-common-doc/doxygen/a00110.html
90 usr/share/doc/libdune-common-doc/doxygen/a00110_source.html88 usr/share/doc/libdune-common-doc/doxygen/a00110_source.html
91 usr/share/doc/libdune-common-doc/doxygen/a00113.html89 usr/share/doc/libdune-common-doc/doxygen/a00113.html
92 usr/share/doc/libdune-common-doc/doxygen/a00113_source.html 
93 usr/share/doc/libdune-common-doc/doxygen/a00116.html90 usr/share/doc/libdune-common-doc/doxygen/a00116.html
94 usr/share/doc/libdune-common-doc/doxygen/a00116_source.html91 usr/share/doc/libdune-common-doc/doxygen/a00116_source.html
95 usr/share/doc/libdune-common-doc/doxygen/a00119.html92 usr/share/doc/libdune-common-doc/doxygen/a00119.html
96 usr/share/doc/libdune-common-doc/doxygen/a00119_source.html93 usr/share/doc/libdune-common-doc/doxygen/a00119_source.html
97 usr/share/doc/libdune-common-doc/doxygen/a00122.html94 usr/share/doc/libdune-common-doc/doxygen/a00122.html
98 usr/share/doc/libdune-common-doc/doxygen/a00122_source.html95 usr/share/doc/libdune-common-doc/doxygen/a00122_source.html
99 usr/share/doc/libdune-common-doc/doxygen/a00125.html96 usr/share/doc/libdune-common-doc/doxygen/a00125.html
100 usr/share/doc/libdune-common-doc/doxygen/a00125_source.html 
101 usr/share/doc/libdune-common-doc/doxygen/a00128.html97 usr/share/doc/libdune-common-doc/doxygen/a00128.html
 98 usr/share/doc/libdune-common-doc/doxygen/a00128_source.html
102 usr/share/doc/libdune-common-doc/doxygen/a00131.html99 usr/share/doc/libdune-common-doc/doxygen/a00131.html
103 usr/share/doc/libdune-common-doc/doxygen/a00131_source.html100 usr/share/doc/libdune-common-doc/doxygen/a00131_source.html
104 usr/share/doc/libdune-common-doc/doxygen/a00134.html101 usr/share/doc/libdune-common-doc/doxygen/a00134.html
 102 usr/share/doc/libdune-common-doc/doxygen/a00134_source.html
105 usr/share/doc/libdune-common-doc/doxygen/a00137.html103 usr/share/doc/libdune-common-doc/doxygen/a00137.html
106 usr/share/doc/libdune-common-doc/doxygen/a00137_source.html104 usr/share/doc/libdune-common-doc/doxygen/a00137_source.html
107 usr/share/doc/libdune-common-doc/doxygen/a00140.html105 usr/share/doc/libdune-common-doc/doxygen/a00140.html
108 usr/share/doc/libdune-common-doc/doxygen/a00140_source.html106 usr/share/doc/libdune-common-doc/doxygen/a00140_source.html
109 usr/share/doc/libdune-common-doc/doxygen/a00143.html107 usr/share/doc/libdune-common-doc/doxygen/a00143.html
110 usr/share/doc/libdune-common-doc/doxygen/a00143_source.html 
111 usr/share/doc/libdune-common-doc/doxygen/a00146.html108 usr/share/doc/libdune-common-doc/doxygen/a00146.html
112 usr/share/doc/libdune-common-doc/doxygen/a00146_source.html109 usr/share/doc/libdune-common-doc/doxygen/a00146_source.html
113 usr/share/doc/libdune-common-doc/doxygen/a00149.html110 usr/share/doc/libdune-common-doc/doxygen/a00149.html
114 usr/share/doc/libdune-common-doc/doxygen/a00149_source.html111 usr/share/doc/libdune-common-doc/doxygen/a00149_source.html
115 usr/share/doc/libdune-common-doc/doxygen/a00152.html112 usr/share/doc/libdune-common-doc/doxygen/a00152.html
116 usr/share/doc/libdune-common-doc/doxygen/a00152_source.html113 usr/share/doc/libdune-common-doc/doxygen/a00152_source.html
117 usr/share/doc/libdune-common-doc/doxygen/a00155.html114 usr/share/doc/libdune-common-doc/doxygen/a00155.html
Offset 137, 15 lines modifiedOffset 134, 14 lines modified
137 usr/share/doc/libdune-common-doc/doxygen/a00185.html134 usr/share/doc/libdune-common-doc/doxygen/a00185.html
138 usr/share/doc/libdune-common-doc/doxygen/a00185_source.html135 usr/share/doc/libdune-common-doc/doxygen/a00185_source.html
139 usr/share/doc/libdune-common-doc/doxygen/a00188.html136 usr/share/doc/libdune-common-doc/doxygen/a00188.html
140 usr/share/doc/libdune-common-doc/doxygen/a00188_source.html137 usr/share/doc/libdune-common-doc/doxygen/a00188_source.html
141 usr/share/doc/libdune-common-doc/doxygen/a00191.html138 usr/share/doc/libdune-common-doc/doxygen/a00191.html
142 usr/share/doc/libdune-common-doc/doxygen/a00191_source.html139 usr/share/doc/libdune-common-doc/doxygen/a00191_source.html
143 usr/share/doc/libdune-common-doc/doxygen/a00194.html140 usr/share/doc/libdune-common-doc/doxygen/a00194.html
144 usr/share/doc/libdune-common-doc/doxygen/a00194_source.html 
145 usr/share/doc/libdune-common-doc/doxygen/a00197.html141 usr/share/doc/libdune-common-doc/doxygen/a00197.html
146 usr/share/doc/libdune-common-doc/doxygen/a00197_source.html142 usr/share/doc/libdune-common-doc/doxygen/a00197_source.html
147 usr/share/doc/libdune-common-doc/doxygen/a00200.html143 usr/share/doc/libdune-common-doc/doxygen/a00200.html
148 usr/share/doc/libdune-common-doc/doxygen/a00200_source.html144 usr/share/doc/libdune-common-doc/doxygen/a00200_source.html
149 usr/share/doc/libdune-common-doc/doxygen/a00203.html145 usr/share/doc/libdune-common-doc/doxygen/a00203.html
150 usr/share/doc/libdune-common-doc/doxygen/a00203_source.html146 usr/share/doc/libdune-common-doc/doxygen/a00203_source.html
151 usr/share/doc/libdune-common-doc/doxygen/a00206.html147 usr/share/doc/libdune-common-doc/doxygen/a00206.html
Offset 155, 15 lines modifiedOffset 151, 14 lines modified
155 usr/share/doc/libdune-common-doc/doxygen/a00212.html151 usr/share/doc/libdune-common-doc/doxygen/a00212.html
156 usr/share/doc/libdune-common-doc/doxygen/a00212_source.html152 usr/share/doc/libdune-common-doc/doxygen/a00212_source.html
157 usr/share/doc/libdune-common-doc/doxygen/a00215.html153 usr/share/doc/libdune-common-doc/doxygen/a00215.html
158 usr/share/doc/libdune-common-doc/doxygen/a00215_source.html154 usr/share/doc/libdune-common-doc/doxygen/a00215_source.html
159 usr/share/doc/libdune-common-doc/doxygen/a00218.html155 usr/share/doc/libdune-common-doc/doxygen/a00218.html
160 usr/share/doc/libdune-common-doc/doxygen/a00218_source.html156 usr/share/doc/libdune-common-doc/doxygen/a00218_source.html
161 usr/share/doc/libdune-common-doc/doxygen/a00221.html157 usr/share/doc/libdune-common-doc/doxygen/a00221.html
162 usr/share/doc/libdune-common-doc/doxygen/a00221_source.html 
163 usr/share/doc/libdune-common-doc/doxygen/a00224.html158 usr/share/doc/libdune-common-doc/doxygen/a00224.html
164 usr/share/doc/libdune-common-doc/doxygen/a00224_source.html159 usr/share/doc/libdune-common-doc/doxygen/a00224_source.html
165 usr/share/doc/libdune-common-doc/doxygen/a00227.html160 usr/share/doc/libdune-common-doc/doxygen/a00227.html
166 usr/share/doc/libdune-common-doc/doxygen/a00227_source.html161 usr/share/doc/libdune-common-doc/doxygen/a00227_source.html
167 usr/share/doc/libdune-common-doc/doxygen/a00230.html162 usr/share/doc/libdune-common-doc/doxygen/a00230.html
168 usr/share/doc/libdune-common-doc/doxygen/a00230_source.html163 usr/share/doc/libdune-common-doc/doxygen/a00230_source.html
169 usr/share/doc/libdune-common-doc/doxygen/a00233.html164 usr/share/doc/libdune-common-doc/doxygen/a00233.html
Offset 171, 27 lines modifiedOffset 166, 29 lines modified
171 usr/share/doc/libdune-common-doc/doxygen/a00236.html166 usr/share/doc/libdune-common-doc/doxygen/a00236.html
172 usr/share/doc/libdune-common-doc/doxygen/a00236_source.html167 usr/share/doc/libdune-common-doc/doxygen/a00236_source.html
173 usr/share/doc/libdune-common-doc/doxygen/a00239.html168 usr/share/doc/libdune-common-doc/doxygen/a00239.html
174 usr/share/doc/libdune-common-doc/doxygen/a00239_source.html169 usr/share/doc/libdune-common-doc/doxygen/a00239_source.html
Max diff block lines reached; 5381/12603 bytes (42.70%) of diff not shown.
18.0 MB
data.tar.xz
18.0 MB
data.tar
76.8 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)·····3650·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)·····6145·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)·····3202·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)····88611·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)·····4809·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)····30708·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)·····5093·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)····10799·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)·····4584·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)····13590·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)·····5990·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)·····6401·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)·····6253·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)····15564·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)·····8809·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)····10158·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)·····4776·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)·····6226·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)·····3944·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)····17498·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00038.html 
53 -rw-r--r--···0·root·········(0)·root·········(0)····44697·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00038_source.html 
54 -rw-r--r--···0·root·········(0)·root·········(0)·····8012·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00041.html33 -rw-r--r--···0·root·········(0)·root·········(0)·····8012·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00008.html
55 -rw-r--r--···0·root·········(0)·root·········(0)····39175·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00041_source.html34 -rw-r--r--···0·root·········(0)·root·········(0)····39175·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00008_source.html
56 -rw-r--r--···0·root·········(0)·root·········(0)·····9970·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00044.html 
57 -rw-r--r--···0·root·········(0)·root·········(0)····31576·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00044_source.html 
58 -rw-r--r--···0·root·········(0)·root·········(0)·····5848·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00047.html 
59 -rw-r--r--···0·root·········(0)·root·········(0)····20583·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00047_source.html 
60 -rw-r--r--···0·root·········(0)·root·········(0)····13484·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00050.html 
61 -rw-r--r--···0·root·········(0)·root·········(0)····22858·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00050_source.html 
62 -rw-r--r--···0·root·········(0)·root·········(0)·····9428·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00053.html 
63 -rw-r--r--···0·root·········(0)·root·········(0)···242767·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00053_source.html 
64 -rw-r--r--···0·root·········(0)·root·········(0)·····4942·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00056.html 
65 -rw-r--r--···0·root·········(0)·root·········(0)····29332·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00056_source.html 
66 -rw-r--r--···0·root·········(0)·root·········(0)····21197·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00059.html 
67 -rw-r--r--···0·root·········(0)·root·········(0)·····6674·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)···107074·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)····14232·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)····65414·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)·····5164·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)····33610·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)·····8190·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)····15083·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00071_source.html 
75 -rw-r--r--···0·root·········(0)·root·········(0)····11314·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00074.html 
76 -rw-r--r--···0·root·········(0)·root·········(0)····53376·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00074_source.html 
77 -rw-r--r--···0·root·········(0)·root·········(0)·····5964·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00077.html 
78 -rw-r--r--···0·root·········(0)·root·········(0)····19049·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00077_source.html 
79 -rw-r--r--···0·root·········(0)·root·········(0)·····4512·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00080.html 
80 -rw-r--r--···0·root·········(0)·root·········(0)·····6996·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00080_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/a00083.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/a00083_source.html 
83 -rw-r--r--···0·root·········(0)·root·········(0)·····5301·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00086.html 
84 -rw-r--r--···0·root·········(0)·root·········(0)·····7858·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00086_source.html 
85 -rw-r--r--···0·root·········(0)·root·········(0)·····6666·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00089.html 
86 -rw-r--r--···0·root·········(0)·root·········(0)·····7883·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00089_source.html 
87 -rw-r--r--···0·root·········(0)·root·········(0)·····7240·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00092.html 
88 -rw-r--r--···0·root·········(0)·root·········(0)····18045·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00092_source.html 
89 -rw-r--r--···0·root·········(0)·root·········(0)·····6044·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00095.html 
90 -rw-r--r--···0·root·········(0)·root·········(0)·····8357·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00095_source.html 
91 -rw-r--r--···0·root·········(0)·root·········(0)·····7678·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00098.html 
92 -rw-r--r--···0·root·········(0)·root·········(0)····11713·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00098_source.html 
93 -rw-r--r--···0·root·········(0)·root·········(0)·····4998·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00101.html 
94 -rw-r--r--···0·root·········(0)·root·········(0)·····8995·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00101_source.html 
95 -rw-r--r--···0·root·········(0)·root·········(0)·····7471·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00104.html 
96 -rw-r--r--···0·root·········(0)·root·········(0)·····9668·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00104_source.html 
97 -rw-r--r--···0·root·········(0)·root·········(0)·····4474·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00107.html 
98 -rw-r--r--···0·root·········(0)·root·········(0)·····6339·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00107_source.html 
99 -rw-r--r--···0·root·········(0)·root·········(0)·····5605·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00110.html 
100 -rw-r--r--···0·root·········(0)·root·········(0)·····9719·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00110_source.html 
101 -rw-r--r--···0·root·········(0)·root·········(0)····16848·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00113.html35 -rw-r--r--···0·root·········(0)·root·········(0)····18479·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00011.html
102 -rw-r--r--···0·root·········(0)·root·········(0)····42375·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00113_source.html 
103 -rw-r--r--···0·root·········(0)·root·········(0)·····4480·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00116.html 
104 -rw-r--r--···0·root·········(0)·root·········(0)·····7691·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00116_source.html36 -rw-r--r--···0·root·········(0)·root·········(0)···101876·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00011_source.html
105 -rw-r--r--···0·root·········(0)·root·········(0)·····4480·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00119.html 
106 -rw-r--r--···0·root·········(0)·root·········(0)·····7248·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00119_source.html 
107 -rw-r--r--···0·root·········(0)·root·········(0)·····5186·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00122.html 
108 -rw-r--r--···0·root·········(0)·root·········(0)·····8487·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00122_source.html 
109 -rw-r--r--···0·root·········(0)·root·········(0)·····6998·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00125.html 
110 -rw-r--r--···0·root·········(0)·root·········(0)···148981·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00125_source.html 
111 -rw-r--r--···0·root·········(0)·root·········(0)·····3729·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00128.html 
112 -rw-r--r--···0·root·········(0)·root·········(0)····17418·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00131.html 
113 -rw-r--r--···0·root·········(0)·root·········(0)····76033·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00131_source.html 
114 -rw-r--r--···0·root·········(0)·root·········(0)·····4754·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00134.html 
115 -rw-r--r--···0·root·········(0)·root·········(0)·····4899·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00137.html 
116 -rw-r--r--···0·root·········(0)·root·········(0)·····7547·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00137_source.html 
117 -rw-r--r--···0·root·········(0)·root·········(0)·····3214·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00140.html37 -rw-r--r--···0·root·········(0)·root·········(0)····20498·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00014.html
118 -rw-r--r--···0·root·········(0)·root·········(0)····51504·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00140_source.html38 -rw-r--r--···0·root·········(0)·root·········(0)····65100·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00014_source.html
119 -rw-r--r--···0·root·········(0)·root·········(0)····10688·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00143.html 
120 -rw-r--r--···0·root·········(0)·root·········(0)····22213·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00143_source.html 
121 -rw-r--r--···0·root·········(0)·root·········(0)····13788·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00146.html 
122 -rw-r--r--···0·root·········(0)·root·········(0)····86891·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00146_source.html 
123 -rw-r--r--···0·root·········(0)·root·········(0)·····8569·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00149.html 
124 -rw-r--r--···0·root·········(0)·root·········(0)····15045·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00149_source.html 
125 -rw-r--r--···0·root·········(0)·root·········(0)·····5485·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00152.html 
126 -rw-r--r--···0·root·········(0)·root·········(0)····10357·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00152_source.html 
127 -rw-r--r--···0·root·········(0)·root·········(0)·····5094·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00155.html 
128 -rw-r--r--···0·root·········(0)·root·········(0)····21556·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00155_source.html 
129 -rw-r--r--···0·root·········(0)·root·········(0)·····6650·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00158.html 
130 -rw-r--r--···0·root·········(0)·root·········(0)····12338·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00158_source.html 
131 -rw-r--r--···0·root·········(0)·root·········(0)·····4250·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00161.html 
132 -rw-r--r--···0·root·········(0)·root·········(0)·····6054·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00161_source.html 
133 -rw-r--r--···0·root·········(0)·root·········(0)····16962·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00164.html 
134 -rw-r--r--···0·root·········(0)·root·········(0)···166161·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00164_source.html 
135 -rw-r--r--···0·root·········(0)·root·········(0)·····5610·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00167.html39 -rw-r--r--···0·root·········(0)·root·········(0)·····5610·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00017.html
136 -rw-r--r--···0·root·········(0)·root·········(0)····16342·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00167_source.html40 -rw-r--r--···0·root·········(0)·root·········(0)····16342·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00017_source.html
137 -rw-r--r--···0·root·········(0)·root·········(0)·····7215·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00170.html 
138 -rw-r--r--···0·root·········(0)·root·········(0)····30184·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00170_source.html 
139 -rw-r--r--···0·root·········(0)·root·········(0)·····4885·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00173.html 
140 -rw-r--r--···0·root·········(0)·root·········(0)·····6495·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00173_source.html 
141 -rw-r--r--···0·root·········(0)·root·········(0)·····8506·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00176.html 
142 -rw-r--r--···0·root·········(0)·root·········(0)····25816·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00176_source.html 
143 -rw-r--r--···0·root·········(0)·root·········(0)·····8243·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00179.html 
144 -rw-r--r--···0·root·········(0)·root·········(0)····40020·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00179_source.html 
145 -rw-r--r--···0·root·········(0)·root·········(0)····18479·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00182.html 
146 -rw-r--r--···0·root·········(0)·root·········(0)···101876·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00182_source.html 
147 -rw-r--r--···0·root·········(0)·root·········(0)····12461·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00185.html 
148 -rw-r--r--···0·root·········(0)·root·········(0)····91639·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00185_source.html 
149 -rw-r--r--···0·root·········(0)·root·········(0)·····6941·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00188.html 
150 -rw-r--r--···0·root·········(0)·root·········(0)····21983·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00188_source.html 
151 -rw-r--r--···0·root·········(0)·root·········(0)·····6403·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00191.html 
152 -rw-r--r--···0·root·········(0)·root·········(0)····42750·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00191_source.html 
Max diff block lines reached; 7034/78609 bytes (8.95%) of diff not shown.
8.68 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:·vc.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 62, 25 lines modifiedOffset 62, 61 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">vc.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">genericiterator.hh·File·Reference</div></div>
69 </div><!--header-->72 </div><!--header-->
70 <div·class="contents">73 <div·class="contents">
  
71 <p>Compatibility·header·for·including·&lt;Vc/Vc&gt;··74 <p>Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators.··
72 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
 76 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00011_source.html">dune/common/iteratorfacades.hh</a>&gt;</code><br·/>
 77 <code>#include·&lt;cassert&gt;</code><br·/>
 78 </div>
73 <p><a·href="a00008_source.html">Go·to·the·source·code·of·this·file.</a></p>79 <p><a·href="a00008_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">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>
 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>
 104 </table><table·class="memberdecls">
 105 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
 106 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>
 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>
 109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 110 </table>
74 <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>
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>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>
77 </div></div><!--·contents·-->114 </div></div><!--·contents·-->
78 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
79 <hr·class="footer"/><address·class="footer"><small>116 <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.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
81 </small></address>118 </small></address>
82 </body>119 </body>
83 </html>120 </html>
1.66 KB
html2text {}
    
Offset 4, 17 lines modifiedOffset 4, 48 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 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>
9 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  
 37 ·Namespaces
 38 namespace· Dune
 39  ··········Dune·namespace.
 40  
10 *****·Detailed·Description·*****41 *****·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.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.
  
14 ===============================================================================45 ===============================================================================
15 ·····Generated·by [doxygen]·1.9.446 ·····Generated·by [doxygen]·1.9.4
48.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00008_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:·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, 38 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">vc.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="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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>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>
 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_GENERICITERATOR_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_GENERICITERATOR_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="a00011.html">dune/common/iteratorfacades.hh</a>&gt;</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>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="l00016"·name="l00016"></a><span·class="lineno">···16</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="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>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</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>
 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>
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> 
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> 
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>85 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</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>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#a1e95[·...·truncated·by·diffoscope;·len:·39,·SHA:·b3f4f4fabaa487ecb733a99f58f15831f54f0125498fa9ca651fa33fecc23cab·...·]</div>
 87 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··};</div>
90 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>88 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</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>
 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>
 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>
 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>
 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>
 105 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··};</div>
 106 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>
 107 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·R&gt;</div>
 108 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno"><a·class="line"·href="a01812.html">··115</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01812.html">mutable_reference</a></div>
 109 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··{</div>
 110 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="a01812.html#a5df1dcae36e710f8d5a337d6f5810f87">··117</a></span>····<span·class="keyword">typedef</span>·R·<a·class="code·hl_typedef"·href="a01812.html#a5df1dcae36e710f8d5a337d6f5810f87">type</a>;</div>
 111 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··};</div>
 112 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div>
 113 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·R&gt;</div>
 114 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno"><a·class="line"·href="a01816.html">··121</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01812.html">mutable_reference</a>&lt;const·R&gt;</div>
 115 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··{</div>
 116 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno"><a·class="line"·href="a01816.html#a2d78ceb0438d32d19da9c495cb60264a">··123</a></span>····<span·class="keyword">typedef</span>·R·<a·class="code·hl_typedef"·href="a01816.html#a2d78ceb0438d32d19da9c495cb60264a">type</a>;</div>
 117 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>··};</div>
 118 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div>
 119 <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>·R&gt;</div>
 120 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno"><a·class="line"·href="a01820.html">··127</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01812.html">mutable_reference</a>&lt;R&amp;&gt;</div>
 121 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··{</div>
 122 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno"><a·class="line"·href="a01820.html#a91ae2e13ffe6fbfd651336e97562360a">··129</a></span>····<span·class="keyword">typedef</span>·R&amp;·<a·class="code·hl_typedef"·href="a01820.html#a91ae2e13ffe6fbfd651336e97562360a">type</a>;</div>
 123 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>··};</div>
 124 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div>
 125 <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>·R&gt;</div>
 126 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno"><a·class="line"·href="a01824.html">··133</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01812.html">mutable_reference</a>&lt;const·R&amp;&gt;</div>
 127 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··{</div>
 128 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno"><a·class="line"·href="a01828.html#ab79cf01f9294cdafe29956df62a588f5">··135</a></span>····<span·class="keyword">typedef</span>·R&amp;·type;</div>
 129 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>··};</div>
 130 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>·</div>
 131 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</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;,·<span·class="keyword">class·</span>D·=·std::ptrdiff_t,</div>
 132 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>,<span·class="keyword">class</span>,<span·class="keyword">class</span>,<span·class="keyword">class</span>&gt;·<span·class="keyword">class·</span>IteratorFacade=<a·class="code·hl_class"·href="a01884.html">RandomAccessIteratorFacade</a>&gt;</div>
 133 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno"><a·class="line"·href="a01828.html">··151</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01828.html">GenericIterator</a>·:</div>
 134 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>····<span·class="keyword">public</span>·IteratorFacade&lt;GenericIterator&lt;C,T,R,D,IteratorFacade&gt;,T,R,D&gt;</div>
 135 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>··{</div>
 136 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01828.html">GenericIterator</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,·D,·IteratorFacade&gt;;</div>
 137 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>····friend·class·<a·class="code·hl_class"·href="a01828.html">GenericIterator</a>&lt;const·typename·std::remove_const&lt;C&gt;::type,·const·typename·std::remove_const&lt;T&gt;::type,·typename·const_reference&lt;R&gt;::type,·D,·IteratorFacade&gt;;</div>
 138 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div>
 139 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>····typedef·<a·class="code·hl_class"·href="a01828.html">GenericIterator</a>&lt;typename·std::remove_const&lt;C&gt;::type,·typename·std::remove_const&lt;T&gt;::type,·typename·mutable_reference&lt;R&gt;::type,·D,·IteratorFacade&gt;·<a·class="code·hl_class"·href="a01828.html">MutableIterator</a>;</div>
 140 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>····typedef·<a·class="code·hl_class"·href="a01828.html">GenericIterator</a>&lt;const·typename·std::remove_const&lt;C&gt;::type,·const·typename·std::remove_const&lt;T&gt;::type,·typename·const_reference&lt;R&gt;::type,·D,·IteratorFacade&gt;·<a·class="code·hl_class"·href="a01828.html">ConstIterator</a>;</div>
 141 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>·</div>
 142 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>··<span·class="keyword">public</span>:</div>
 143 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>·</div>
 144 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno"><a·class="line"·href="a01828.html#ac3b4f031090f89bae04676839a7d1ffc">··170</a></span>····typedef·C·<a·class="code·hl_typedef"·href="a01828.html#ac3b4f031090f89bae04676839a7d1ffc">Container</a>;</div>
 145 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>·</div>
 146 <div·class="line"><a·id="l00177"·name="l00177"></a><span·class="lineno"><a·class="line"·href="a01828.html#ac78c83caf53ee8999f09a98299c971a7">··177</a></span>····typedef·T·<a·class="code·hl_typedef"·href="a01828.html#ac78c83caf53ee8999f09a98299c971a7">Value</a>;</div>
 147 <div·class="line"><a·id="l00178"·name="l00178"></a><span·class="lineno">··178</span>·</div>
 148 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno"><a·class="line"·href="a01828.html#a919df26bfe8c41056f8252cfb399a68f">··182</a></span>····typedef·D·<a·class="code·hl_typedef"·href="a01828.html#a919df26bfe8c41056f8252cfb399a68f">DifferenceType</a>;</div>
 149 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>·</div>
 150 <div·class="line"><a·id="l00187"·name="l00187"></a><span·class="lineno"><a·class="line"·href="a01828.html#aa47e631f6c00880c54305a219b9f555d">··187</a></span>····typedef·R·<a·class="code·hl_typedef"·href="a01828.html#aa47e631f6c00880c54305a219b9f555d">Reference</a>;</div>
 151 <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno">··188</span>·</div>
 152 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>····<span·class="comment">//·Constructors·needed·by·the·base·iterators</span></div>
 153 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno"><a·class="line"·href="a01828.html#ad18ebcc99fae6136af9060371c4cf672">··190</a></span>····<a·class="code·hl_class"·href="a01828.html">GenericIterator</a>()·:·container_(0),·position_(0)</div>
 154 <div·class="line"><a·id="l00191"·name="l00191"></a><span·class="lineno">··191</span>····{}</div>
 155 <div·class="line"><a·id="l00192"·name="l00192"></a><span·class="lineno">··192</span>·</div>
 156 <div·class="line"><a·id="l00200"·name="l00200"></a><span·class="lineno"><a·class="line"·href="a01828.html#a840fcdc70cf38abf2d284734171e789d">··200</a></span>····<a·class="code·hl_function"·href="a01828.html#a840fcdc70cf38abf2d284734171e789d">GenericIterator</a>(<a·class="code·hl_typedef"·href="a01828.html#ac3b4f031090f89bae04676839a7d1ffc">Container</a>&amp;·cont,·<a·class="code·hl_typedef"·href="a01828.html#a919df26bfe8c41056f8252cfb399a68f">DifferenceType</a>·pos)</div>
 157 <div·class="line"><a·id="l00201"·name="l00201"></a><span·class="lineno">··201</span>······:·container_(&amp;cont),·position_(pos)</div>
 158 <div·class="line"><a·id="l00202"·name="l00202"></a><span·class="lineno">··202</span>····{}</div>
 159 <div·class="line"><a·id="l00203"·name="l00203"></a><span·class="lineno">··203</span>·</div>
 160 <div·class="line"><a·id="l00211"·name="l00211"></a><span·class="lineno"><a·class="line"·href="a01828.html#a2f26dd3336d6af8c8c9859b79fed5a20">··211</a></span>····<a·class="code·hl_function"·href="a01828.html#a2f26dd3336d6af8c8c9859b79fed5a20">GenericIterator</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01828.html">MutableIterator</a>&amp;·other)·:·container_(other.container_),·position_(other.position_)</div>
 161 <div·class="line"><a·id="l00212"·name="l00212"></a><span·class="lineno">··212</span>····{}</div>
 162 <div·class="line"><a·id="l00213"·name="l00213"></a><span·class="lineno">··213</span>·</div>
Max diff block lines reached; 271/41074 bytes (0.66%) of diff not shown.
8.13 KB
html2text {}
    
Offset 4, 34 lines modifiedOffset 4, 269 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 vc.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·-*-
 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_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>14 ·5#ifndef·DUNE_GENERICITERATOR_HH
 15 ·6#define·DUNE_GENERICITERATOR_HH
 16 ·7
 17 ·8#include·<dune/common/iteratorfacades.hh>
 18 ·9#include·<cassert>
 19 ·10
 20 ·11namespace·Dune·{
 21 ·12
 22 ·85·template<class·R>
 23 86·struct·const_reference
 24 ·87·{
 25 88·typedef·const·R·type;
 26 ·89·};
 27 ·90
 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&>
 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·{
 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·};
19 ·1951 ·119
20 ·20//·undefine·the·macro·that·signals·C++17·support,·if·set 
21 ·21#ifdef·Vc_CXX17 
22 ·22#undef·Vc_CXX17 
23 ·23#endif52 ·120·template<class·R>
 53 121·struct·mutable_reference<const·R>
 54 ·122·{
 55 123·typedef·R·type;
 56 ·124·};
 57 ·125
 58 ·126·template<class·R>
 59 127·struct·mutable_reference<R&>
 60 ·128·{
 61 129·typedef·R&·type;
 62 ·130·};
 63 ·131
 64 ·132·template<class·R>
 65 133·struct·mutable_reference<const·R&>
 66 ·134·{
 67 135·typedef·R&·type;
 68 ·136·};
 69 ·137
 70 ·149·template<class·C,·class·T,·class·R=T&,·class·D·=·std::ptrdiff_t,
 71 ·150·template<class,class,class,class>·class
 72 IteratorFacade=RandomAccessIteratorFacade>
 73 151·class·GenericIterator·:
 74 ·152·public·IteratorFacade<GenericIterator<C,T,R,D,IteratorFacade>,T,R,D>
 75 ·153·{
 76 ·154·friend·class·GenericIterator<typename·std::remove_const<C>::type,·typename
 77 std::remove_const<T>::type,·typename·mutable_reference<R>::type,·D,
 78 IteratorFacade>;
 79 ·155·friend·class·GenericIterator<const·typename·std::remove_const<C>::type,
 80 const·typename·std::remove_const<T>::type,·typename·const_reference<R>::type,
 81 D,·IteratorFacade>;
 82 ·156
 83 ·157·typedef·GenericIterator<typename·std::remove_const<C>::type,·typename
 84 std::remove_const<T>::type,·typename·mutable_reference<R>::type,·D,
 85 IteratorFacade>·MutableIterator;
 86 ·158·typedef·GenericIterator<const·typename·std::remove_const<C>::type,·const
 87 typename·std::remove_const<T>::type,·typename·const_reference<R>::type,·D,
 88 IteratorFacade>·ConstIterator;
 89 ·159
 90 ·160·public:
 91 ·161
 92 170·typedef·C·Container;
 93 ·171
 94 177·typedef·T·Value;
 95 ·178
 96 182·typedef·D·DifferenceType;
 97 ·183
 98 187·typedef·R·Reference;
 99 ·188
 100 ·189·//·Constructors·needed·by·the·base·iterators
 101 190·GenericIterator()·:·container_(0),·position_(0)
 102 ·191·{}
 103 ·192
 104 200·GenericIterator(Container&·cont,·DifferenceType·pos)
 105 ·201·:·container_(&cont),·position_(pos)
 106 ·202·{}
 107 ·203
 108 211·GenericIterator(const·MutableIterator&·other)·:·container_
 109 (other.container_),·position_(other.position_)
 110 ·212·{}
 111 ·213
 112 223·GenericIterator(const·ConstIterator&·other)·:·container_(other.container_),
 113 position_(other.position_)
 114 ·224·{}
 115 ·225
 116 ·226·//·Methods·needed·by·the·forward·iterator
 117 227·bool·equals(const·MutableIterator·&·other)·const
Max diff block lines reached; 116/8299 bytes (1.40%) of diff not shown.
25.5 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:·quadmath.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 62, 19 lines modifiedOffset 62, 102 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="#func-members">Functions</a>··</div>
68 ··<div·class="headertitle"><div·class="title">quadmath.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">iteratorfacades.hh·File·Reference</div></div>
69 </div><!--header-->73 </div><!--header-->
70 <div·class="contents">74 <div·class="contents">
  
 75 <p>This·file·implements·iterator·facade·classes·for·writing·stl·conformant·iterators.··
 76 <a·href="#details">More...</a></p>
 77 <div·class="textblock"><code>#include·&lt;iterator&gt;</code><br·/>
 78 <code>#include·&lt;type_traits&gt;</code><br·/>
 79 <code>#include·&quot;<a·class="el"·href="a00014_source.html">typetraits.hh</a>&quot;</code><br·/>
 80 </div>
71 <p><a·href="a00011_source.html">Go·to·the·source·code·of·this·file.</a></p>81 <p><a·href="a00011_source.html">Go·to·the·source·code·of·this·file.</a></p>
 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="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">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="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">Facade·class·for·stl·conformant·bidirectional·iterators.··<a·href="a01880.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="a01884.html">Dune::RandomAccessIteratorFacade&lt;·T,·V,·R,·D·&gt;</a></td></tr>
 92 <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>
 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>
 96 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>
 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>
 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: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>
 104 <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>
 105 <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>
 106 <tr·class="separator:gaa43d9510bcda16267820bafa84be5369"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 107 <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>
 108 <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>
 109 <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>
 110 <tr·class="separator:gae5cc1a15c24afcf14896e20a7d265c35"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 <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>
 112 <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>
 113 <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>
 114 <tr·class="separator:ga20da041c39864baffcdb12c036fd1c37"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 115 <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>
 116 <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>
 117 <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>
 118 <tr·class="separator:ga20da041c39864baffcdb12c036fd1c37"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 119 <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>
 120 <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>
 121 <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>
 122 <tr·class="separator:ga920ece963b8c9993e176bcfde00c9224"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 123 <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>
 124 <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>
 125 <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>
 126 <tr·class="separator:ga49f87500d6251c950ff02c42c91c2ec0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 127 <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>
 128 <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>
 129 <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>
 130 <tr·class="separator:ga9052c16ab85627534c5c3eb9ebed7d87"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 131 <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>
 132 <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>
 133 <tr·class="memdesc:ga2c43cd511159faaeafc9ec92874ea5f2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator.··<a·href="a00414.html#ga2c43cd511159faaeafc9ec92874ea5f2">More...</a><br·/></td></tr>
 134 <tr·class="separator:ga2c43cd511159faaeafc9ec92874ea5f2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 135 <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>
 136 <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>
 137 <tr·class="memdesc:ga798235d5677109c73826c07eda54642a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator.··<a·href="a00414.html#ga798235d5677109c73826c07eda54642a">More...</a><br·/></td></tr>
 138 <tr·class="separator:ga798235d5677109c73826c07eda54642a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 139 <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>
 140 <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>
 141 <tr·class="memdesc:ga4e05f002f8262357d9bdd7874fcb0f68"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator.··<a·href="a00414.html#ga4e05f002f8262357d9bdd7874fcb0f68">More...</a><br·/></td></tr>
 142 <tr·class="separator:ga4e05f002f8262357d9bdd7874fcb0f68"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 143 <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>
 144 <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>
 145 <tr·class="memdesc:gad3b5d2384ffc58bc20968c4b6c6fcefb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator.··<a·href="a00414.html#gad3b5d2384ffc58bc20968c4b6c6fcefb">More...</a><br·/></td></tr>
 146 <tr·class="separator:gad3b5d2384ffc58bc20968c4b6c6fcefb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 147 <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>
 148 <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>
 149 <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>
 150 <tr·class="separator:ga7185b695129604b07bfddf92f3a01c04"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 151 </table>
 152 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 153 <div·class="textblock"><p·>This·file·implements·iterator·facade·classes·for·writing·stl·conformant·iterators.·</p>
 154 <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>
72 </div><!--·contents·-->155 </div></div><!--·contents·-->
73 <!--·start·footer·part·-->156 <!--·start·footer·part·-->
74 <hr·class="footer"/><address·class="footer"><small>157 <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.4158 Generated·by&#160;<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>159 </small></address>
77 </body>160 </body>
78 </html>161 </html>
8.54 KB
html2text {}
    
Offset 4, 12 lines modifiedOffset 4, 141 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 quadmath.hh·File·Reference7 Classes·|·Namespaces·|·Functions
 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"
8 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
 15 ·Classes
 16 class· Dune::ForwardIteratorFacade<_T,_V,_R,_D_>
 17  ······Base·class·for·stl·conformant·forward·iterators.·More...
 18  
 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  
 25 ·Namespaces
 26 namespace· Dune
 27  ··········Dune·namespace.
 28  
 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·>
 122 ··············EnableIfInterOperable<·T1,·T2,·D·>::type Dune::operator-·(const
 123 ························································RandomAccessIteratorFacade<
 124 ························································T1,·V1,·R1,·D·>·&lhs,·const
 125 ························································RandomAccessIteratorFacade<
 126 ························································T2,·V2,·R2,·D·>·&rhs)
Max diff block lines reached; 116/8718 bytes (1.33%) of diff not shown.
217 KB
./usr/share/doc/libdune-common-doc/doxygen/a00011_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:·quadmath.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, 492 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">quadmath.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="a00011.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="a00011.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_QUADMATH_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_QUADMATH_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="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_QUADMATH</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>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;quadmath.h&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>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;cmath&gt;</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="a00014.html">typetraits.hh</a>&quot;</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;istream&gt;</span></div> 
86 <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="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="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</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><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00143.html">dune/common/exceptions.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="a00386.html">dune/common/typetraits.hh</a>&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="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>
94 <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="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>
95 <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="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="comment">//·forward·declaration</span></div> 
98 <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="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">//·end·namespace·Impl</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">using·</span>Impl::Float128;</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="comment">//·The·purpose·of·this·namespace·is·to·move·the·`&lt;cmath&gt;`·function·overloads</span></div> 
105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="comment">//·out·of·namespace·`Dune`,·see·AlignedNumber·in·debugalign.hh.</span></div> 
106 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">namespace·</span>Impl</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="keyword">using·</span>float128_t·=·__float128;</div> 
109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> 
110 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">class·</span>Float128</div> 
111 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····{</div> 
112 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······float128_t·value_·=·0.0q;</div> 
113 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> 
114 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">public</span>:</div> 
115 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······<span·class="keyword">constexpr</span>·Float128()·=·<span·class="keywordflow">default</span>;</div> 
116 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······<span·class="keyword">constexpr</span>·Float128(<span·class="keyword">const</span>·float128_t&amp;·value)·noexcept</div> 
117 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>········:·value_(value)</div> 
118 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······{}</div> 
119 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> 
120 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="comment">//·constructor·from·any·floating-point·or·integer·type</span></div> 
121 <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>T,</div> 
122 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········std::enable_if_t&lt;std::is_arithmetic&lt;T&gt;::value,·<span·class="keywordtype">int</span>&gt;·=·0&gt;</div> 
123 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······<span·class="keyword">constexpr</span>·Float128(<span·class="keyword">const</span>·T&amp;·value)·noexcept</div> 
124 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········:·value_(value)</div> 
125 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>······{}</div> 
126 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
127 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······<span·class="comment">//·constructor·from·pointer·to·null-terminated·byte·string</span></div> 
128 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······<span·class="keyword">explicit</span>·Float128(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·str)·noexcept</div> 
129 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········:·value_(strtoflt128(str,·NULL))</div> 
130 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······{}</div> 
131 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> 
132 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="comment">//·accessors</span></div> 
133 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keyword">constexpr</span>·<span·class="keyword">operator</span>·float128_t()·const·noexcept·{·<span·class="keywordflow">return</span>·value_;·}</div> 
134 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> 
135 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······<span·class="keyword">constexpr</span>·float128_t·<span·class="keyword">const</span>&amp;·value()·const·noexcept·{·<span·class="keywordflow">return</span>·value_;·}</div> 
136 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······<span·class="keyword">constexpr</span>·float128_t&amp;·······value()·noexcept·······{·<span·class="keywordflow">return</span>·value_;·}</div> 
137 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> 
138 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="comment">//·I/O</span></div> 
139 <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>·CharT,·<span·class="keyword">class</span>·Traits&gt;</div> 
140 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······<span·class="keyword">friend</span>·std::basic_istream&lt;CharT,·Traits&gt;&amp;</div> 
141 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······<a·class="code·hl_function"·href="a00397.html#ga724a26a744239bcf2c7cfd87bd6570ce">operator&gt;&gt;</a>(std::basic_istream&lt;CharT,·Traits&gt;&amp;·in,·Float128&amp;·x)</div> 
142 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······{</div> 
143 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········std::string·buf;</div> 
144 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········buf.reserve(128);</div> 
145 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········in·&gt;&gt;·buf;</div> 
146 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········x.value()·=·strtoflt128(buf.c_str(),·NULL);</div> 
147 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········<span·class="keywordflow">return</span>·in;</div> 
148 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······}</div> 
149 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> 
150 <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>·CharT,·<span·class="keyword">class</span>·Traits&gt;</div> 
151 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······<span·class="keyword">friend</span>·std::basic_ostream&lt;CharT,·Traits&gt;&amp;</div> 
152 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······<a·class="code·hl_function"·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">operator&lt;&lt;</a>(std::basic_ostream&lt;CharT,·Traits&gt;&amp;·out,·<span·class="keyword">const</span>·Float128&amp;·x)</div> 
153 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······{</div> 
154 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········<span·class="keyword">const</span>·std::size_t·bufSize·=·128;</div> 
155 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>········CharT·buf[128];</div> 
156 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> 
157 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>········std::string·format·=·<span·class="stringliteral">&quot;%.&quot;</span>·+·std::to_string(out.precision())·+·<span·class="stringliteral">&quot;Q&quot;</span>·+</div> 
158 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······························((out.flags()·|·std::ios_base::scientific)·?·<span·class="stringliteral">&quot;e&quot;</span>·:·<span·class="stringliteral">&quot;f&quot;</span>);</div> 
159 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>········<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·numChars·=·quadmath_snprintf(buf,·bufSize,·format.c_str(),·x.value());</div> 
160 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········<span·class="keywordflow">if</span>·(std::size_t(numChars)·&gt;=·bufSize)·{</div> 
161 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</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;Failed·to·print·Float128·value:·buffer·overflow&quot;</span>);</div> 
162 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>········}</div> 
163 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>········out·&lt;&lt;·buf;</div> 
164 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········<span·class="keywordflow">return</span>·out;</div> 
165 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······}</div> 
166 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> 
167 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>······<span·class="comment">//·Increment,·decrement</span></div> 
168 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>······<span·class="keyword">constexpr</span>·Float128&amp;·operator++()·noexcept·{·++value_;·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
169 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>······<span·class="keyword">constexpr</span>·Float128&amp;·operator--()·noexcept·{·--value_;·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
Max diff block lines reached; 108560/184968 bytes (58.69%) of diff not shown.
36.6 KB
html2text {}
    
Offset 4, 542 lines modifiedOffset 4, 617 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 quadmath.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_QUADMATH_HH 
15 ·6#define·DUNE_QUADMATH_HH14 ·5#ifndef·DUNE_ITERATORFACADES_HH
 15 ·6#define·DUNE_ITERATORFACADES_HH
16 ·716 ·7
17 ·8#if·HAVE_QUADMATH 
18 ·9#include·<quadmath.h>17 ·8#include·<iterator>
 18 ·9#include·<type_traits>
19 ·1019 ·10
20 ·11#include·<cmath> 
21 ·12#include·<cstddef> 
22 ·13#include·<cstdint> 
23 ·14#include·<cstdlib>·//·abs 
24 ·15#include·<istream> 
25 ·16#include·<ostream> 
26 ·17#include·<type_traits>20 ·11#include·"typetraits.hh"
 21 ·12
27 ·18#include·<utility> 
28 ·19 
29 ·20#include·<dune/common/exceptions.hh> 
30 ·21#include·<dune/common/typetraits.hh> 
31 ·22 
32 ·23namespace·Dune22 ·13namespace·Dune
 23 ·14{
 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 ·202
 51 203·Pointer·operator->()·const
33 ·24{52 ·204·{
34 ·25·namespace·Impl53 ·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 ·223
 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 ·245
 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)
35 ·26·{87 ·261·{
36 ·27·//·forward·declaration 
37 ·28·class·Float128; 
38 ·29 
39 ·30·}·//·end·namespace·Impl88 ·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;
40 ·31107 ·310
 108 314·typedef·V·Value;
41 ·32·using·Impl::Float128; 
42 ·33 
Max diff block lines reached; 23829/37505 bytes (63.54%) of diff not shown.
24.1 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:·parameterizedobject.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 64, 37 lines modifiedOffset 64, 135 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="#typedef-members">Typedefs</a>·&#124;
 73 <a·href="#func-members">Functions</a>··</div>
72 ··<div·class="headertitle"><div·class="title">parameterizedobject.hh·File·Reference</div></div>74 ··<div·class="headertitle"><div·class="title">typetraits.hh·File·Reference</div></div>
73 </div><!--header-->75 </div><!--header-->
74 <div·class="contents">76 <div·class="contents">
  
 77 <p>Traits·for·type·conversions·and·type·information.··
 78 <a·href="#details">More...</a></p>
75 <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;type_traits&gt;</code><br·/>
76 <code>#include·&lt;map&gt;</code><br·/>81 <code>#include·&lt;utility&gt;</code><br·/>
77 <code>#include·&lt;memory&gt;</code><br·/>82 <code>#include·&lt;vector&gt;</code><br·/>
78 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
79 <code>#include·&lt;<a·class="el"·href="a00158_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/> 
80 </div>83 </div>
81 <p><a·href="a00014_source.html">Go·to·the·source·code·of·this·file.</a></p>84 <p><a·href="a00014_source.html">Go·to·the·source·code·of·this·file.</a></p>
82 <table·class="memberdecls">85 <table·class="memberdecls">
83 <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>
84 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>
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>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>
 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>
86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>150 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
87 </table><table·class="memberdecls">151 </table><table·class="memberdecls">
88 <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>
89 Namespaces</h2></td></tr>153 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>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>
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>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>
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>156 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 157 </table><table·class="memberdecls">
 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>
 163 <tr·class="separator:ga6a3de1d2dbd47536c4b007d3a3b108a2"><td·class="memSeparator"·colspan="2">&#160;</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>
 167 <tr·class="separator:gaadd3a3e69d0220b41bb40ebc442d79ae"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 168 <tr·class="memitem:ga48aa0bb0268c390d251495eabdac4ae6"><td·class="memTemplParams"·colspan="2">template&lt;class·Type·&gt;·</td></tr>
 169 <tr·class="memitem:ga48aa0bb0268c390d251495eabdac4ae6"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga48aa0bb0268c390d251495eabdac4ae6">Dune::real_t</a>·=·typename·FieldTraits&lt;·Type·&gt;::real_type</td></tr>
 170 <tr·class="memdesc:ga48aa0bb0268c390d251495eabdac4ae6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Convenient·access·to·<a·class="el"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63"·title="export·the·type·representing·the·real·type·of·the·field">FieldTraits&lt;Type&gt;::real_type</a>.··<a·href="a00406.html#ga48aa0bb0268c390d251495eabdac4ae6">More...</a><br·/></td></tr>
 171 <tr·class="separator:ga48aa0bb0268c390d251495eabdac4ae6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Max diff block lines reached; 585/19989 bytes (2.93%) of diff not shown.
4.45 KB
html2text {}
    
Offset 4, 25 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 
8 parameterizedobject.hh·File·Reference 
9 #include·<functional>7 Classes·|·Namespaces·|·Typedefs·|·Functions
 8 typetraits.hh·File·Reference
 9 Traits·for·type·conversions·and·type·information.·More...
10 #include·<map>10 #include·<complex>
 11 #include·<type_traits>
 12 #include·<utility>
11 #include·<memory>13 #include·<vector>
12 #include·<dune/common/exceptions.hh> 
13 #include·<dune/common/typeutilities.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::ParameterizedObjectFactory<_TypeT(Args...),_KeyT_>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...
17  81  
18 ·Namespaces82 ·Namespaces
19 namespace· Dune83 namespace· Dune
20  ··········Dune·namespace.84  ··········Dune·namespace.
21  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·*****
 117 Traits·for·type·conversions·and·type·information.
 118 ··Author
 119 ······Markus·Blatt,·Christian·Engwer
  
22 ===============================================================================120 ===============================================================================
23 ·····Generated·by [doxygen]·1.9.4121 ·····Generated·by [doxygen]·1.9.4
Max diff block lines reached; -1/4528 bytes (-0.02%) of diff not shown.
107 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:·parameterizedobject.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, 163 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">parameterizedobject.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="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:·4·-*-</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=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>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_PARAMETERIZEDOBJECT_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><span·class="preprocessor">#include·&lt;map&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;memory&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="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00143.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="a00158.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="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>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> 
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="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>86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>··<span·class="keyword">namespace·</span>Impl</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>
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> 
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="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> 
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> 
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> 
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> 
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> 
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>88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</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>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>
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"·h[·...·truncated·by·diffoscope;·len:·153,·SHA:·3dc8d0828e72a8bd435957de2e8e0cddf4a32cce981055f5b8b9d4527237dd3b·...·]</div>90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····<span·class="keyword">struct·</span>voider</div>
115 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········{</div>91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····{</div>
116 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>············<span·class="keywordflow">return</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>
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>93 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····};</div>
119 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">public</span>:</div>94 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··}</div>
120 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>95 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</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> 
127 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>············}</div>96 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</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>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>
129 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</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>
130 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>101 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</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">[·...·truncated·by·diffoscope;·len:·143,·SHA:·f9319032ee6e71cf39379a2bc0b076a3b1d32a30df18b317ead8f7b4281a2ca8·...·]</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="l00065"·name="l00065"></a><span·class="lineno">···65</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="code·hl_variable"·href="a03088.html#ad72797bbca9b1a1c6db62e076608b8d6">value</a>·=·std::is_convertible&lt;T1,T2&gt;::value·||·std::is_convertible&lt;T2,T1&gt;::value;</div>
 106 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··};</div>
133 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>········{</div>107 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
134 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>············registry_[key]·=·DefaultCreator&lt;Impl&gt;();</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>
135 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>········}</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>
136 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>113 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</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>114 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</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>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>
143 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div>117 <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>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>
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> 
146 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>················std::is_convertible&lt;Impl,·Type&gt;::value</div> 
147 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>················and·not·std::is_convertible&lt;Impl,·Creator&gt;::value,</div> 
148 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>················<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div> 
149 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno"><a·class="line"·href="a02332.html#a9f2caf0add62879bef0ca0cd6fe84591">··145</a></span>········<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02332.html#a9f2caf0add62879bef0ca0cd6fe84591">define</a>(<a·class="code·hl_typedef"·href="a02332.html#aaacef10f443ad58ee6b9ffeefac18ac5">Key</a>·<span·class="keyword">const</span>&amp;·key,·Impl&amp;&amp;·t)</div> 
150 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>········{</div> 
151 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>············registry_[key]·=·[=](Args...)·{·<span·class="keywordflow">return</span>·t;};</div> 
152 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>········}</div> 
153 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>·</div> 
154 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno"><a·class="line"·href="a02332.html#accbc62bd9fcb72c9959cdc927f2fcc59">··150</a></span>········<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02332.html#accbc62bd9fcb72c9959cdc927f2fcc59">contains</a>(<a·class="code·hl_typedef"·href="a02332.html#aaacef10f443ad58ee6b9ffeefac18ac5">Key</a>·<span·class="keyword">const</span>&amp;·key)<span·class="keyword">·const</span></div> 
155 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span><span·class="keyword">········</span>{</div> 
156 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>············<span·class="keywordflow">return</span>·registry_.count(key);</div> 
157 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>········}</div> 
158 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div>120 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>·</div>
159 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>····<span·class="keyword">private</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>
Max diff block lines reached; 11671/91070 bytes (12.82%) of diff not shown.
18.3 KB
html2text {}
    
Offset 4, 205 lines modifiedOffset 4, 464 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 parameterizedobject.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:·4·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=4·sts=4: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_PARAMETERIZEDOBJECT_HH 
15 ·6#define·DUNE_COMMON_PARAMETERIZEDOBJECT_HH14 ·5#ifndef·DUNE_TYPETRAITS_HH
 15 ·6#define·DUNE_TYPETRAITS_HH
16 ·716 ·7
17 ·8#include·<functional> 
18 ·9#include·<map>17 ·8#include·<complex>
 18 ·9#include·<type_traits>
 19 ·10#include·<utility>
19 ·10#include·<memory>20 ·11#include·<vector>
 21 ·12
20 ·11 
21 ·12#include·<dune/common/exceptions.hh> 
22 ·13#include·<dune/common/typeutilities.hh> 
23 ·14 
24 ·15namespace·Dune·{22 ·13namespace·Dune
25 ·16 
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{23 ·14{
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> 
53 63·static·constexpr·std::false_type·has_proper_signature(Dune::PriorityTag<0>) 
54 ·64·{ 
55 ·65·return·{}; 
56 ·66·} 
57 ·67 
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"); 
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 ·10524 ·15
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·}25 ·16·namespace·Impl
 26 ·17·{
 27 ·19
 28 ·23·template·<class...>
 29 ·24·struct·voider
 30 ·25·{
 31 ·26·using·type·=·void;
 32 ·27·};
 33 ·28·}
 34 ·29
 35 ·31
 36 ·39·template·<class...·Types>
 37 40·using·void_t·=·typename·Impl::voider<Types...>::type;
 38 ·41
 39 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>
 51 ·81·{};
 52 ·82
 53 ·100
 54 ·116
 55 ·123·template<typename·T>
 56 124·struct·AlwaysFalse·:·public·std::false_type·{};
83 ·12557 ·125
84 ·140·template<class·Impl, 
85 ·141·typename·std::enable_if< 
86 ·142·std::is_convertible<Impl,·Type>::value 
87 ·143·and·not·std::is_convertible<Impl,·Creator>::value, 
88 ·144·int>::type·=·0> 
89 145·void·define(Key·const&·key,·Impl&&·t) 
90 ·146·{ 
91 ·147·registry_[key]·=·[=](Args...)·{·return·t;}; 
Max diff block lines reached; 4783/18715 bytes (25.56%) of diff not shown.
6.68 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:·singleton.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, 41 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>··</div>70 <a·href="#namespaces">Namespaces</a>·&#124;
72 ··<div·class="headertitle"><div·class="title">singleton.hh·File·Reference</div></div>71 <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>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Useful·wrapper·for·creating·singletons.··75 <p>infrastructure·for·supporting·operator-&gt;()·on·both·references·and·proxies··
76 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00089_source.html">dune/common/visibility.hh</a>&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>
 78 <code>#include·&lt;utility&gt;</code><br·/>
78 </div>79 </div>
79 <p><a·href="a00017_source.html">Go·to·the·source·code·of·this·file.</a></p>80 <p><a·href="a00017_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="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="a02840.html">Dune::Singleton&lt;·T·&gt;</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> 
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>82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
88 Namespaces</h2></td></tr>83 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>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>
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>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>
91 <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">
 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: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>
 93 <tr·class="separator:gab204e4c1df410966214b242af99406a1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table>94 </table>
93 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>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>
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·-->97 </div></div><!--·contents·-->
97 <!--·start·footer·part·-->98 <!--·start·footer·part·-->
98 <hr·class="footer"/><address·class="footer"><small>99 <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.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
100 </small></address>101 </small></address>
101 </body>102 </body>
102 </html>103 </html>
1.23 KB
html2text {}
    
Offset 4, 26 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 
8 singleton.hh·File·Reference 
9 Useful·wrapper·for·creating·singletons.·More... 
10 #include·<dune/common/visibility.hh>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 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
12 ·Classes 
13 class· Dune::Singleton<_T_> 
14  ······An·adapter·to·turn·a·class·into·a·singleton.·More... 
15   
16 ·Namespaces15 ·Namespaces
17 namespace· Dune16 namespace· Dune
18  ··········Dune·namespace.17  ··········Dune·namespace.
19  18  
 19 ·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...
 24  
20 *****·Detailed·Description·*****25 *****·Detailed·Description·*****
 26 infrastructure·for·supporting·operator->()·on·both·references·and·proxies
21 Useful·wrapper·for·creating·singletons. 
22 Inspired·by·the·article·CodeGuru:_A_Leak-Free_Singleton_class 
  
23 ===============================================================================27 ===============================================================================
24 ·····Generated·by [doxygen]·1.9.428 ·····Generated·by [doxygen]·1.9.4
25.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00017_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:·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, 58 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">singleton.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="a00017.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="a00017.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_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_SINGLETON_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="l00014"·name="l00014"></a><span·class="lineno">···14</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">#include·&lt;<a·class="code"·href="a00089.html">dune/common/visibility.hh</a>&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>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>80 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</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>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>
81 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>{</div>82 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</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> 
85 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">protected</span>:</div>83 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··<span·class="keyword">namespace·</span>Impl·{</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>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>
 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>
89 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keyword">public</span>:</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="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>90 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</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">opera[·...·truncated·by·diffoscope;·len:·146,·SHA:·20fd022c351a1e6d490a9a10e191dfe07662804da5c71f9b662510fd9197d550·...·]</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>
93 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>94 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</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="a00089.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>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>
96 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······<span·class="keyword">static</span>·T·instance_;</div>99 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">······</span>{</div>
97 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keywordflow">return</span>·instance_;</div>100 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>········<span·class="keywordflow">return</span>·&amp;_t;</div>
98 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····}</div>101 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</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> 
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>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>
 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>
 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>
103 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="preprocessor">#endif</span></div>110 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="preprocessor">#ifdef·DOXYGEN</span></div>
104 <div·class="ttc"·id="aa00089_html"><div·class="ttname"><a·href="a00089.html">visibility.hh</a></div><div·class="ttdoc">Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.</div></div> 
105 <div·class="ttc"·id="aa00089_html_a392e8fb5628732502467b715b88974b4"><div·class="ttname"><a·href="a00089.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a></div><div·class="ttdeci">#define·DUNE_EXPORT</div><div·class="ttdoc">Export·a·symbol·as·part·of·the·public·[·...·truncated·by·diffoscope;·len:·70,·SHA:·9c4943be8c02930477bf28be384cfa50e2b28c2e23e69b98dae44fd55eb33853·...·]</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>
 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>
 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>
 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>
 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>
 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>
 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>
 132 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····&gt;::type</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>
 134 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</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>
 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>
 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>
 142 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··<span·class="comment">//·it·into·a·member_access_proxy_holder·instance.</span></div>
 143 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>
 144 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··<span·class="keyword">inline</span>·<span·class="keyword">typename</span>·std::enable_if&lt;</div>
 145 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····!std::is_lvalue_reference&lt;T&gt;::value,</div>
 146 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····Impl::member_access_proxy_holder&lt;T&gt;</div>
 147 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····&gt;::type</div>
 148 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··<a·class="code·hl_function"·href="a00406.html#gab204e4c1df410966214b242af99406a1">handle_proxy_member_access</a>(T&amp;&amp;·target)</div>
 149 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>··{</div>
 150 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>····<span·class="keywordflow">return</span>·{std::forward&lt;T&gt;(target)};</div>
 151 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>··}</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><span·class="preprocessor">#endif·</span><span·class="comment">//·DOXYGEN</span></div>
 154 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div>
 155 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>}·<span·class="comment">//·namespace·Dune</span></div>
 156 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div>
 157 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_PROXYMEMBERACCESS_HH</span></div>
 158 <div·class="ttc"·id="aa00406_html_gab204e4c1df410966214b242af99406a1"><div·class="ttname"><a·href="a00406.html#gab204e4c1df410966214b242af99406a1">Dune::handle_proxy_member_access</a></div><div·class="ttdeci">pointer_or_proxy_holder·handle_proxy_member_access(T·&amp;&amp;t)</div><div·class="ttdoc">Transparent·support·for·providing·member·access·to·both·lvalues·and·rvalues·(temporary·proxies).</div></div>
 159 <div·class="ttc"·id="aa00424_html"><div·class="ttname"><a·href="a00424.html">std</a></div><div·class="ttdoc">STL·namespace.</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>160 <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>
Max diff block lines reached; 271/21692 bytes (1.25%) of diff not shown.
4.12 KB
html2text {}
    
Offset 4, 68 lines modifiedOffset 4, 112 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 singleton.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_SINGLETON_HH 
15 ·6#define·DUNE_SINGLETON_HH14 ·5#ifndef·DUNE_COMMON_PROXYMEMBERACCESS_HH
 15 ·6#define·DUNE_COMMON_PROXYMEMBERACCESS_HH
16 ·716 ·7
17 ·8#include·<dune/common/visibility.hh> 
18 ·917 ·14#include·<type_traits>
 18 ·15#include·<utility>
 19 ·16
19 ·17namespace·Dune20 ·17namespace·Dune·{
20 ·18{21 ·18
21 ·54·template<class·T> 
22 55·class·Singleton22 ·19·namespace·Impl·{
 23 ·20
 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
23 ·56·{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;
24 ·57·protected: 
25 ·58·/*·@brief·Protected·constructor.·*/ 
26 59·Singleton()·=·default; 
27 ·60 
28 ·61·public: 
29 ·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·}40 ·37·}
38 ·75·}; 
39 ·7641 ·38
 42 ·39·T·_t;
 43 ·40
 44 ·41·};
 45 ·42
 46 ·43·}·//·end·Impl·namespace
 47 ·44
 48 ·45
 49 ·46#ifdef·DOXYGEN
 50 ·47
 51 ·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·}
 76 ·103
 77 ·104·//·This·version·matches·rvalues·(the·C++·type·deduction·rules·state·that
 78 ·105·//·the·T&&·signature·deduces·to·a·non-reference·iff·the·argument·is·an
 79 rvalue).
 80 ·106·//·In·this·case,·we·have·to·capture·the·rvalue·in·a·new·object·to·make
 81 sure·it
 82 ·107·//·is·kept·alive·for·the·duration·of·the·member·access.·For·this·purpose,
 83 we·move
 84 ·108·//·it·into·a·member_access_proxy_holder·instance.
 85 ·109·template<typename·T>
 86 ·110·inline·typename·std::enable_if<
 87 ·111·!std::is_lvalue_reference<T>::value,
 88 ·112·Impl::member_access_proxy_holder<T>
 89 ·113·>::type
 90 ·114·handle_proxy_member_access(T&&·target)
 91 ·115·{
 92 ·116·return·{std::forward<T>(target)};
 93 ·117·}
 94 ·118
 95 ·119#endif·//·DOXYGEN
 96 ·120
40 ·77}·//·namespace·Dune97 ·121}·//·namespace·Dune
41 ·78 
42 ·79#endif 
43 visibility.hh 
44 Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level. 
45 DUNE_EXPORT 
46 #define·DUNE_EXPORT 
47 Export·a·symbol·as·part·of·the·public·ABI. 
48 Definition:·visibility.hh:2098 ·122
 99 ·123#endif·//·DUNE_COMMON_PROXYMEMBERACCESS_HH
 100 Dune::handle_proxy_member_access
 101 pointer_or_proxy_holder·handle_proxy_member_access(T·&&t)
 102 Transparent·support·for·providing·member·access·to·both·lvalues·and·rvalues
Max diff block lines reached; 574/4196 bytes (13.68%) of diff not shown.
8.77 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:·iteratorrange.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, 32 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">iteratorrange.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>Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.··
 76 <a·href="#details">More...</a></p>
 77 <div·class="textblock"><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="a00173_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>
 82 <code>#include·&lt;<a·class="el"·href="a00008_source.html">dune/common/genericiterator.hh</a>&gt;</code><br·/>
 83 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 84 </div>
75 <p><a·href="a00020_source.html">Go·to·the·source·code·of·this·file.</a></p>85 <p><a·href="a00020_source.html">Go·to·the·source·code·of·this·file.</a></p>
76 <table·class="memberdecls">86 <table·class="memberdecls">
77 <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>
78 Classes</h2></td></tr>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="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>
 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="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>
 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="a01332.html">Dune::const_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&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="a01336.html">Dune::const_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&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="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>
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>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>
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>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>
81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 </table><table·class="memberdecls">106 </table><table·class="memberdecls">
83 <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>
84 Namespaces</h2></td></tr>108 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>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>
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>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>
87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>112 </table>
 113 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 114 <div·class="textblock"><p·>Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.·</p>
89 </div><!--·contents·-->115 </div></div><!--·contents·-->
90 <!--·start·footer·part·-->116 <!--·start·footer·part·-->
91 <hr·class="footer"/><address·class="footer"><small>117 <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.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
93 </small></address>119 </small></address>
94 </body>120 </body>
95 </html>121 </html>
1.68 KB
html2text {}
    
Offset 5, 20 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 iteratorrange.hh·File·Reference9 bitsetvector.hh·File·Reference
 10 Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.
 11 More...
 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>
10 Go_to_the_source_code_of_this_file.19 Go_to_the_source_code_of_this_file.
11 ·Classes20 ·Classes
12 class· Dune::IteratorRange<_Iterator_> 
13  ······Simple·range·between·a·begin·and·an·end·iterator.·More...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...
 24  
 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...
 28  
 29 struct· Dune::const_reference<_BitSetVectorReference<_block_size,_Alloc_>_>
 30  
 31 struct· Dune::const_reference<_BitSetVectorConstReference<_block_size,_Alloc_>
 32 ·········>
 33  
 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...
14  41  
15 ·Namespaces42 ·Namespaces
16 namespace· Dune43 namespace· Dune
17  ··········Dune·namespace.44  ··········Dune·namespace.
18  45  
 46 *****·Detailed·Description·*****
 47 Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.
  
19 ===============================================================================48 ===============================================================================
20 ·····Generated·by [doxygen]·1.9.449 ·····Generated·by [doxygen]·1.9.4
178 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:·iteratorrange.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, 74 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">iteratorrange.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="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_ITERATORRANGE_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_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_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;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><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;algorithm&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="a00173.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="a00008.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="a00341.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>
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>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>
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> 
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> 
83 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··{</div>88 <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="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>
86 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>91 <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[·...·truncated·by·diffoscope;·len:·14,·SHA:·5cdb4d7eb718a1ec7f8e2eb8ed6e74c01954d937e9c937e04db54cb0805a7c6b·...·];</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>
88 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>94 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</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>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="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>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:·101,·SHA:·36b1d8b54c297544f9dcd67373f59ee92d86baee84e55c30c765cc4b1bf9dce8·...·]</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>
98 <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"><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>
99 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</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>
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>105 <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>106 <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·cla[·...·truncated·by·diffoscope;·len:·26,·SHA:·813c818e41194c6ac6662ed920c7850668147e53fb1a7b74ad1f1529323e6e3a·...·]</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="keyw[·...·truncated·by·diffoscope;·len:·102,·SHA:·a29e819244964a7a829f3ae5d5855c0c5cc6cda4df9bc20c484cefc8357994f9·...·]</div>
 108 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
106 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">····</span>{</div>109 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">public</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>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>
109 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>112 <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>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>
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>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>
116 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</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>
 151 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
 152 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a01328.html#addd5977eecfa87e396fee617e8b55392">··103</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01328.html#addd5977eecfa87e396fee617e8b55392">any</a>()<span·class="keyword">·const</span></div>
Max diff block lines reached; 37789/151965 bytes (24.87%) of diff not shown.
29.6 KB
html2text {}
    
Offset 4, 92 lines modifiedOffset 4, 940 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 iteratorrange.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_COMMON_ITERATORRANGE_HH 
15 ·6#define·DUNE_COMMON_ITERATORRANGE_HH14 ·5#ifndef·DUNE_BLOCK_BITFIELD_HH
 15 ·6#define·DUNE_BLOCK_BITFIELD_HH
16 ·716 ·7
 17 ·12#include·<vector>
 18 ·13#include·<bitset>
 19 ·14#include·<iostream>
 20 ·15#include·<algorithm>
 21 ·16
 22 ·17#include·<dune/common/boundschecking.hh>
 23 ·18#include·<dune/common/genericiterator.hh>
 24 ·19#include·<dune/common/exceptions.hh>
 25 ·20
17 ·8namespace·Dune·{26 ·21namespace·Dune·{
18 ·9 
19 ·11 
20 ·20·template<typename·Iterator> 
21 21·class·IteratorRange 
22 ·22·{27 ·22
23 ·23 
24 ·24·public:28 ·23·template·<int·block_size,·class·Alloc>·class·BitSetVector;
 29 ·24·template·<int·block_size,·class·Alloc>·class·BitSetVectorReference;
25 ·2530 ·25
 31 ·36·template·<int·block_size,·class·Alloc>
 32 37·class·BitSetVectorConstReference
 33 ·38·{
 34 ·39·protected:
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 ·4035 ·40
36 42·IteratorRange() 
37 ·43·{} 
38 ·44 
39 46·iterator·begin()·const36 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_)
40 ·47·{43 ·47·{
41 ·48·return·_begin;44 ·48·DUNE_ASSERT_BOUNDS(blockBitField_.size()·>·static_cast<size_t>
 45 (block_number_));
42 ·49·}46 ·49·}
43 ·5047 ·50
44 52·iterator·end()·const48 52·BitSetVectorConstReference&·operator=(const·BitSetVectorConstReference·&·b);
 49 ·53
 50 ·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 ·62
 59 64·bitset·operator<<(size_type·n)·const
45 ·53·{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
 93 103·bool·any()·const
 94 ·104·{
 95 ·105·return·count();
 96 ·106·}
 97 ·107
 98 109·bool·none()·const
 99 ·110·{
 100 ·111·return·!·any();
 101 ·112·}
 102 ·113
 103 115·bool·all()·const
 104 ·116·{
 105 ·117·for(size_type·i=0;·i<block_size;·++i)
 106 ·118·if(not·test(i))
 107 ·119·return·false;
 108 ·120·return·true;
Max diff block lines reached; 14578/30296 bytes (48.12%) of diff not shown.
19.2 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:·keywords.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, 63 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">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">hybridutilities.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 <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="a00014_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 78 <code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/>
 79 <code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00251_source.html">dune/common/indices.hh</a>&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00167_source.html">dune/common/assertandreturn.hh</a>&gt;</code><br·/>
 82 <code>#include·&lt;<a·class="el"·href="a00146_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/>
 83 </div>
76 <p><a·href="a00023_source.html">Go·to·the·source·code·of·this·file.</a></p>84 <p><a·href="a00023_source.html">Go·to·the·source·code·of·this·file.</a></p>
77 <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">
78 <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>
79 Macros</h2></td></tr>95 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="a00023.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>&#160;&#160;&#160;in[·...·truncated·by·diffoscope;·len:·4,·SHA:·38a9c1e721584da284b90ceea4ed7eb8db15ac4ea86c2c75ec925d5f8799fcf0·...·]</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>
 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>
 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>
81 <tr·class="separator:afd8117b5ac0497a09e3bdecafbf518a6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>131 <tr·class="separator:ga1f6da8119c5af45fe0413b9f75ef9861"><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="a00023.html#a97b632609f7c06170ec5e2be5729c4f0">DUNE_GENERALIZED_CONSTEXPR</a>&#160;&#160;&#[·...·truncated·by·diffoscope;·len:·13,·SHA:·efa6a2b9d2a824fc2399560558fb5172555c7bdbf195a931fb6baed03e7466f2·...·]</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>
83 <tr·class="separator:a97b632609f7c06170ec5e2be5729c4f0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>139 <tr·class="separator:gaa3c378c2ae090a6b608ec667486ede4b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table>140 </table>
85 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
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"> 
  
Max diff block lines reached; 271/15772 bytes (1.72%) of diff not shown.
3.69 KB
html2text {}
    
Offset 4, 31 lines modifiedOffset 4, 79 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 hybridutilities.hh·File·Reference
 9 #include·<tuple>
 10 #include·<utility>
 11 #include·<dune/common/typetraits.hh>
 12 #include·<dune/common/typeutilities.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>
12 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
13 ·Macros 
14 #define DUNE_INLINE_VARIABLE   inline18 ·Namespaces
 19 namespace· Dune
 20  ··········Dune·namespace.
15  21  
16 #define DUNE_GENERALIZED_CONSTEXPR   constexpr22 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...
17  75  
18 *****·Detailed·Description·***** 
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 ===============================================================================76 ===============================================================================
29 ·····Generated·by [doxygen]·1.9.477 ·····Generated·by [doxygen]·1.9.4
79.6 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:·keywords.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, 39 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">keywords.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="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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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>
 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_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_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_HYBRIDUTILITIES_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> 
77 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno"><a·class="line"·href="a00023.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>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="a00014.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="a00257.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="a00302.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="a00251.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="a00167.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="a00146.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>
79 <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>
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>93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span>Impl·{</div>
82 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</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>
 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>
83 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</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="comment">//·Try·if·tuple_size·is·implemented·for·class</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="a00023.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>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>
87 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>107 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</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>108 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keywordflow">return</span>·{};</div>
90 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
91 <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="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>
 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>
Max diff block lines reached; 271/67636 bytes (0.40%) of diff not shown.
13.4 KB
html2text {}
    
Offset 4, 35 lines modifiedOffset 4, 447 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 keywords.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·-*-
 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_HH 
14 ·5 
15 ·18#if·__cpp_inline_variables·>=·201606 
16 19#define·DUNE_INLINE_VARIABLE·inline 
17 ·20#else14 ·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·{
 30 21namespace·Hybrid·{
18 ·2231 ·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 
25 ·31#else 
26 ·33 
27 ·36#define·DUNE_GENERALIZED_CONSTEXPR 
28 ·37#endif32 ·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>());
29 ·38111 ·138}
30 ·39112 ·139
Max diff block lines reached; 116/13726 bytes (0.85%) of diff not shown.
11.2 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:·classname.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, 48 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;
 73 <a·href="#var-members">Variables</a>··</div>
72 ··<div·class="headertitle"><div·class="title">classname.hh·File·Reference</div></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>A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type·as·a·string.·· 
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;type_traits&gt;</code><br·/>
78 <code>#include·&lt;memory&gt;</code><br·/> 
79 <code>#include·&lt;string&gt;</code><br·/>78 <code>#include·&lt;functional&gt;</code><br·/>
80 <code>#include·&lt;typeinfo&gt;</code><br·/> 
81 <code>#include·&lt;type_traits&gt;</code><br·/> 
82 </div>79 </div>
83 <p><a·href="a00026_source.html">Go·to·the·source·code·of·this·file.</a></p>80 <p><a·href="a00026_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">81 <table·class="memberdecls">
85 <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>
86 Namespaces</h2></td></tr>83 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>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>
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>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>
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 </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">
91 <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>
92 Functions</h2></td></tr>96 Functions</h2></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>
93 <tr·class="memitem:a33ac30656648b528235c913852c28ac7"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</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>
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> 
96 <tr·class="separator:a33ac30656648b528235c913852c28ac7"><td·class="memSeparator"·colspan="2">&#160;</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>
97 <tr·class="memitem:a1d7665500285ebc74f89523cb8cf4fae"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>111 <tr·class="memitem:ga4088609d1ec5543664e9a4e688b8f46e"><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>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::IsReferenceWra[·...·truncated·by·diffoscope;·len:·53,·SHA:·96030515862182fe860ad0716a4750be7194d8aff85f96de6e2b2a6dd4f9727f·...·]</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>
100 <tr·class="separator:a1d7665500285ebc74f89523cb8cf4fae"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:ga4088609d1ec5543664e9a4e688b8f46e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table>115 </table>
102 <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> 
104 </div></div><!--·contents·-->116 </div><!--·contents·-->
105 <!--·start·footer·part·-->117 <!--·start·footer·part·-->
106 <hr·class="footer"/><address·class="footer"><small>118 <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.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
108 </small></address>120 </small></address>
109 </body>121 </body>
110 </html>122 </html>
1.83 KB
html2text {}
    
Offset 4, 37 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
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·<memory> 
13 #include·<string> 
14 #include·<typeinfo> 
15 #include·<type_traits>9 #include·<type_traits>
 10 #include·<functional>
16 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
17 ·Namespaces12 ·Namespaces
18 namespace· Dune13 namespace· Dune
19  ··········Dune·namespace.14  ··········Dune·namespace.
20  15  
 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  
21 ·Functions22 ·Functions
22 template<class·T·>23 template<class·T·>
23 std::string Dune::className·() 
24  ···········Provide·the·demangled·class·name·of·a·type·T·as·a·string.·More...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
25  29  
26 template<class·T·>30 template<class·T·>
 31 constexpr·T·& Dune::resolveRef·(std::reference_wrapper<·T·>·gf)·noexcept
 32  ·············Helper·function·to·resolve·std::reference_wrapper.·More...
27 std::string Dune::className·(T·&&v) 
28  ···········Provide·the·demangled·class·name·of·a·given·object·as·a·string. 
29 ·············More... 
30  33  
31 *****·Detailed·Description·***** 
32 A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type 
33 as·a·string.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  
  
34 ===============================================================================40 ===============================================================================
35 ·····Generated·by [doxygen]·1.9.441 ·····Generated·by [doxygen]·1.9.4
28.9 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:·classname.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, 91 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">classname.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="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_CLASSNAME_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_CLASSNAME_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="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</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="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;string&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="l00017"·name="l00017"></a><span·class="lineno">···17</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">#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>
83 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</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>
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>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</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>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>
 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>
90 <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>
91 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">namespace·</span>Impl·{</div>96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>}·<span·class="comment">//·namespace·Dune::Impl</span></div>
92 <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>
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> 
94 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····{</div>98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</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>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>
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>101 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
105 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··}</div> 
106 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>102 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
107 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="comment">/*</span></div> 
108 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">···*·\ingroup·CxxUtilities</span></div> 
109 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">···*/</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>·T&gt;</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>
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>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>
112 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··{</div>105 <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">typedef</span>·<span·class="keyword">typename</span>·std::remove_reference&lt;T&gt;::type·TR;</div> 
114 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····std::string·<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>·=·Impl::demangle(·<span·class="keyword">typeid</span>(·TR·).name()·);</div> 
115 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keywordflow">if</span>·(std::is_const&lt;TR&gt;::value)</div>106 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keywordflow">return</span>·gf;</div>
116 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>·+=·<span·class="stringliteral">&quot;·const&quot;</span>;</div> 
117 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keywordflow">if</span>·(std::is_volatile&lt;TR&gt;::value)</div> 
118 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>·+=·<span·class="stringliteral">&quot;·volatile&quot;</span>;</div> 
119 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keywordflow">if</span>·(std::is_lvalue_reference&lt;T&gt;::value)</div> 
120 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>·+=·<span·class="stringliteral">&quot;&amp;&quot;</span>;</div> 
121 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·(std::is_rvalue_reference&lt;T&gt;::value)</div> 
122 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>·+=·<span·class="stringliteral">&quot;&amp;&amp;&quot;</span>;</div> 
123 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>;</div> 
124 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··}</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>
125 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>118 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
126 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="comment">/*</span></div> 
127 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">···*·\ingroup·CxxUtilities</span></div> 
128 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">···*/</span></div> 
129 <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>·T&gt;</div> 
130 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a00425.html#a1d7665500285ebc74f89523cb8cf4fae">···67</a></span>··std::string·<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>·(·T&amp;&amp;·v)</div> 
131 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··{</div>119 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
132 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·std::remove_reference&lt;T&gt;::type·TR;</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>
133 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····std::string·<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>·=·Impl::demangle(·<span·class="keyword">typeid</span>(v).name()·);</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"[·...·truncated·by·diffoscope;·len:·89,·SHA:·5fa5346d0028e1e93a32c448d8ac8f43d09540407212a43686e28e9f046b7db6·...·]</div>
 122 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>{</div>
134 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keywordflow">if</span>·(std::is_const&lt;TR&gt;::value)</div>123 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keywordflow">return</span>·gf.get();</div>
135 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>········<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>·+=·<span·class="stringliteral">&quot;·const&quot;</span>;</div> 
136 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keywordflow">if</span>·(std::is_volatile&lt;TR&gt;::value)</div> 
137 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>·+=·<span·class="stringliteral">&quot;·volatile&quot;</span>;</div> 
138 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>;</div> 
139 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··}</div>124 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>}</div>
140 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>}·<span·class="comment">//·namespace·Dune</span></div> 
141 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</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>
Max diff block lines reached; 1134/24894 bytes (4.56%) of diff not shown.
4.46 KB
html2text {}
    
Offset 4, 92 lines modifiedOffset 4, 100 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 classname.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_CLASSNAME_HH 
15 ·6#define·DUNE_CLASSNAME_HH14 ·5#ifndef·DUNE_COMMON_REFERENCE_HELPER_HH
 15 ·6#define·DUNE_COMMON_REFERENCE_HELPER_HH
16 ·716 ·7
17 ·13#include·<cstdlib> 
18 ·14#include·<memory> 
19 ·15#include·<string> 
20 ·16#include·<typeinfo> 
21 ·17#include·<type_traits>17 ·8#include·<type_traits>
 18 ·9#include·<functional>
 19 ·10
 20 ·11
 21 ·12
22 ·18 
23 ·19#if·__has_include(<cxxabi.h>)·&&·!DISABLE_CXA_DEMANGLE 
24 ·20#define·HAVE_CXA_DEMANGLE·1 
25 ·21#include·<cxxabi.h> 
26 ·22#endif·//·#if·HAVE_CXA_DEMANGLE 
27 ·23 
28 ·24namespace·Dune·{22 ·13namespace·Dune·{
 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·{};
29 ·2536 ·25
30 ·26·namespace·Impl·{37 ·26}·//·namespace·Dune::Impl
31 ·2738 ·27
 39 ·28
 40 ·34template<class·T>
 41 35constexpr·bool·IsReferenceWrapper_v·=·Impl::IsReferenceWrapper<T>::value;
 42 ·36
 43 ·37
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·} 
44 ·40·} 
45 ·41 
46 ·43·/* 
47 ·44·*·\ingroup·CxxUtilities 
48 ·45·*/ 
49 ·46·template·<class·T>44 ·46template<class·T>
50 47·std::string·className·()45 47constexpr·T&·resolveRef(T&·gf)·noexcept
51 ·48·{46 ·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·}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;
64 ·6159 ·61
 60 ·62
65 ·63·/* 
66 ·64·*·\ingroup·CxxUtilities 
67 ·65·*/ 
68 ·66·template·<class·T>61 ·81template<class·T>
69 67·std::string·className·(·T&&·v) 
70 ·68·{ 
71 ·69·typedef·typename·std::remove_reference<T>::type·TR; 
72 ·70·std::string·className·=·Impl::demangle(·typeid(v).name()·); 
73 ·71·if·(std::is_const<TR>::value) 
74 ·72·className·+=·"·const"; 
75 ·73·if·(std::is_volatile<TR>::value) 
76 ·74·className·+=·"·volatile"; 
77 ·75·return·className; 
78 ·76·}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
79 ·77}·//·namespace·Dune74 ·103}·//·namespace·Dune
80 ·78 
Max diff block lines reached; 495/4538 bytes (10.91%) of diff not shown.
15.7 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:·path.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, 61 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="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>··</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>
70 <a·href="#func-members">Functions</a>··</div> 
71 ··<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> 
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
74 <p>Utilities·for·handling·filesystem·paths.··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;string&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;cassert&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·/>
 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="a00341_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="a00038_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code><br·/>
 86 <code>#include·&lt;<a·class="el"·href="a00332_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/>
77 </div>87 </div>
78 <p><a·href="a00029_source.html">Go·to·the·source·code·of·this·file.</a></p>88 <p><a·href="a00029_source.html">Go·to·the·source·code·of·this·file.</a></p>
79 <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>
 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="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>
 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>
 112 </table><table·class="memberdecls">
80 <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>
81 Namespaces</h2></td></tr>114 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>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>
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>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>
84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>117 <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: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> 
89 <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> 
90 <tr·class="separator:gaf35055b90526b3266f36956a4e361f50"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
91 <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> 
92 <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> 
93 <tr·class="separator:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
94 <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> 
95 <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:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
97 <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> 
98 <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> 
99 <tr·class="separator:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 <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> 
101 <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> 
102 <tr·class="separator:gae07624c824232706454d5d6d1d1cb5c8"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
103 <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> 
104 <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> 
105 <tr·class="separator:gab2ce1b1de5e4a5c74802d615b4027a7b"><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·>Utilities·for·handling·filesystem·paths.·</p> 
109 <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·c[·...·truncated·by·diffoscope;·len:·49,·SHA:·da81661999ee4d58eae7cc6dc08309aac8a6218eda1627a4084cc65f19722503·...·]>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>
110 </div></div><!--·contents·-->122 </div></div><!--·contents·-->
111 <!--·start·footer·part·-->123 <!--·start·footer·part·-->
112 <hr·class="footer"/><address·class="footer"><small>124 <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.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
114 </small></address>126 </small></address>
115 </body>127 </body>
116 </html>128 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
2.92 KB
html2text {}
    
Offset 4, 45 lines modifiedOffset 4, 61 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Namespaces·|·Functions7 ····*·parallel
 8 Classes·|·Namespaces
8 path.hh·File·Reference9 communicator.hh·File·Reference
9 Common·»·Utilities·»·Filesystem_Paths 
10 Utilities·for·handling·filesystem·paths.·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>
11 #include·<string>15 #include·<iostream>
 16 #include·<map>
 17 #include·<type_traits>
 18 #include·<utility>
 19 #include·<mpi.h>
 20 #include·<dune/common/exceptions.hh>
 21 #include·<dune/common/parallel/interface.hh>
 22 #include·<dune/common/parallel/remoteindices.hh>
 23 #include·<dune/common/stdstreams.hh>
12 Go_to_the_source_code_of_this_file.24 Go_to_the_source_code_of_this_file.
 25 ·Classes
 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  
13 ·Namespaces50 ·Namespaces
14 namespace· Dune51 namespace· Dune
15  ··········Dune·namespace.52  ··········Dune·namespace.
16  53  
17 ·Functions 
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 
35 ·············&p) 
36  ···········compute·a·relative·path·between·two·paths·More... 
37   
38 *****·Detailed·Description·*****54 *****·Detailed·Description·*****
39 Utilities·for·handling·filesystem·paths.55 Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.
40 ··Author56 ··Author
41 ·······Fahlke·jorri.nosp@m.t@jo.nosp@m.rrit..nosp@m.de57 ······Markus·Blatt
  
42 ===============================================================================58 ===============================================================================
43 ·····Generated·by [doxygen]·1.9.459 ·····Generated·by [doxygen]·1.9.4
213 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:·path.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, 58 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">path.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="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_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_COMMUNICATOR</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_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">#include·&lt;string&gt;</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>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>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>
 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>
 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>
 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;<a·class="code"·href="a00341.html">dune/common/exceptions.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>
 91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00038.html">dune/common/parallel/remoteindices.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="a00332.html">dune/common/stdstreams.hh</a>&gt;</span></div>
81 <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>
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:·24,·SHA:·c4d68766bc9384d8e0bea2f8b932ac84fb82ea5e81bd9a9caa5da0000f78138c·...·]</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>
83 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</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>
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> 
86 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</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> 
89 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>97 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··{};</div>
90 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>98 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</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</spa[·...·truncated·by·diffoscope;·len:·16,·SHA:·21a9db98370285e37f78f1f1ba58ce8d856841c1cbf3f568472f488350321105·...·]</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>
 100 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··{};</div>
 101 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div>
92 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>·</div>102 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</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>
 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>
 105 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</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</a>;</div>
 107 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</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="a02000.html#a2cda5e943599178476fac79e207b365b">IndexedType</a>;</div>
 109 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</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"·href="a02000.html#a82711a42e162a721414c8d9737a8ee0c">IndexedTypeFlag</a>;</div>
93 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div>111 <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>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="code·[·...·truncated·by·diffoscope;·len:·168,·SHA:·bdf0ae3d7ed29ac36cc8cfdd0a69c3566546a88beeae2c75a24c8a79aedc7303·...·]);</div>
95 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>·</div>113 <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</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#a4b5cf5c019f467b3e1f7798b076ceee8">getSize</a>(<span·class="keyword">const</span>·V&amp;,·<span·class="keywordtype">int</span>·index);</div>
 115 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>··};</div>
 116 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</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·class="code·hl_class"·href="a02004.html">FieldVector</a>;</div>
 118 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</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·class="code·hl_class"·href="a02008.html">VariableBlockVector</a>;</div>
96 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>·</div>120 <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</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<[·...·truncated·by·diffoscope;·len:·26,·SHA:·fca4ba90dbff7f81e7291c22fcc8fd0c30f348e2e7472fb8f34c9aef03c1bd8c·...·];</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>
 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">VariableBlockVector</a>&lt;<a·class="code·hl_class"·href="a02004.html">FieldVector</a>&lt;K,·n&gt;,·A&gt;·&gt;</div>
 123 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno">··179</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&gt;</a>,·A&gt;·<a·class="code·hl_typedef"·href="a02012.html#a63316a3f87f4edf2011ffa151e1abd73">Type</a>;</div>
98 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno">··180</span>·</div>125 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</span>·</div>
99 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno">··182</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.html#af196fdca100c252ea392e44d2cdf02b8">Inde[·...·truncated·by·diffoscope;·len:·12,·SHA:·4d8a5de27edce0a01580df27e40d0a80b7a7e67d84b13f791bf32b10989cf74b·...·]</div>
Diff chunk too large, falling back to line-by-line diff (906 lines added, 6 lines removed)
100 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>·</div>127 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</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>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_typedef"·href="a02012.html#a19085e204009d8644f44f8[·...·truncated·by·diffoscope;·len:·32,·SHA:·f556e4dcc73fbe1f4f4a7f116e797a13333277b4e1961f8f0a4482e0f59c234f·...·]</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">[·...·truncated·by·diffoscope;·len:·98,·SHA:·3e5d6c886fe9f9a913ae1df54f33126fca2bf3cd96937fc9d5a1723477bf0e09·...·]</div>129 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno">··185</span>·</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[·...·truncated·by·diffoscope;·len:·137,·SHA:·d0fdbd26d0e85e3340011ad055df1bfb83b91da08100b425226ca670898bf457·...·]</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[·...·truncated·by·diffoscope;·len:·235,·SHA:·9ad5213e86565aaa88d9cfd1ba591261f15eadd13efc47bb24996c0103d42591·...·]</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><di[·...·truncated·by·diffoscope;·len:·94,·SHA:·24731dbf3e3dea7a9d1a62bd84f67a7c470a54b4095190741baf52973f734b70·...·]</div>131 <div·class="line"><a·id="l00187"·name="l00187"></a><span·class="lineno">··187</span>·</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::strin[·...·truncated·by·diffoscope;·len:·136,·SHA:·610cd3cfa116ef29c55d35dff999d137ad864d23603e563c38d31650bf4936ab·...·]</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="[·...·truncated·by·diffoscope;·len:·195,·SHA:·c6095bae53af630266cd48b81fe3f035b6301b9dfd4cdf779101efe909f49735·...·]</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·&am[·...·truncated·by·diffoscope;·len:·110,·SHA:·f6fc1cc7d2f7f205bb7f88420cb66c851d9c71acc5caa0eb0ce23dfdd187c353·...·]</div>133 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>··};</div>
 134 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</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_class"·href="a01556.html">IOError</a></div>
 136 <div·class="line"><a·id="l00195"·name="l00195"></a><span·class="lineno">··195</span>··{};</div>
 137 <div·class="line"><a·id="l00196"·name="l00196"></a><span·class="lineno">··196</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>
 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>
 140 <div·class="line"><a·id="l00202"·name="l00202"></a><span·class="lineno">··202</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#a2cda5e943599178476fac79e207b365b">CommPolicy&lt;T&gt;::IndexedType</a>·<a·class="code·hl_typedef"·href="a02020.html#a75f3ea805efadcb366dc402490a20929">IndexedType</a>;</div>
 142 <div·class="line"><a·id="l00204"·name="l00204"></a><span·class="lineno">··204</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#a75f3ea805efadcb366dc402490a20929">IndexedType</a>&amp;·<a·class="code·hl_function"·href="a02020.html#ae8c09be11f1f4489951ea82e5fe9d9fc">gather</a>(<span·class="keyword">const</span>·T&amp;·vec,·std::size_t·i);</div>
 144 <div·class="line"><a·id="l00206"·name="l00206"></a><span·class="lineno">··206</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#a3a2e583dfb9e572e4e0606cfafcd4aa2">scatter</a>(T&amp;·vec,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02020.html#a75f3ea805efadcb366dc402490a20929">IndexedType</a>&amp;·v,·std::size_t·i);</div>
 146 <div·class="line"><a·id="l00208"·name="l00208"></a><span·class="lineno">··208</span>·</div>
 147 <div·class="line"><a·id="l00209"·name="l00209"></a><span·class="lineno">··209</span>··};</div>
 148 <div·class="line"><a·id="l00210"·name="l00210"></a><span·class="lineno">··210</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>
 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>
 151 <div·class="line"><a·id="l00224"·name="l00224"></a><span·class="lineno">··224</span>··{</div>
 152 <div·class="line"><a·id="l00225"·name="l00225"></a><span·class="lineno">··225</span>··<span·class="keyword">public</span>:</div>
 153 <div·class="line"><a·id="l00226"·name="l00226"></a><span·class="lineno">··226</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>
 155 <div·class="line"><a·id="l00231"·name="l00231"></a><span·class="lineno">··231</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>
 157 <div·class="line"><a·id="l00236"·name="l00236"></a><span·class="lineno">··236</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>·GlobalIndex;</div>
 159 <div·class="line"><a·id="l00241"·name="l00241"></a><span·class="lineno">··241</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>
 161 <div·class="line"><a·id="l00246"·name="l00246"></a><span·class="lineno">··246</span>·</div>
Max diff block lines reached; 13275/177568 bytes (7.48%) of diff not shown.
39.3 KB
html2text {}
    
Offset 4, 68 lines modifiedOffset 4, 1208 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 path.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_COMMON_PATH_HH15 ·5#ifndef·DUNE_COMMUNICATOR
15 ·6#define·DUNE_COMMON_PATH_HH16 ·6#define·DUNE_COMMUNICATOR
16 ·717 ·7
17 ·8#include·<string>18 ·8#if·HAVE_MPI
18 ·919 ·9
19 ·10namespace·Dune·{20 ·10#include·<cassert>
 21 ·11#include·<cstddef>
 22 ·12#include·<iostream>
 23 ·13#include·<map>
 24 ·14#include·<type_traits>
 25 ·15#include·<utility>
 26 ·16
 27 ·17#include·<mpi.h>
 28 ·18
 29 ·19#include·<dune/common/exceptions.hh>
 30 ·20#include·<dune/common/parallel/interface.hh>
 31 ·21#include·<dune/common/parallel/remoteindices.hh>
 32 ·22#include·<dune/common/stdstreams.hh>
20 ·2333 ·23
 34 ·24namespace·Dune
 35 ·25{
 36 109·struct·SizeOne
 37 ·110·{};
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 
26 ·10138 ·111
27 ·109·bool·pathIndicatesDirectory(const·std::string&·p);39 117·struct·VariableSize
 40 ·118·{};
28 ·11041 ·119
29 ·11242 ·120
30 ·151·std::string·prettyPath(const·std::string&·p,·bool·isDirectory); 
31 ·15243 ·126·template<class·V>
 44 127·struct·CommPolicy
 45 ·128·{
 46 140·typedef·V·Type;
 47 ·141
 48 147·typedef·typename·V::value_type·IndexedType;
 49 ·148
 50 153·typedef·SizeOne·IndexedTypeFlag;
32 ·15451 ·154
33 ·160·std::string·prettyPath(const·std::string&·p);52 163·static·const·void*·getAddress(const·V&·v,·int·index);
34 ·16153 ·164
 54 170·static·int·getSize(const·V&,·int·index);
 55 ·171·};
 56 ·172
 57 173·template<class·K,·int·n>·class·FieldVector;
 58 ·174
 59 175·template<class·B,·class·A>·class·VariableBlockVector;
35 ·16360 ·176
36 ·179·std::string·relativePath(const·std::string&·newbase,·const·std::string& 
37 p);61 ·177·template<class·K,·class·A,·int·n>
 62 178·struct·CommPolicy<VariableBlockVector<FieldVector<K,·n>,·A>·>
 63 ·179·{
 64 180·typedef·VariableBlockVector<FieldVector<K,_n>,·A>·Type;
38 ·18065 ·181
39 ·182}66 182·typedef·typename·Type::B·IndexedType;
Diff chunk too large, falling back to line-by-line diff (1000 lines added, 21 lines removed)
40 ·18367 ·183
41 ·184#endif·//·DUNE_COMMON_PATH_HH68 184·typedef·VariableSize·IndexedTypeFlag;
42 Dune::processPath69 ·185
43 std::string·processPath(const·std::string·&p)70 186·static·const·void*·getAddress(const·Type&·v,·int·i);
44 sanitize·a·path·for·further·processing71 ·187
45 Definition:·path.cc:4172 188·static·int·getSize(const·Type&·v,·int·i);
46 Dune::pathIndicatesDirectory73 ·189·};
47 bool·pathIndicatesDirectory(const·std::string·&p)74 ·190
48 check·whether·the·given·path·indicates·that·it·is·a·directory75 194·class·CommunicationError·:·public·IOError
49 Definition:·path.cc:11576 ·195·{};
50 Dune::prettyPath77 ·196
51 std::string·prettyPath(const·std::string·&p,·bool·isDirectory)78 ·200·template<class·T>
52 pretty·print·path79 201·struct·CopyGatherScatter
53 Definition:·path.cc:12680 ·202·{
54 Dune::relativePath81 203·typedef·typename·CommPolicy<T>::IndexedType·IndexedType;
55 std::string·relativePath(const·std::string·&newbase,·const·std::string·&p)82 ·204
56 compute·a·relative·path·between·two·paths83 205·static·const·IndexedType&·gather(const·T&·vec,·std::size_t·i);
57 Definition:·path.cc:15384 ·206
58 Dune::concatPaths85 207·static·void·scatter(T&·vec,·const·IndexedType&·v,·std::size_t·i);
59 std::string·concatPaths(const·std::string·&base,·const·std::string·&p)86 ·208
60 concatenate·two·paths87 ·209·};
61 Definition:·path.cc:3288 ·210
 89 ·222·template<typename·T>
 90 ·223·class·DatatypeCommunicator·:·public·InterfaceBuilder
 91 ·224·{
 92 ·225·public:
 93 ·226
 94 ·230·typedef·T·ParallelIndexSet;
 95 ·231
 96 ·235·typedef·Dune::RemoteIndices<ParallelIndexSet>·RemoteIndices;
 97 ·236
 98 ·240·typedef·typename·RemoteIndices::GlobalIndex·GlobalIndex;
 99 ·241
 100 ·245·typedef·typename·RemoteIndices::Attribute·Attribute;
 101 ·246
 102 ·250·typedef·typename·RemoteIndices::LocalIndex·LocalIndex;
 103 ·251
 104 ·255·DatatypeCommunicator();
 105 ·256
 106 ·260·~DatatypeCommunicator();
 107 ·261
 108 ·288·template<class·T1,·class·T2,·class·V>
 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;
Max diff block lines reached; 5371/40172 bytes (13.37%) of diff not shown.
9.45 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:·exceptions.cc·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, 31 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="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>·&#124;
70 ··<div·class="headertitle"><div·class="title">exceptions.cc·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>
71 </div><!--header-->73 </div><!--header-->
72 <div·class="contents">74 <div·class="contents">
  
 75 <p>Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed·computing.··
 76 <a·href="#details">More...</a></p>
73 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>77 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00086_source.html">localindex.hh</a>&quot;</code><br·/>
 78 <code>#include·&quot;<a·class="el"·href="a00065_source.html">indexset.hh</a>&quot;</code><br·/>
 79 <code>#include·&quot;<a·class="el"·href="a00074_source.html">mpitraits.hh</a>&quot;</code><br·/>
 80 <code>#include·&lt;iostream&gt;</code><br·/>
 81 </div>
 82 <p><a·href="a00035_source.html">Go·to·the·source·code·of·this·file.</a></p>
74 </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">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>
 92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 93 </table><table·class="memberdecls">
75 <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>
76 Namespaces</h2></td></tr>95 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>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>
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>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>
79 <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>
80 </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>
81 </div><!--·contents·-->116 </div></div><!--·contents·-->
82 <!--·start·footer·part·-->117 <!--·start·footer·part·-->
83 <hr·class="footer"/><address·class="footer"><small>118 <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.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
85 </small></address>120 </small></address>
86 </body>121 </body>
87 </html>122 </html>
1.63 KB
html2text {}
    
Offset 4, 17 lines modifiedOffset 4, 53 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 
9 #include·<dune/common/exceptions.hh>7 ····*·parallel
 8 Classes·|·Namespaces·|·Functions
 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>
 17 Go_to_the_source_code_of_this_file.
 18 ·Classes
 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_>_>
 26  
10 ·Namespaces27 ·Namespaces
11 namespace· Dune28 namespace· Dune
12  ··········Dune·namespace.29  ··········Dune·namespace.
13  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
  
14 ===============================================================================50 ===============================================================================
15 ·····Generated·by [doxygen]·1.9.451 ·····Generated·by [doxygen]·1.9.4
29.4 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:·hash.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, 185 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;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; 
72 <a·href="#func-members">Functions</a>··</div>71 <a·href="#func-members">Functions</a>··</div>
73 ··<div·class="headertitle"><div·class="title">hash.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>
74 </div><!--header-->73 </div><!--header-->
75 <div·class="contents">74 <div·class="contents">
  
76 <p>Support·for·calculating·hash·values·of·objects.··75 <p>Classes·describing·a·distributed·indexset.··
77 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
78 <div·class="textblock"><code>#include·&lt;functional&gt;</code><br·/>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="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/parallel/indexset.hh</a>&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00074_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/parallel/plocalindex.hh</a>&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a00326_source.html">dune/common/sllist.hh</a>&gt;</code><br·/>
79 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>91 <code>#include·&lt;<a·class="el"·href="a00332_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/>
80 </div>92 </div>
81 <p><a·href="a00038_source.html">Go·to·the·source·code·of·this·file.</a></p>93 <p><a·href="a00038_source.html">Go·to·the·source·code·of·this·file.</a></p>
82 <table·class="memberdecls">94 <table·class="memberdecls">
83 <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>
84 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="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>
85 <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="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>
86 <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>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>
87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table><table·class="memberdecls">116 </table><table·class="memberdecls">
89 <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>
90 Namespaces</h2></td></tr>118 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>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>
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>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>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 </table><table·class="memberdecls">122 </table><table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> 
96 Macros</h2></td></tr> 
97 <tr·class="memitem:a19447db8894b6d86b6b7ef0218694820"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html#a19447db8894b6d86b6b7ef0218694820">DUNE_DEFINE_HASH</a>(template_args,··type)</td></tr> 
98 <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="a00038.html#a19447db8894b6d86b6b7ef0218694820">More...</a><br·/></td></tr> 
99 <tr·class="separator:a19447db8894b6d86b6b7ef0218694820"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 <tr·class="memitem:ad88c05071e8aafc3796b6d6238900697"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html#ad88c05071e8aafc3796b6d6238900697">DUNE_HASH_TEMPLATE_ARGS</a>(...)</td></tr> 
101 <tr·class="memdesc:ad88c05071e8aafc3796b6d6238900697"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wrapper·macro·for·the·template·arguments·in·DUNE_DEFINE_HASH.··<a·href="a00038.html#ad88c05071e8aafc3796b6d6238900697">More...</a><br·/></td></tr> 
102 <tr·class="separator:ad88c05071e8aafc3796b6d6238900697"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
103 <tr·class="memitem:a48ea57ba3831fb7e8bbea1d8e1d27f4f"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">DUNE_HASH_TYPE</a>(...)</td></tr> 
104 <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="a00038.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">More...</a><br·/></td></tr> 
105 <tr·class="separator:a48ea57ba3831fb7e8bbea1d8e1d27f4f"><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="func-members"·name="func-members"></a>123 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
108 Functions</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>
 127 <tr·class="separator:ga3e5f972e5d5b0623aeaae8ea76610ef4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:aa4f0199c109bde1698fb5279a414d01a"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</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>
110 <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> 
111 <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> 
112 <tr·class="separator:aa4f0199c109bde1698fb5279a414d01a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>130 <tr·class="separator:ga4298476f0be2dd2f85d9fb856ff228a1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 <tr·class="memitem:a6e45658b7c63f546c3c0897608d9d23d"><td·class="memTemplParams"·colspan="2">template&lt;typename·It·&gt;·</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>
114 <tr·class="memitem:a6e45658b7c63f546c3c0897608d9d23d"><td·class="memTemplItemLeft"·align="right"·valign="top">std::size_t&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a6e45658b7c63f546c3c0897608d9d23d">Dune::hash_range</a>·(It·first,·It·last)</td></tr> 
115 <tr·class="memdesc:a6e45658b7c63f546c3c0897608d9d23d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Hashes·all·elements·in·the·range·[first,last)·and·returns·the·combined·hash.··<a·href="a00425.html#a6e45658b7c63f546c3c0897608d9d23d">More...</a><br·/></td></tr> 
116 <tr·class="separator:a6e45658b7c63f546c3c0897608d9d23d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>133 <tr·class="separator:a048ab774ecd43e33a5026deafb1c9a8c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 <tr·class="memitem:ab09a051cb1381c71f6c91032cd2ba754"><td·class="memTemplParams"·colspan="2">template&lt;typename·It·&gt;·</td></tr> 
118 <tr·class="memitem:ab09a051cb1381c71f6c91032cd2ba754"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ab09a051cb1381c71f6c91032cd2ba754">Dune::hash_range</a>·(std::size_t·&amp;seed,·It·first,·It·last)</td></tr> 
119 <tr·class="memdesc:ab09a051cb1381c71f6c91032cd2ba754"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Hashes·all·elements·in·the·range·[first,last)·and·combines·the·hashes·in-place·with·seed.··<a·href="a00425.html#ab09a051cb1381c71f6c91032cd2ba754">More...</a><br·/></td></tr> 
120 <tr·class="separator:ab09a051cb1381c71f6c91032cd2ba754"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
121 </table>134 </table>
122 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>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>
123 <div·class="textblock"><p·>Support·for·calculating·hash·values·of·objects.·</p> 
124 <p·>This·file·provides·the·functor·<a·class="el"·href="a01856.html"·title="Functor·for·hashing·objects·of·type·T.">Dune::hash</a>·to·calculate·hash·values·and·some·infrastructure·to·simplify·extending·<a·class="el"·href="a01856.html"·title="Functor·for·hashing·objects·of·type·T.">Dune::hash</a>·for·user-defined·types,·independent·of·the·actual·underlying·implementation.·</p> 
125 </div><h2·class="groupheader">Macro·Definition·Documentation</h2> 
126 <a·id="a19447db8894b6d86b6b7ef0218694820"·name="a19447db8894b6d86b6b7ef0218694820"></a> 
127 <h2·class="memtitle"><span·class="permalink"><a·href="#a19447db8894b6d86b6b7ef0218694820">&#9670;&nbsp;</a></span>DUNE_DEFINE_HASH</h2> 
  
128 <div·class="memitem"> 
129 <div·class="memproto"> 
Max diff block lines reached; 243/23249 bytes (1.05%) of diff not shown.
6.6 KB
html2text {}
    
Offset 4, 131 lines modifiedOffset 4, 74 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 ····*·parallel
7 Classes·|·Namespaces·|·Macros·|·Functions8 Classes·|·Namespaces·|·Functions
8 hash.hh·File·Reference 
9 Support·for·calculating·hash·values·of·objects.·More...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>
10 #include·<functional>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>
11 #include·<dune/common/typetraits.hh>26 #include·<dune/common/stdstreams.hh>
12 Go_to_the_source_code_of_this_file.27 Go_to_the_source_code_of_this_file.
13 ·Classes28 ·Classes
 29 class· Dune::MPITraits<_IndexPair<_TG,_ParallelLocalIndex<_TA_>_>_>
14 struct· Dune::hash<_T_> 
15  ·······Functor·for·hashing·objects·of·type·T.·More... 
16  30  
17 ·Namespaces 
18 namespace· Dune 
19  ··········Dune·namespace.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...
20  40  
 41 class· Dune::RemoteIndexListModifier<_T,_A,_mode_>::InvalidPosition
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... 
25  42  
26 #define DUNE_HASH_TEMPLATE_ARGS(...) 
27  ·······Wrapper·macro·for·the·template·arguments·in·DUNE_DEFINE_HASH.·More...43 class· Dune::CollectiveIterator<_T,_A_>
 44  ······A·collective·iterator·for·moving·over·the·remote·indices·for·all
 45 ········processes·collectively.·More...
28  46  
29 #define DUNE_HASH_TYPE(...) 
30  ·······Wrapper·macro·for·the·type·to·be·hashed·in·DUNE_DEFINE_HASH.·More...47 class· Dune::CollectiveIterator<_T,_A_>::iterator
 48  ······Iterator·over·the·valid·underlying·iterators.·More...
 49  
 50 ·Namespaces
 51 namespace· Dune
 52  ··········Dune·namespace.
31  53  
32 ·Functions54 ·Functions
 55 template<typename·T1·,·typename·T2·>
 56 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·RemoteIndex<·T1,·T2·>
 57 ················&index)
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... 
37  58  
 59 template<class·T·,·class·A·>
 60 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·RemoteIndices<·T,·A·>
 61 ················&indices)
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... 
42  62  
 63 template<typename·TG·,·typename·TA·>
 64 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·RemoteIndex<·TG,·TA·>
 65 ················&index)
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... 
47  66  
48 *****·Detailed·Description·*****67 *****·Detailed·Description·*****
 68 Classes·describing·a·distributed·indexset.
 69 ··Author
 70 ······Markus·Blatt
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. 
53 *****·Macro·Definition·Documentation·***** 
54 *****·◆ DUNE_DEFINE_HASH·***** 
55 #define·DUNE_DEFINE_HASH·(· template_args, 
56 ··························· type  
57 ·························) 
58 Defines·the·required·struct·specialization·to·make·type·hashable·via·Dune:: 
59 hash. 
60 In·order·to·calculate·the·hash,·operator()·of·the·generated·specialization·will 
61 return·the·result·of·an·unqualified·call·to·the·global·function·hash_value 
62 (const·type&).·As·the·call·is·not·qualified,·the·function·will·be·found·using 
63 argument-dependent·lookup,·allowing·implementors·to·conveniently·place·it 
64 inside·the·class·body. 
65 Consider·the·following·type: 
66 namespace·ns·{ 
67 template<typename·A,·int·i> 
68 class·Foo 
69 { 
70 ... 
71 }; 
72 } 
73 In·order·to·add·support·for·Dune::hash,·you·need·to·extend·the·definition·like 
74 this: 
75 namespace·ns·{ 
76 template<typename·A,·int·i> 
77 class·Foo 
78 { 
79 ... 
80 //·The·keyword·"friend"·turns·this·into·a·global·function·that·is·a·friend·of 
81 Foo. 
Max diff block lines reached; 116/6739 bytes (1.72%) of diff not shown.
387 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:·hash.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, 283 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">hash.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="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_HASH_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_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_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="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">#if·HAVE_MPI</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="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00386.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;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>
 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;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>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</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>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>
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>
 91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00341.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="a00065.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="a00074.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="a00035.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="a00326.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="a00332.html">dune/common/stdstreams.hh</a>&gt;</span></div>
85 <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>
86 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#ifdef·DOXYGEN</span></div> 
87 <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>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>
89 <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> 
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>101 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</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>102 <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="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>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>
98 <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">···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>
99 <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>
100 <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>
101 <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>
102 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</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>
103 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</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>
104 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>114 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
105 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a00038.html#a19447db8894b6d86b6b7ef0218694820">··100</a></span><span·class="preprocessor">#define·DUNE_DEFINE_HASH(template_args,type)</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>
 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>
106 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</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>
107 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</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>
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="a00038.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> 
111 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>149 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>
112 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="a00038.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">··117</a></span><span·class="preprocessor">#define·DUNE_HASH_TYPE(...)</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>()[·...·truncated·by·diffoscope;·len:·36,·SHA:·4b2684049ba0fdaef545d5167e6f7f33b3368cb0d30f601e7aeab9da6d676e19·...·]</div>
113 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div>151 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</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>152 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>····<a·class="code·hl_function"·href="a02240.html#aacc30da4e4e606b7dfc63679d2adb604">RemoteIndex</a>();</div>
115 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div>153 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div>
116 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div>154 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div>
 155 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>····<a·class="code·hl_function"·href="a02240.html#aacc30da4e4e606b7dfc63679d2adb604">RemoteIndex</a>(<span·class="keyword">const</span>·T2&amp;·<a·class="code·hl_function"·href="a02240.html#a0d98b1e5d3412d5c898482870dd21479">attribute</a>,</div>
Max diff block lines reached; 300930/325402 bytes (92.48%) of diff not shown.
68.8 KB
html2text {}
    
Offset 4, 332 lines modifiedOffset 4, 1930 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 hash.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_COMMON_HASH_HH 
15 ·6#define·DUNE_COMMON_HASH_HH15 ·5#ifndef·DUNE_REMOTEINDICES_HH
 16 ·6#define·DUNE_REMOTEINDICES_HH
16 ·717 ·7
17 ·8#include·<functional>18 ·8#if·HAVE_MPI
18 ·919 ·9
 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>
19 ·10#include·<dune/common/typetraits.hh>36 ·26#include·<dune/common/stdstreams.hh>
20 ·11 
21 ·24/ 
22 / 
23 ******************************************************************************** 
24 ·25//·Doxygen·documentation 
25 ·26/ 
26 / 
27 ******************************************************************************** 
28 ·2737 ·27
29 ·28#ifdef·DOXYGEN 
30 ·29 
31 ·30namespace·Dune·{38 ·28namespace·Dune·{
 39 ·40·template<typename·TG,·typename·TA>
 40 41·class·MPITraits<IndexPair<TG,ParallelLocalIndex<TA>·>·>
32 ·31 
33 ·33 
34 ·38·template<typename·T> 
35 39·struct·hash 
36 ·40·{41 ·42·{
 42 ·43·public:
 43 ·44·inline·static·MPI_Datatype·getType();
 44 ·45·private:
 45 ·46·static·MPI_Datatype·type;
37 ·41 
38 43·std::size_t·operator()(const·T&·t)·const 
39 ·44·{ 
40 ·45·return·hash(t); 
41 ·46·} 
42 ·47 
43 ·48·};46 ·47·};
 47 ·48
44 ·4948 ·49
45 ·50} 
46 ·51 
47 ·53 
48 100#define·DUNE_DEFINE_HASH(template_args,type)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;
49 ·10185 ·100
 86 ·104·typedef·IndexPair<GlobalIndex,ParallelLocalIndex<Attribute>·>
 87 105·PairType;
50 ·10288 ·106
 89 ·111·const·Attribute·attribute()·const;
51 ·104 
52 109#define·DUNE_HASH_TEMPLATE_ARGS(...) 
53 ·110 
54 ·11290 ·112
55 117#define·DUNE_HASH_TYPE(...)91 ·118·const·PairType&·localIndexPair()·const;
56 ·11892 ·119
57 ·119#else·//·DOXYGEN·-·hide·all·the·ugly·implementation93 ·123·RemoteIndex();
58 ·12094 ·124
59 ·121 
60 ·122 
61 ·123/ 
62 / 
63 ******************************************************************************** 
Max diff block lines reached; 66745/70426 bytes (94.77%) of diff not shown.
13.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a00041.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:·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, 65 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>··</ul>64 <li·class="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">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>
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>Helpers·for·dealing·with·MPI.··
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="a00182_source.html">dune/common/iteratorfacades.hh</a>&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>
 77 <code>#include·&lt;mpi.h&gt;</code><br·/>
77 <code>#include·&lt;cassert&gt;</code><br·/>78 <code>#include·&lt;mutex&gt;</code><br·/>
 79 <code>#include·&lt;<a·class="el"·href="a00071_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00332_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/>
 82 <code>#include·&lt;<a·class="el"·href="a00377_source.html">dune/common/visibility.hh</a>&gt;</code><br·/>
78 </div>83 </div>
79 <p><a·href="a00041_source.html">Go·to·the·source·code·of·this·file.</a></p>84 <p><a·href="a00041_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>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
82 Classes</h2></td></tr>87 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>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>
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>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>
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 <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>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>
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>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>
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>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 </table><table·class="memberdecls">94 </table><table·class="memberdecls">
105 <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>
106 Namespaces</h2></td></tr>96 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>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>
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>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>
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table>100 </table>
111 <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>
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>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="a00077.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="aa00077_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00077.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>
114 </div></div><!--·contents·-->121 </div></div><!--·contents·-->
115 <!--·start·footer·part·-->122 <!--·start·footer·part·-->
116 <hr·class="footer"/><address·class="footer"><small>123 <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.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
118 </small></address>125 </small></address>
119 </body>126 </body>
120 </html>127 </html>
3.0 KB
html2text {}
    
Offset 4, 48 lines modifiedOffset 4, 64 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 mpihelper.hh·File·Reference
 10 Common·»·Parallel_Communication
 11 Helpers·for·dealing·with·MPI.·More...
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>12 #include·<cassert>
 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>
13 Go_to_the_source_code_of_this_file.19 Go_to_the_source_code_of_this_file.
14 ·Classes20 ·Classes
15 struct· Dune::const_reference<_R_> 
16  ·······Get·the·'const'·version·of·a·reference·to·a·mutable·object.·More...21 class· Dune::FakeMPIHelper
 22  ······A·fake·mpi·helper.·More...
17  23  
 24 class· Dune::MPIHelper
 25  ······A·real·mpi·helper.·More...
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  26  
37 ·Namespaces27 ·Namespaces
38 namespace· Dune28 namespace· Dune
39  ··········Dune·namespace.29  ··········Dune·namespace.
40  30  
41 *****·Detailed·Description·*****31 *****·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.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!)
  
45 ===============================================================================61 ===============================================================================
46 ·····Generated·by [doxygen]·1.9.462 ·····Generated·by [doxygen]·1.9.4
92.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a00041_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:·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, 199 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>··</ul>64 <li·class="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">mpihelper.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
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>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_GENERICITERATOR_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_GENERICITERATOR_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">#include·&lt;<a·class="code"·href="a00182.html">dune/common/iteratorfacades.hh</a>&gt;</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>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;mpi.h&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">#endif</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>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="a00071.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="a00083.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="a00332.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="a00377.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>
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>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>
 93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</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>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="l00087"·name="l00087"></a><span·class="lineno">···87</span>··{</div>95 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</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#a1e95[·...·truncated·by·diffoscope;·len:·39,·SHA:·b3f4f4fabaa487ecb733a99f58f15831f54f0125498fa9ca651fa33fecc23cab·...·]</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>
87 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</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>
88 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</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> 
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> 
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>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="a00377.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>
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>102 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</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[·...·truncated·by·diffoscope;·len:·44,·SHA:·5ad889b14cf00b69206caa3cc8eb15ddd79cffb675ae6c26c4289425dd8b0f07·...·];</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>
99 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··};</div>105 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····}</div>
100 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</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>
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>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>
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> 
105 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··};</div> 
106 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</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>
107 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·R&gt;</div> 
108 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno"><a·class="line"·href="a01812.html">··115</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01812.html">mutable_reference</a></div> 
109 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··{</div>112 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>
110 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="a01812.html#a5df1dcae36e710f8d5a337d6f5810f87">··117</a></span>····<span·class="keyword">typedef</span>·R·<a·class="code·hl_typedef"·href="a01812.html#a5df1dcae36e710f8d5a337d6f5810f87">type</a>;</div> 
111 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</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>
112 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div>116 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>····{</div>
113 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·R&gt;</div> 
114 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno"><a·class="line"·href="a01816.html">··121</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01812.html">mutable_reference</a>&lt;const·R&gt;</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#a021b715f26fb0098c3d7647b[·...·truncated·by·diffoscope;·len:·32,·SHA:·49fc07fbf6d9a82c6d6cd79b4ef17b6de0bc522bd9d3d0349385f531ac3feac8·...·];</div>
 118 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>····}</div>
115 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··{</div>119 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div>
116 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno"><a·class="line"·href="a01816.html#a2d78ceb0438d32d19da9c495cb60264a">··123</a></span>····<span·class="keyword">typedef</span>·R·<a·class="code·hl_typedef"·href="a01816.html#a2d78ceb0438d32d19da9c495cb60264a">type</a>;</div> 
117 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</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>
118 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div>122 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>····{</div>
119 <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>·R&gt;</div> 
120 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno"><a·class="line"·href="a01820.html">··127</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01812.html">mutable_reference</a>&lt;R&amp;&gt;</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#a021b715f26fb0098c3d7647b[·...·truncated·by·diffoscope;·len:·32,·SHA:·49fc07fbf6d9a82c6d6cd79b4ef17b6de0bc522bd9d3d0349385f531ac3feac8·...·];</div>
 124 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>····}</div>
121 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</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="a00377.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>
122 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno"><a·class="line"·href="a01820.html#a91ae2e13ffe6fbfd651336e97562360a">··129</a></span>····<span·class="keyword">typedef</span>·R&amp;·<a·class="code·hl_typedef"·href="a01820.html#a91ae2e13ffe6fbfd651336e97562360a">type</a>;</div> 
123 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>··};</div> 
124 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div> 
125 <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>·R&gt;</div> 
126 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno"><a·class="line"·href="a01824.html">··133</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01812.html">mutable_reference</a>&lt;const·R&amp;&gt;</div> 
127 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··{</div>128 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>····{</div>
128 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno"><a·class="line"·href="a01828.html#ab79cf01f9294cdafe29956df62a588f5">··135</a></span>····<span·class="keyword">typedef</span>·R&amp;·type;</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="a00377.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>
Max diff block lines reached; 44343/78683 bytes (56.36%) of diff not shown.
15.7 KB
html2text {}
    
Offset 4, 269 lines modifiedOffset 4, 316 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 genericiterator.hh7 ····*·parallel
 8 mpihelper.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_HH 
15 ·6#define·DUNE_GENERICITERATOR_HH15 ·5#ifndef·DUNE_MPIHELPER
 16 ·6#define·DUNE_MPIHELPER
16 ·717 ·7
17 ·8#include·<dune/common/iteratorfacades.hh>18 ·8#if·HAVE_MPI
18 ·9#include·<cassert>19 ·9#include·<cassert>
19 ·10 
20 ·11namespace·Dune·{20 ·10#include·<mpi.h>
 21 ·11#endif
21 ·1222 ·12
22 ·85·template<class·R> 
23 86·struct·const_reference23 ·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
 32 ·22namespace·Dune
 33 ·23{
 34 73·class·FakeMPIHelper
24 ·87·{35 ·74·{
25 88·typedef·const·R·type; 
26 ·89·}; 
27 ·90 
28 ·91·template<class·R> 
29 92·struct·const_reference<const·R>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·()
30 ·93·{42 ·94·{
 43 ·95·static·MPICommunicator·comm;
 44 ·96·return·comm;
 45 ·97·}
 46 ·98
 47 105·static·MPICommunicator·getLocalCommunicator·()
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·{48 ·106·{
 49 ·107·return·getCommunicator();
43 106·typedef·const·R&·type; 
44 ·107·}; 
45 ·10850 ·108·}
46 ·114·template<class·R> 
47 115·struct·mutable_reference51 ·109
 52 ·110
 53 ·111
 54 ·117·[[deprecated("getCollectionCommunication·is·deprecated.·Use
 55 getCommunication·instead.")]]
 56 118·static·Communication<MPICommunicator>·getCollectiveCommunication()
48 ·116·{57 ·119·{
49 117·typedef·R·type;58 ·120·return·Communication<MPICommunicator>(getCommunicator());
50 ·118·};59 ·121·}
51 ·119 
52 ·120·template<class·R> 
53 121·struct·mutable_reference<const·R>60 ·122
 61 ·123·static·Communication<MPICommunicator>
 62 124·getCommunication()
54 ·122·{63 ·125·{
55 123·typedef·R·type;64 ·126·return·Communication<MPICommunicator>(getCommunicator());
56 ·124·};65 ·127·}
57 ·125 
58 ·126·template<class·R> 
59 127·struct·mutable_reference<R&> 
60 ·128·{66 ·128
 67 144·DUNE_EXPORT·static·FakeMPIHelper&·instance([[maybe_unused]]·int·argc,
 68 ·145·[[maybe_unused]]·char**·argv)
61 129·typedef·R&·type; 
62 ·130·}; 
63 ·131 
64 ·132·template<class·R> 
65 133·struct·mutable_reference<const·R&> 
66 ·134·{69 ·146·{
67 135·typedef·R&·type;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);
68 ·136·};86 ·169·};
69 ·13787 ·170
 88 ·171#if·HAVE_MPI
 89 178·class·MPIHelper
 90 ·179·{
70 ·149·template<class·C,·class·T,·class·R=T&,·class·D·=·std::ptrdiff_t, 
71 ·150·template<class,class,class,class>·class 
72 IteratorFacade=RandomAccessIteratorFacade> 
73 151·class·GenericIterator·: 
74 ·152·public·IteratorFacade<GenericIterator<C,T,R,D,IteratorFacade>,T,R,D> 
Max diff block lines reached; 11090/16086 bytes (68.94%) of diff not shown.
11.2 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:·enumset.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, 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">mpicollectivecommunication.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="a00083_source.html">dune/common/parallel/mpicommunication.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="a00044_source.html">Go·to·the·source·code·of·this·file.</a></p>73 <p><a·href="a00044_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>
2.0 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 mpicollectivecommunication.hh·File·Reference
 9 #include·<dune/common/parallel/mpicommunication.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/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:·enumset.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, 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">mpicollectivecommunication.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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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> 
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/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="a00083.html">dune/common/parallel/mpicommunication.hh</a>&gt;</span></div>
 76 <div·class="ttc"·id="aa00083_html"><div·class="ttname"><a·href="a00083.html">mpicommunication.hh</a></div><div·class="ttdoc">Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.</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/32202 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 mpicollectivecommunication.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 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.
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/5707 bytes (2.03%) of diff not shown.
8.18 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:·overloadset.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, 47 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="#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">overloadset.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;utility&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="a00083_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code><br·/>
76 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>79 <code>#include·&lt;<a·class="el"·href="a00080_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code><br·/>
77 </div>80 </div>
78 <p><a·href="a00047_source.html">Go·to·the·source·code·of·this·file.</a></p>81 <p><a·href="a00047_source.html">Go·to·the·source·code·of·this·file.</a></p>
79 <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">
80 <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>
81 Namespaces</h2></td></tr>91 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>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>
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>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>
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"> 
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:gae007ebc02578de3fe994b28e4378fd80"><td·class="memTemplParams"·colspan="2">template&lt;class...·F&gt;·</td></tr> 
89 <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> 
90 <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> 
91 <tr·class="separator:gae007ebc02578de3fe994b28e4378fd80"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
92 <tr·class="memitem:ga85390a9ae268b1ed2be79b8637e8becd"><td·class="memTemplParams"·colspan="2">template&lt;class...·F&gt;·</td></tr> 
93 <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> 
94 <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> 
95 <tr·class="separator:ga85390a9ae268b1ed2be79b8637e8becd"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
96 </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>
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>
1.33 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 Namespaces·|·Functions 
8 overloadset.hh·File·Reference 
9 #include·<utility> 
10 #include·<type_traits>7 ····*·parallel
 8 Classes·|·Namespaces
 9 mpipack.hh·File·Reference
 10 Common·»·Parallel_Communication
 11 See·MPI_Pack.·More...
 12 #include·<vector>
 13 #include·<mpi.h>
 14 #include·<dune/common/parallel/mpicommunication.hh>
11 #include·<dune/common/typetraits.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 ·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 ===============================================================================34 ===============================================================================
27 ·····Generated·by [doxygen]·1.9.435 ·····Generated·by [doxygen]·1.9.4
74.6 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:·overloadset.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, 139 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>··</ul>64 <li·class="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">overloadset.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="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">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</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">//·-*-·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="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment"></span><span·class="preprocessor">#ifndef·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_COMMON_OVERLOADSET_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>
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> 
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="a00386.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> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</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> 
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>77 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</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>
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>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="a00083.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="a00080.html">dune/common/parallel/mpidata.hh</a>&gt;</span></div>
97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>83 <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>····<span·class="keyword">using·</span>F::operator()...;</div> 
99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>84 <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>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>
101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>86 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</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>
102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>}·<span·class="comment">//·end·namespace·Impl</span></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>
103 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</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>
 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>
104 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</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>
105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>106 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</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="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&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[·...·truncated·by·diffoscope;·len:·19,·SHA:·071be384206864650301b693c5865d0589049ee91b911c8bc09efed8430c1906·...·]</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<[·...·truncated·by·diffoscope;·len:·52,·SHA:·d27600aa099587e11dc0db2a5114de33926f027abe3618c68ee451d027145529·...·]</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>
108 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>{</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>
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="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,·_[·...·truncated·by·diffoscope;·len:·15,·SHA:·ea28159f33ca337baae9a0636bc8934bdefd8994457ad9c00fe82135c4d1d46e·...·]</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>
111 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>119 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·················&amp;_position,·_comm);</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>120 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······}</div>
114 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">namespace·</span>Impl·{</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>
115 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>123 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>···············&amp;_position,·_comm);</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>124 <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>125 <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> 
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="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> 
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>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>
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>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#a9397dc[·...·truncated·by·diffoscope;·len:·50,·SHA:·1948ba030e3e8c6a6e71dcac7e96d1c91f9f52c6eeed790c8eb99237bd02a651·...·])</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>
132 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····{</div>129 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</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>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>134 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····}</div>
Max diff block lines reached; 41164/64092 bytes (64.23%) of diff not shown.
11.9 KB
html2text {}
    
Offset 4, 144 lines modifiedOffset 4, 325 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 overloadset.hh7 ····*·parallel
 8 mpipack.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 ·20#ifndef·DUNE_COMMON_PARALLEL_MPIPACK_HH
 16 ·21#define·DUNE_COMMON_PARALLEL_MPIPACK_HH
14 ·5#ifndef·DUNE_COMMON_OVERLOADSET_HH 
15 ·6#define·DUNE_COMMON_OVERLOADSET_HH 
16 ·7 
17 ·8#include·<utility> 
18 ·9#include·<type_traits> 
19 ·10#include·<dune/common/typetraits.hh> 
20 ·11 
21 ·12namespace·Dune·{ 
22 ·13 
23 ·14namespace·Impl·{ 
24 ·15 
25 ·16·template<typename...·F> 
26 ·17·class·OverloadSet 
27 ·18·:·public·F... 
28 ·19·{ 
29 ·20 
30 ·21·public: 
31 ·2217 ·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()...;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>
 23 ·28
38 ·2924 ·29
39 ·30·};25 ·30namespace·Dune·{
40 ·3126 ·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>;
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} 
50 ·65 
51 ·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: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·}
 63 ·71·MPI_Pack(mpidata.ptr(),·mpidata.size(),
 64 ·72·mpidata.type(),·_buffer.data(),·_buffer.size(),
 65 ·73·&_position,·_comm);
 66 ·74·}
60 ·7567 ·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. 
69 ·83·template<class...·Args,68 ·80·template<class·T>
70 ·84·std::enable_if_t<IsCallable<F0(Args&&...)>::value,·int>·=·0> 
71 ·85·decltype(auto)·operator()(Args&&...·args)69 81·auto·/*void*/·unpack(T&·data)
 70 ·82·->·std::enable_if_t<decltype(getMPIData(data))::static_size,·void>
72 ·86·{71 ·83·{
73 ·87·return·F0::operator()(std::forward<Args>(args)...);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);
74 ·88·}76 ·88·}
75 ·8977 ·89
Max diff block lines reached; 6051/12164 bytes (49.75%) of diff not shown.
18.6 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:·stdstreams.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, 89 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="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>··</div>
70 <a·href="#define-members">Macros</a>·&#124; 
71 <a·href="#typedef-members">Typedefs</a>·&#124; 
72 <a·href="#var-members">Variables</a>··</div> 
73 ··<div·class="headertitle"><div·class="title">stdstreams.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">future.hh·File·Reference</div></div>
74 </div><!--header-->72 </div><!--header-->
75 <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="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
  
76 <p>Standard·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·debug·streams.·· 
77 <a·href="#details">More...</a></p> 
78 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00377_source.html">debugstream.hh</a>&quot;</code><br·/> 
79 </div>76 </div>
80 <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>
81 <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>
 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">
82 <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>
83 Namespaces</h2></td></tr>94 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>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="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>
86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <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="define-members"·name="define-members"></a> 
89 Macros</h2></td></tr> 
90 <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> 
91 <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> 
92 <tr·class="separator:ga3a5303f96d33ae7299d9acd71b736998"><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="typedef-members"·name="typedef-members"></a> 
95 Typedefs</h2></td></tr> 
96 <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> 
97 <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> 
98 <tr·class="separator:ga08d48df3a7a0e3bd9c0425aba8004488"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
99 <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> 
100 <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> 
101 <tr·class="separator:ga65d14f278ea400db87ffb6a4bc7ed7b2"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 <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> 
103 <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> 
104 <tr·class="separator:gab41f4590c73d6408c89475e28bf18a8e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
105 <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> 
106 <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> 
107 <tr·class="separator:ga20379ab9c4472509d420e98659683fe6"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
108 <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> 
109 <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> 
110 <tr·class="separator:ga70e0eedd6c7f613d6e9608fabb4d240d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 <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> 
112 <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> 
113 <tr·class="separator:ga768c0b513889d713fd0017ef7ae35056"><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="var-members"·name="var-members"></a> 
116 Variables</h2></td></tr> 
117 <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> 
118 <tr·class="separator:ga2c074d4df6d5fa8fbe8b4e9d44b35df0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
119 <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> 
120 <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> 
121 <tr·class="separator:ga490cf91178ed464c3eff5871b4b03c8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
122 <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> 
123 <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> 
124 <tr·class="separator:gabdcf3b4c1aefae00afd3ecaf84f755bb"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
125 <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> 
126 <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> 
127 <tr·class="separator:gaabd88387e7eb826323b9f7d3a53a283e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
128 <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> 
129 <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> 
130 <tr·class="separator:gaed2aba7a7e55b026716d5027406566a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
131 <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> 
132 <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> 
133 <tr·class="separator:ga4fc828eb9bb6c6b6143034b9211d2b72"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
134 </table>98 </table>
135 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
136 <div·class="textblock"><p·>Standard·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·debug·streams.·</p> 
137 <p·>The·standard·debug·streams·are·compiled·into·libdune·to·exist·globally.·This·file·declares·the·stream·types·and·the·global·debug·level.·</p> 
138 </div></div><!--·contents·-->99 </div><!--·contents·-->
139 <!--·start·footer·part·-->100 <!--·start·footer·part·-->
140 <hr·class="footer"/><address·class="footer"><small>101 <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.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
142 </small></address>103 </small></address>
143 </body>104 </body>
144 </html>105 </html>
3.65 KB
html2text {}
    
Offset 4, 78 lines modifiedOffset 4, 35 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Namespaces·|·Macros·|·Typedefs·|·Variables7 ····*·parallel
 8 Classes·|·Namespaces
8 stdstreams.hh·File·Reference9 future.hh·File·Reference
9 Standard·Dune·debug·streams.·More... 
10 #include·"debugstream.hh"10 #include·<memory>
 11 #include·<dune/common/exceptions.hh>
11 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
12 ·Namespaces 
13 namespace· Dune 
14  ··········Dune·namespace.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...
15  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...
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  22  
 23 class· Dune::PseudoFuture<_T_>
 24  ······A·wrapper-class·for·a·object·which·is·ready·immediately.·More...
43 ·typedef·DebugStream<·GRAVE_DEBUG_LEVEL, 
44 ··················MINIMAL_DEBUG_LEVEL·> Dune::DGraveType 
45  ·······································Type·of·debug·stream·for·fatal·errors. 
46 ·········································More... 
47  25  
 26 class· Dune::PseudoFuture<_void_>
48 ···············typedef·DebugStream<·1·> Dune::DErrType 
49  ·······································The·type·of·the·stream·used·for·error 
50 ·········································messages.·More... 
51  27  
 28 ·Namespaces
 29 namespace· Dune
 30  ··········Dune·namespace.
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  31  
71 *****·Detailed·Description·***** 
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 ===============================================================================32 ===============================================================================
76 ·····Generated·by [doxygen]·1.9.433 ·····Generated·by [doxygen]·1.9.4
64.5 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:·stdstreams.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, 98 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">stdstreams.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="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><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="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STDSTREAMS_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="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#define·DUNE_COMMON_STDSTREAMS_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="a00341.html">dune/common/exceptions.hh</a>&gt;</span></div>
78 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</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="a00377.html">debugstream.hh</a>&quot;</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="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>
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="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>
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>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>
82 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</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>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>
85 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="preprocessor">#endif</span></div>94 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">public</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#ga7b78ef5[·...·truncated·by·diffoscope;·len:·257,·SHA:·4e56ac632abde13c8e10bcc6e005c599b910c3af6d185953fc1e91eb4714dcc4·...·]>;</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>
87 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>100 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</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>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>
 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>
 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>
 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>
 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>
89 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>139 <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,·MIN[·...·truncated·by·diffoscope;·len:·120,·SHA:·903edcb81b25c37eb1f438ad057be3c6747bc6a58c9b8c5fa661faf42abf2e03·...·];</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>
91 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>144 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</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:·61,·SHA:·62fbf54a08da8cdb96f5a8848bee35e25d991897cbcc18f968d93f3432299fe3·...·]>;</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">de[·...·truncated·by·diffoscope;·len:·11,·SHA:·cfcca596e81560e0903147906be8b3d72dac4ca5a68bc66ab332d212e03df7e2·...·]>;</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>
93 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>150 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</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:·153,·SHA:·440d3a1dd9436275fc5856b9658fd9fd10e08e0b30b3a9f6ecda47350daa54d8·...·]</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>
95 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>158 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</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_[·...·truncated·by·diffoscope;·len:·115,·SHA:·2e03102ee5b5f22fec589e5a650217051874aca2e3cc84845af69b672ec4911a·...·]</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[·...·truncated·by·diffoscope;·len:·43,·SHA:·33edaade801e6e1275cb6c4a3556771d1e0622db9599423b0aa997204d7d9d3d·...·]</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>
97 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>163 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</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>164 <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#ga7b78ef5[·...·truncated·by·diffoscope;·len:·149,·SHA:·6ec7e841f119860c082817dea321d3ca51a6e832db8ee45de6decf3f5cf57f32·...·]</div>165 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div>
Max diff block lines reached; 30858/55672 bytes (55.43%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
9.99 KB
html2text {}
    
Offset 4, 155 lines modifiedOffset 4, 262 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 stdstreams.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
 15 ·5#ifndef·DUNE_COMMON_PARALLEL_FUTURE_HH
 16 ·6#define·DUNE_COMMON_PARALLEL_FUTURE_HH
14 ·5 
15 ·15#ifndef·DUNE_COMMON_STDSTREAMS_HH 
16 ·16#define·DUNE_COMMON_STDSTREAMS_HH 
17 ·1717 ·7
18 ·18#include·"debugstream.hh"18 ·8#include·<memory>
 19 ·9#include·<dune/common/exceptions.hh>
 20 ·10
 21 ·11namespace·Dune{
 22 ·12
 23 17·class·InvalidFutureException·:·public·InvalidStateException
 24 ·18·{};
19 ·1925 ·19
20 ·20namespace·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; 
26 ·70 
27 75·static·const·DebugLevel·VERY_VERBOSE_DEBUG_LEVEL·=·1;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·{
 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
 59 ·56·{
 60 ·57·return·_future.ready();
 61 ·58·}
 62 ·59
 63 ·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·{}
28 ·7679 ·76
29 81·typedef·DebugStream<VERY_VERBOSE_DEBUG_LEVEL,_MINIMAL_DEBUG_LEVEL> 
30 DVVerbType; 
31 ·82 
32 95·extern·DVVerbType·dvverb; 
33 ·96 
34 101·static·const·DebugLevel·VERBOSE_DEBUG_LEVEL·=·2;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·}
35 ·102100 ·106
36 107·typedef·DebugStream<VERBOSE_DEBUG_LEVEL,_MINIMAL_DEBUG_LEVEL>·DVerbType;101 112·bool·valid()·const·{
 102 ·113·if(_future)
 103 ·114·return·_future->valid();
 104 ·115·return·false;
 105 ·116·}
 106 ·117·};
37 ·108107 ·118
38 116·extern·DVerbType·dverb; 
39 ·117 
40 122·static·const·DebugLevel·INFO_DEBUG_LEVEL·=·3; 
41 ·123 
Max diff block lines reached; 6921/10210 bytes (67.79%) of diff not shown.
10.7 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:·densematrix.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, 78 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="headertitle"><div·class="title">collectivecommunication.hh·File·Reference</div></div>
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">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-->69 </div><!--header-->
74 <div·class="contents">70 <div·class="contents">
  
75 <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 <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;type_traits&gt;</code><br·/> 
81 <code>#include·&lt;utility&gt;</code><br·/> 
82 <code>#include·&lt;vector&gt;</code><br·/> 
83 <code>#include·&lt;<a·class="el"·href="a00080_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/> 
84 <code>#include·&lt;<a·class="el"·href="a00026_source.html">dune/common/classname.hh</a>&gt;</code><br·/> 
85 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/fvector.hh</a>&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a00290_source.html">dune/common/math.hh</a>&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/precision.hh</a>&gt;</code><br·/>71 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00071_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/>
89 <code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/> 
90 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
91 <code>#include·&lt;<a·class="el"·href="a00056_source.html">dune/common/scalarvectorview.hh</a>&gt;</code><br·/> 
92 </div>72 </div>
93 <p><a·href="a00053_source.html">Go·to·the·source·code·of·this·file.</a></p>73 <p><a·href="a00053_source.html">Go·to·the·source·code·of·this·file.</a></p>
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="a01404.html">Dune::FieldTraits&lt;·DenseMatrix&lt;·M·&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="a01420.html">Dune::FMatrixError</a></td></tr> 
100 <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> 
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="a01400.html">Dune::DenseMatrix&lt;·MAT·&gt;</a></td></tr> 
103 <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> 
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: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> 
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
113 </table><table·class="memberdecls"> 
114 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
115 Functions</h2></td></tr> 
116 <tr·class="memitem:a4b9cee31bcd8d5a2d4caaa6073c7f7cb"><td·class="memTemplParams"·colspan="2">template&lt;typename·MAT·,·typename·V1·,·typename·V2·&gt;·</td></tr> 
117 <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> 
118 <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> 
119 <tr·class="separator:a4b9cee31bcd8d5a2d4caaa6073c7f7cb"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
120 <tr·class="memitem:gaaf67fddab3978a57f94f556513bc0d77"><td·class="memTemplParams"·colspan="2">template&lt;typename·MAT·&gt;·</td></tr> 
121 <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> 
122 <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> 
123 <tr·class="separator:gaaf67fddab3978a57f94f556513bc0d77"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
124 </table> 
125 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
126 <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> 
127 </div></div><!--·contents·-->74 </div><!--·contents·-->
128 <!--·start·footer·part·-->75 <!--·start·footer·part·-->
129 <hr·class="footer"/><address·class="footer"><small>76 <hr·class="footer"/><address·class="footer"><small>
130 Generated·by&#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
131 </small></address>78 </small></address>
132 </body>79 </body>
133 </html>80 </html>
1.96 KB
html2text {}
    
Offset 4, 59 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
7 Classes·|·Namespaces·|·Functions 
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... 
12 #include·<cmath> 
13 #include·<cstddef> 
14 #include·<iostream> 
15 #include·<type_traits> 
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>9 #include·<dune/common/parallel/communication.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.10 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   
37 ·Namespaces 
38 namespace· Dune 
39  ··········Dune·namespace. 
40   
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   
53 *****·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. 
  
56 ===============================================================================11 ===============================================================================
57 ·····Generated·by [doxygen]·1.9.412 ·····Generated·by [doxygen]·1.9.4
286 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:·densematrix.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, 1216 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">densematrix.hh</div></div>68 ··<div·class="headertitle"><div·class="title">collectivecommunication.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
Diff chunk too large, falling back to line-by-line diff (6 lines added, 1195 lines removed)
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">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</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">//·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="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="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">#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">#ifndef·DUNE_DENSEMATRIX_HH</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="a00071.html">dune/common/parallel/communication.hh</a>&gt;</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="ttc"·id="aa00071_html"><div·class="ttname"><a·href="a00071.html">communication.hh</a></div><div·class="ttdoc">Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.</div></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> 
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="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> 
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="a00080.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="a00026.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="a00143.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="a00206.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="a00290.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="a00215.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="a04442.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="a00386.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="a00056.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> 
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="keyword">template</span>&lt;<span·class="keyword">typename</span>·M&gt;·<span·class="keyword">class·</span>DenseMatrix;</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="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> 
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"><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> 
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> 
112 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</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> 
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> 
145 <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> 
147 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> 
148 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··}·<span·class="comment">//·namespace·Impl</span></div> 
149 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> 
150 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
151 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</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>·DenseMatrix,·<span·class="keyword">class</span>·RHS·&gt;</div> 
153 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<span·class="keyword">struct·</span>DenseMatrixAssigner</div> 
154 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····:·<span·class="keyword">public</span>·Impl::DenseMatrixAssigner&lt;·DenseMatrix,·RHS·&gt;</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>·</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>··<span·class="keyword">namespace·</span>Impl</div> 
159 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··{</div> 
160 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> 
161 <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>·DenseMatrix,·<span·class="keyword">class</span>·RHS·&gt;</div> 
162 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····std::true_type·hasDenseMatrixAssigner·(·DenseMatrix·&amp;,·<span·class="keyword">const</span>·RHS·&amp;,·<span·class="keyword">decltype</span>(·<a·class="code·hl_struct"·href="a01416.html">Dune::DenseMatrixAssigner&lt;·DenseMatrix,·RHS·&gt;::apply</a>(·std::declval&lt;·DenseMatrix·&amp;·&gt;(),·std::declval&lt;·const·RHS·&amp;·&gt;()·)·)·*·=·<span·class="keyword">nullptr</span>·);</div> 
163 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> 
164 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····std::false_type·hasDenseMatrixAssigner·(·...·);</div> 
165 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div> 
166 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··}·<span·class="comment">//·namespace·Impl</span></div> 
Max diff block lines reached; 271/244451 bytes (0.11%) of diff not shown.
47.1 KB
html2text {}
    
Offset 4, 1552 lines modifiedOffset 4, 23 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 densematrix.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
Diff chunk too large, falling back to line-by-line diff (8 lines added, 1536 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_DENSEMATRIX_HH13 ·3//·Will·be·removed·after·the·2.7·release
15 ·6#define·DUNE_DENSEMATRIX_HH14 ·4#warning·"Deprecated·header,·use·#include·<dune/common/parallel/
16 ·715 communication.hh>·instead!"
17 ·8#include·<cmath>16 ·5#include·<dune/common/parallel/communication.hh>
18 ·9#include·<cstddef>17 communication.hh
19 ·10#include·<iostream>18 Implements·an·utility·class·that·provides·collective·communication·methods·for
20 ·11#include·<type_traits>19 sequential·programs.
21 ·12#include·<utility> 
22 ·13#include·<vector> 
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> 
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 ·27 
37 ·28·template<typename·M>·class·DenseMatrix; 
38 ·29 
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·{ 
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·(·...·); 
112 ·113 
113 ·114·}·//·namespace·Impl 
114 ·115 
115 ·116·template<·class·DenseMatrix,·class·RHS·> 
116 ·117·struct·HasDenseMatrixAssigner 
117 ·118·:·public·decltype(·Impl::hasDenseMatrixAssigner(·std::declval<·DenseMatrix 
118 &·>(),·std::declval<·const·RHS·&·>()·)·) 
119 ·119·{}; 
120 ·120 
121 ·121#endif·//·#ifndef·DOXYGEN 
122 ·122 
123 ·123 
124 ·124 
Max diff block lines reached; 116/48167 bytes (0.24%) of diff not shown.
9.24 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:·scalarvectorview.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, 44 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>··</ul>64 <li·class="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">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 ··<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</a></div></div></div>
71 </div><!--header-->72 </div><!--header-->
72 <div·class="contents">73 <div·class="contents">
  
73 <p>Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.··74 <p>A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the·sender·side.··
74 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
75 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
76 <code>#include·&lt;type_traits&gt;</code><br·/>77 <code>#include·&lt;cassert&gt;</code><br·/>
77 <code>#include·&lt;istream&gt;</code><br·/>78 <code>#include·&lt;cstddef&gt;</code><br·/>
78 <code>#include·&lt;<a·class="el"·href="a00125_source.html">dune/common/densevector.hh</a>&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·/>
79 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>85 <code>#include·&lt;<a·class="el"·href="a00101_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·/>
80 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>87 <code>#include·&lt;<a·class="el"·href="a00074_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/>
81 <code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/matvectraits.hh</a>&gt;</code><br·/> 
82 </div>88 </div>
83 <p><a·href="a00056_source.html">Go·to·the·source·code·of·this·file.</a></p>89 <p><a·href="a00056_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <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">
85 <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>
86 Namespaces</h2></td></tr>100 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>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>
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>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>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <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>
 106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>107 </table>
91 <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>
92 <div·class="textblock"><p·>Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.·</p>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>
93 </div></div><!--·contents·-->125 </div><!--·contents·-->
94 <!--·start·footer·part·-->126 <!--·start·footer·part·-->
95 <hr·class="footer"/><address·class="footer"><small>127 <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.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
97 </small></address>129 </small></address>
98 </body>130 </body>
99 </html>131 </html>
1.86 KB
html2text {}
    
Offset 4, 28 lines modifiedOffset 4, 52 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
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...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>
11 #include·<cstddef>15 #include·<cstddef>
12 #include·<type_traits>16 #include·<functional>
13 #include·<istream>17 #include·<map>
14 #include·<dune/common/densevector.hh>18 #include·<memory>
 19 #include·<utility>
 20 #include·<vector>
 21 #include·<mpi.h>
15 #include·<dune/common/fvector.hh>22 #include·<dune/common/concept.hh>
 23 #include·<dune/common/parallel/interface.hh>
16 #include·<dune/common/typetraits.hh>24 #include·<dune/common/parallel/mpitraits.hh>
17 #include·<dune/common/matvectraits.hh> 
18 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  
19 ·Namespaces33 ·Namespaces
20 namespace· Dune34 namespace· Dune
21  ··········Dune·namespace.35  ··········Dune·namespace.
22  36  
 37 namespace· Dune::Concept
 38  ··········Namespace·for·concepts.
 39  
23 *****·Detailed·Description·*****40 *****·Detailed·Description·*****
24 Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.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.
  
25 ===============================================================================49 ===============================================================================
26 ·····Generated·by [doxygen]·1.9.450 ·····Generated·by [doxygen]·1.9.4
193 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:·scalarvectorview.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, 198 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>··</ul>64 <li·class="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">scalarvectorview.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="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>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>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_PARALLEL_VARIABLESIZECOMMUNICATOR_HH·</span><span·class="comment">//·Still·fits·the·line!</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_PARALLEL_VARIABLESIZECOMMUNICATOR_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">#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;type_traits&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;istream&gt;</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>
 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;functional&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>
 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>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</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="a00125.html">dune/common/densevector.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;mpi.h&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/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="a00386.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="a00032.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>91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</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>92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00101.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="a00074.html">dune/common/parallel/mpitraits.hh</a>&gt;</span></div>
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</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>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>
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>97 <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>····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="l00040"·name="l00040"></a><span·class="lineno">···40</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>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>
101 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>103 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</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>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>
103 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>106 <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"·h[·...·truncated·by·diffoscope;·len:·72,·SHA:·aec873820246ccd23edd310705cb53960ad69c0a7e33b3a802c06ef1cf83fa9f·...·]</div>107 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">namespace·</span>Impl·{</div>
105 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</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>
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>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>
107 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>114 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</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>115 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>}·<span·class="comment">//·namespace·Impl</span></div>
109 <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>
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>117 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">namespace</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>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>
116 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····ScalarVectorView·(K*·p)·:</div>120 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="keyword">class·</span>MessageBuffer</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>121 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</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>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>
121 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······Base(),</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>
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> 
124 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</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">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>
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> 
127 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······dataP_(·other.dataP_·)</div> 
128 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{}</div> 
129 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</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> 
131 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····{</div>128 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</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> 
136 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</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>
137 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>138 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
Max diff block lines reached; 129230/160836 bytes (80.35%) of diff not shown.
36.2 KB
html2text {}
    
Offset 4, 215 lines modifiedOffset 4, 1008 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 scalarvectorview.hh7 ····*·parallel
 8 variablesizecommunicator.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_SCALARVECTORVIEW_HH 
15 ·6#define·DUNE_COMMON_SCALARVECTORVIEW_HH15 ·5#ifndef·DUNE_COMMON_PARALLEL_VARIABLESIZECOMMUNICATOR_HH·//·Still·fits·the
 16 line!
 17 ·6#define·DUNE_COMMON_PARALLEL_VARIABLESIZECOMMUNICATOR_HH
16 ·718 ·7
 19 ·8#if·HAVE_MPI
 20 ·9
 21 ·10#include·<algorithm>
 22 ·11#include·<cassert>
17 ·8#include·<cstddef>23 ·12#include·<cstddef>
18 ·9#include·<type_traits> 
19 ·10#include·<istream> 
20 ·11 
21 ·12#include·<dune/common/densevector.hh>24 ·13#include·<functional>
 25 ·14#include·<map>
 26 ·15#include·<memory>
 27 ·16#include·<utility>
 28 ·17#include·<vector>
 29 ·18#include·<algorithm>
 30 ·19
 31 ·20#include·<mpi.h>
 32 ·21
22 ·13#include·<dune/common/fvector.hh>33 ·22#include·<dune/common/concept.hh>
 34 ·23#include·<dune/common/parallel/interface.hh>
23 ·14#include·<dune/common/typetraits.hh>35 ·24#include·<dune/common/parallel/mpitraits.hh>
 36 ·25
24 ·15#include·<dune/common/matvectraits.hh> 
25 ·16 
26 ·17namespace·Dune·{37 ·38namespace·Dune
 38 ·39{
 39 ·40
 40 ·41namespace·Concept·{
 41 ·42
 42 43struct·HasFixedSize·{
 43 44·template·<typename·H>·auto·require(H·&&h)·->·decltype(h.fixedSize());
27 ·18 
28 ·19namespace·Impl·{ 
29 ·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; 
39 ·44·public: 
40 ·4544 ·45};
41 ·47·constexpr·static·int·dimension·=·1;45 ·46
 46 ·47}·//·namespace·Concept
42 ·4847 ·48
 48 ·49namespace·Impl·{
 49 ·50
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·{} 
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) 
70 ·84·{ 
71 ·85·assert(dataP_); 
72 ·86·assert(other.dataP_); 
73 ·87·*dataP_·=·*(other.dataP_); 
74 ·88·return·*this; 
75 ·89·} 
76 ·90 
77 ·91·template<class·KK> 
78 ·92·ScalarVectorView&·operator=·(const·ScalarVectorView<KK>&·other) 
79 ·93·{ 
80 ·94·assert(dataP_); 
81 ·95·assert(other.dataP_); 
82 ·96·*dataP_·=·*(other.dataP_); 
83 ·97·return·*this; 
84 ·98·} 
85 ·99 
86 ·101·template<typename·T,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
87 ·102·std::enable_if_t<std::is_convertible<T,·K>::value,·int>·=·0> 
88 ·103·inline·ScalarVectorView&·operator=·(const·T&·k) 
89 ·104·{ 
90 ·105·*dataP_·=·k; 
91 ·106·return·*this; 
92 ·107·} 
93 ·108 
94 ·110·static·constexpr·size_type·size·() 
95 ·111·{ 
Max diff block lines reached; 31827/37014 bytes (85.99%) of diff not shown.
27.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:·float_cmp.cc·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, 123 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">float_cmp.cc·File·Reference</div></div> 
73 </div><!--header-->72 </div><!--header-->
74 <div·class="contents">73 <div·class="contents">
  
 74 <p>Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.··
 75 <a·href="#details">More...</a></p>
75 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00374_source.html">float_cmp.hh</a>&quot;</code><br·/>76 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00041_source.html">mpihelper.hh</a>&quot;</code><br·/>
 77 <code>#include·&quot;<a·class="el"·href="a00071_source.html">communication.hh</a>&quot;</code><br·/>
 78 <code>#include·&quot;<a·class="el"·href="a00083_source.html">mpicommunication.hh</a>&quot;</code><br·/>
76 <code>#include·&lt;vector&gt;</code><br·/> 
77 <code>#include·&lt;limits&gt;</code><br·/> 
78 <code>#include·&lt;algorithm&gt;</code><br·/> 
79 <code>#include·&lt;cstdlib&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>79 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 80 </div>
 81 <p><a·href="a00059_source.html">Go·to·the·source·code·of·this·file.</a></p>
81 </div><table·class="memberdecls">82 <table·class="memberdecls">
82 <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>
83 Classes</h2></td></tr>84 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="a01588.html">Dune::FloatCmp::EpsilonType&lt;·T·&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>
 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">Mapping·of·value·type·to·epsilon·type.··<a·href="a01588.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="a01592.html">Dune::FloatCmp::EpsilonType&lt;·std::vector&lt;·T,·A·&gt;·&gt;</a></td></tr> 
88 <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> 
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="a01596.html">Dune::FloatCmp::EpsilonType&lt;·FieldVector&lt;·T,·n·&gt;·&gt;</a></td></tr> 
91 <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> 
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <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="a01600.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·relativeWeak·&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>
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="a01604.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·relativeStrong·&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="a01608.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·absolute·&gt;</a></td></tr> 
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 </table><table·class="memberdecls">91 </table><table·class="memberdecls">
100 <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>
101 Namespaces</h2></td></tr>93 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>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>
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>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>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 <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> 
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:ga50c93e693f102298c61ecb14758f8d5b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr> 
111 <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> 
112 <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> 
113 <tr·class="separator:ga50c93e693f102298c61ecb14758f8d5b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 <tr·class="memitem:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr> 
115 <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> 
116 <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> 
117 <tr·class="separator:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
118 <tr·class="memitem:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr> 
119 <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> 
120 <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> 
121 <tr·class="separator:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
122 <tr·class="memitem:gacca725b16b35b04c4eea0c4ee21757de"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr> 
123 <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> 
124 <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> 
125 <tr·class="separator:gacca725b16b35b04c4eea0c4ee21757de"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
126 <tr·class="memitem:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr> 
127 <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> 
128 <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> 
129 <tr·class="separator:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
130 <tr·class="memitem:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr> 
131 <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> 
132 <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> 
133 <tr·class="separator:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
134 <tr·class="memitem:a20989b2c0619b31d8a15c85aae184d32"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
135 <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> 
136 <tr·class="separator:a20989b2c0619b31d8a15c85aae184d32"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
137 <tr·class="memitem:af10cd25d78f35677c8d588e924792cff"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
138 <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> 
139 <tr·class="separator:af10cd25d78f35677c8d588e924792cff"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
140 <tr·class="memitem:a15ac4ddae1d906c2ea6c6aa0e16c0e41"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
141 <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> 
142 <tr·class="separator:a15ac4ddae1d906c2ea6c6aa0e16c0e41"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
143 <tr·class="memitem:ac752c032096de736aa97b2c6cbcd5190"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
144 <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> 
145 <tr·class="separator:ac752c032096de736aa97b2c6cbcd5190"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
146 <tr·class="memitem:a9c439fbc2fe166ff75f97f69fb5aee9d"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
147 <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> 
148 <tr·class="separator:a9c439fbc2fe166ff75f97f69fb5aee9d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
149 <tr·class="memitem:a28bc28618b41c234fb9c83284c6a9d52"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
150 <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> 
151 <tr·class="separator:a28bc28618b41c234fb9c83284c6a9d52"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
152 <tr·class="memitem:ga510d97be4644ccab5db0b674d79633c6"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle&gt;·</td></tr> 
153 <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> 
154 <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> 
155 <tr·class="separator:ga510d97be4644ccab5db0b674d79633c6"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
156 <tr·class="memitem:aa1c6178f9e297570109a68b93e95a3ef"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·CmpStyle·cstyle&gt;·</td></tr> 
157 <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> 
Max diff block lines reached; 587/22485 bytes (2.61%) of diff not shown.
5.32 KB
html2text {}
    
Offset 4, 127 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 float_cmp.cc·File·Reference 
9 #include·"float_cmp.hh" 
10 #include·<vector> 
11 #include·<limits> 
12 #include·<algorithm> 
13 #include·<cstdlib>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"
14 #include·<dune/common/fvector.hh>15 #include·<dune/common/exceptions.hh>
 16 Go_to_the_source_code_of_this_file.
15 ·Classes17 ·Classes
16 struct· Dune::FloatCmp::EpsilonType<_T_> 
17  ·······Mapping·of·value·type·to·epsilon·type.·More...18 class· Dune::MPIGuardError
 19  ······This·exception·is·thrown·if·the·MPIGuard·detects·an·error·on·a·remote
 20 ········process.·More...
18  21  
 22 class· Dune::MPIGuard
 23  ······detects·a·thrown·exception·and·communicates·to·all·other·processes
 24 ········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  25  
31 ·Namespaces26 ·Namespaces
32 namespace· Dune27 namespace· Dune
33  ··········Dune·namespace.28  ··········Dune·namespace.
34  29  
 30 *****·Detailed·Description·*****
 31 Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.
 32 ··Author
 33 ······Christian·Engwer
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   
Max diff block lines reached; 116/5426 bytes (2.14%) of diff not shown.
9.54 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:·arraylist.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, 56 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">arraylist.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>Implements·a·random-access·container·that·can·efficiently·change·size·(similar·to·std::deque)··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·&quot;<a·class="el"·href="a00065_source.html">indexset.hh</a>&quot;</code><br·/>
76 <div·class="textblock"><code>#include·&lt;array&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="a00182_source.html">iteratorfacades.hh</a>&quot;</code><br·/>77 <code>#include·&lt;<a·class="el"·href="a00011_source.html">dune/common/iteratorfacades.hh</a>&gt;</code><br·/>
81 </div>78 </div>
82 <p><a·href="a00062_source.html">Go·to·the·source·code·of·this·file.</a></p>79 <p><a·href="a00062_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">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>
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="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>
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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01276.html">Dune::ArrayListIterator&lt;·T,·N,·A·&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="a02268.html">Dune::UncachedSelection&lt;·TS,·TG,·TL,·N·&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>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>
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="a02272.html">Dune::Selection&lt;·TS,·TG,·TL,·N·&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">A·cached·selection·of·indices.··<a·href="a02272.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>
101 </table>98 </table>
102 <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>
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>Aut[·...·truncated·by·diffoscope;·len:·34,·SHA:·83a68c36c64f88d13c9f4be48f74e6bfc062453a6bd6c51008393b3ca7b66487·...·]>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>
105 </div></div><!--·contents·-->102 </div></div><!--·contents·-->
106 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
107 <hr·class="footer"/><address·class="footer"><small>104 <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.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
109 </small></address>106 </small></address>
110 </body>107 </body>
111 </html>108 </html>
1.89 KB
html2text {}
    
Offset 4, 43 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
 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"
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"13 #include·<dune/common/iteratorfacades.hh>
16 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
17 ·Classes15 ·Classes
18 class· Dune::ArrayList<_T,_N,_A_> 
19  ······A·dynamically·growing·random·access·list.·More...16 class· Dune::SelectionIterator<_TS,_TG,_TL,_N_>
 17  ······A·const·iterator·over·an·uncached·selection.·More...
20  18  
21 class· Dune::ArrayListIterator<_T,_N,_A_> 
22  ······A·random·access·iterator·for·the·Dune::ArrayList·class.·More...19 class· Dune::UncachedSelection<_TS,_TG,_TL,_N_>
 20  ······An·uncached·selection·of·indices.·More...
23  21  
 22 class· Dune::Selection<_TS,_TG,_TL,_N_>
 23  ······A·cached·selection·of·indices.·More...
24 class· Dune::ConstArrayListIterator<_T,_N,_A_> 
25  ······A·constant·random·access·iterator·for·the·Dune::ArrayList·class. 
26 ········More... 
27  24  
28 ·Namespaces25 ·Namespaces
29 namespace· Dune26 namespace· Dune
30  ··········Dune·namespace.27  ··········Dune·namespace.
31  28  
32 *****·Detailed·Description·*****29 *****·Detailed·Description·*****
 30 Provides·classes·for·selecting·indices·based·on·attribute·flags.
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 ··Author31 ··Author
39 ······Markus·Blatt32 ······Markus·Blatt
  
40 ===============================================================================33 ===============================================================================
41 ·····Generated·by [doxygen]·1.9.434 ·····Generated·by [doxygen]·1.9.4
184 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:·arraylist.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, 523 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">arraylist.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="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>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>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_SELECTION_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>
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> 
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><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> 
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><span·class="preprocessor">#include·&lt;vector&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="a00182.html">iteratorfacades.hh</a>&quot;</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="a00065.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="a00011.html">dune/common/iteratorfacades.hh</a>&gt;</span></div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</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>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>
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>{</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</span>·N&gt;</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>
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··<span·class="comment">//·forward·declaration</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,·<span·class="keywordtype">int</span>·N,·<span·class="keyword">class</span>·A&gt;</div> 
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··<span·class="keyword">class·</span>ArrayListIterator;</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> 
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> 
96 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··{</div>85 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··{</div>
97 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">public</span>:</div>86 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">public</span>:</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">Membe[·...·truncated·by·diffoscope;·len:·5,·SHA:·00288b1b5a267f66a2afcd6713e0eaeebd7adb1973510a32e0aa3af6a1df3f68·...·]</a>;</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">Attr[·...·truncated·by·diffoscope;·len:·8,·SHA:·c8ced8066d2b661defc496d6e516fc0f9b3b69b543fd2937eba26ec59cc2760b·...·]</a>;</div>
 88 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</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>·<a·class="code·hl_typedef"·href="a02264.html#a886346234b927463117431b844788c1b">ParallelIndexSet</a>;</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>
 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>
 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>
99 <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>
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>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[·...·truncated·by·diffoscope;·len:·15,·SHA:·d9306916362c0194f8fb7bee95e8095408b253803ef51f46106eaebccce4f8d0·...·]</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>
 114 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····}</div>
101 <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>
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>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">operat[·...·truncated·by·diffoscope;·len:·174,·SHA:·075f2c14a92c5df7a37be00a3b7a731026a7e81ace46203051bd86e5d53c8b17·...·]</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>
103 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>120 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</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#a[·...·truncated·by·diffoscope;·len:·54,·SHA:·8a49d92f49d5572974c7351d8d3b2e8eeb9536c21373d66e3f1dabdfee92c7d1·...·]</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">operat[·...·truncated·by·diffoscope;·len:·174,·SHA:·078d896ad0552a5e28dda6f901cfda792491dd1728f066c68c5cdcdd3441c4a9·...·]</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>
105 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>125 <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">point[·...·truncated·by·diffoscope;·len:·7,·SHA:·8788e848074d2ff216a5b3b4c1ac9e44e2b020f29e79ae7a7a348c2dd268a319·...·]</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>
107 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>130 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</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#a69712ac1ea2ca0283a0d8caa1837f5e7">const_pointer</a>;</div> 
109 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>131 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
110 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01284.html#a63856e2426fe76be943c092ae92913c6">··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:·105,·SHA:·fd10909eeaf9f9dbf5f26e994089050502e7814c9241157ca1c5dfcaab63282d·...·];</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</[·...·truncated·by·diffoscope;·len:·10,·SHA:·000eeb495ed5690b28919ed2f6abcbd5dc3af9cd908d4ad7d7a69b50ea6de223·...·];</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>
111 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</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>
112 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a01284.html#a8f9169b83b353074b46e370becef4131">··105</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01276.html">ArrayListIterator&lt;MemberType,N,A&gt;</a>·<a·class="code·hl_typedef"·href="a01284.html#a8f9169b83b353074b46e370becef4131">iterator</a>;</div> 
113 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> 
114 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01284.html#aef3f1c0384f4a7e64598dabbeed3eb1b">··110</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01280.html">ConstArrayListIterator&lt;MemberType,N,A&gt;</a>·<a·class="code·hl_typedef"·href="a01284.html#aef3f1c0384f4a7e64598dabbeed3eb1b">const_iterator</a>;</div> 
115 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</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>
116 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno"><a·class="line"·href="a01284.html#ac7115acf8023bbe985125ca3a3b11d6f">··115</a></span>····<span·class="keyword">typedef</span>·std::size_t·<a·class="code·hl_typedef"·href="a01284.html#ac7115acf8023bbe985125ca3a3b11d6f">size_type</a>;</div> 
117 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div> 
118 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="a01284.html#af93a828728d8c9b9755bc594c19cb871">··120</a></span>····<span·class="keyword">typedef</span>·std::ptrdiff_t·<a·class="code·hl_typedef"·href="a01284.html#af93a828728d8c9b9755bc594c19cb871">difference_type</a>;</div> 
119 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div>141 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div>
120 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga0453c1e8cf90d912f11c521784c917c9">··126</a></span>····<a·class="code·hl_class"·href="a01276.html">iterator</a>·<a·class="code·hl_function"·href="a00397.html#ga0453c1e8cf90d912f11[·...·truncated·by·diffoscope;·len:·26,·SHA:·b36ee73f3d06eb0ef50b3c41259c226b3a7ba026be3be1e3e1cb0463b29f1855·...·];</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,LocalI[·...·truncated·by·diffoscope;·len:·115,·SHA:·8e343ba5921f90bfe8b291c0b262e8bcc7a1f013fee2eb99191e7d59a76756f8·...·];</div>
121 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div>143 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>·</div>
122 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga62f554c219a3a4c77a72e7017ffd99a3">··133</a></span>····<a·class="code·hl_class"·href="a01280.html">const_iterator</a>·<a·class="code·hl_function"·href="a00397.html#ga62f554c219a3a[·...·truncated·by·diffoscope;·len:·66,·SHA:·3d753db32929c654a2f34bb8ed2bce44a42b7d9e33d32cd45f1338268ea194cd·...·]>;</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·c[·...·truncated·by·diffoscope;·len:·87,·SHA:·80f849b1b6452933505daf8b6f975a12cefded8e1f60a01faf0d8456a529e483·...·]>;</div>
Max diff block lines reached; 131688/157163 bytes (83.79%) of diff not shown.
30.3 KB
html2text {}
    
Offset 4, 700 lines modifiedOffset 4, 385 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 arraylist.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
 15 ·5#ifndef·DUNE_SELECTION_HH
 16 ·6#define·DUNE_SELECTION_HH
 17 ·7
 18 ·8#include·"indexset.hh"
 19 ·9#include·<dune/common/iteratorfacades.hh>
 20 ·10
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 ·14 
24 ·15namespace·Dune21 ·11namespace·Dune
25 ·16{22 ·12{
 23 ·27·template<typename·TS,·typename·TG,·typename·TL,·int·N>
 24 28·class·SelectionIterator
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; 
32 ·23 
33 ·60·template<class·T,·int·N=100,·class·A=std::allocator<T>·> 
34 61·class·ArrayList 
35 ·62·{25 ·29·{
36 ·63·public:26 ·30·public:
37 69·typedef·T·MemberType;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
38 ·7053 ·70
39 74·typedef·T·value_type;54 71·uint32_t·operator*()·const
 55 ·72·{
 56 ·73·return·iter_->local().local();
 57 ·74·}
40 ·7558 ·75
41 79·typedef·T&·reference;59 76·bool·operator==(const·SelectionIterator<TS,TG,TL,N>&·other)·const
 60 ·77·{
 61 ·78·return·iter_·==·other.iter_;
 62 ·79·}
42 ·8063 ·80
43 84·typedef·const·T&·const_reference;64 81·bool·operator!=(const·SelectionIterator<TS,TG,TL,N>&·other)·const
 65 ·82·{
 66 ·83·return·iter_·!=·other.iter_;
 67 ·84·}
44 ·8568 ·85
45 89·typedef·T*·pointer;69 ·86·private:
 70 ·87·ParallelIndexSetIterator·iter_;
 71 ·88·const·ParallelIndexSetIterator·end_;
 72 ·89·};
46 ·9073 ·90
47 94·typedef·const·T*·const_pointer; 
48 ·95 
49 100·constexpr·static·int·chunkSize_·=·(N·>·0)·?·N·:·1;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;
50 ·10180 ·108
 81 112·typedef·TG·GlobalIndex;
51 105·typedef·ArrayListIterator<MemberType,N,A>·iterator; 
52 ·106 
53 110·typedef·ConstArrayListIterator<MemberType,N,A>·const_iterator; 
54 ·11182 ·113
 83 120·typedef·TL·LocalIndex;
55 115·typedef·std::size_t·size_type; 
56 ·116 
57 120·typedef·std::ptrdiff_t·difference_type; 
58 ·12184 ·121
59 126·iterator·begin();85 125·typedef·Dune::ParallelIndexSet<GlobalIndex,LocalIndex,N>·ParallelIndexSet;
60 ·12786 ·126
61 133·const_iterator·begin()·const;87 130·typedef·SelectionIterator<TS,TG,TL,N>·iterator;
62 ·13488 ·131
63 139·iterator·end();89 135·typedef·iterator·const_iterator;
 90 ·136
 91 137·UncachedSelection()
 92 ·138·:·indexSet_()
 93 ·139·{}
64 ·14094 ·140
 95 141·UncachedSelection(const·ParallelIndexSet&·indexset)
 96 ·142·:·indexSet_(&indexset)
 97 ·143·{}
 98 ·148·void·setIndexSet(const·ParallelIndexSet&·indexset);
 99 ·149
Max diff block lines reached; 27076/31048 bytes (87.21%) of diff not shown.
33.4 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:·hybridutilities.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, 90 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="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>·&#124;
 71 <a·href="#enum-members">Enumerations</a>·&#124;
70 <a·href="#func-members">Functions</a>··</div>72 <a·href="#func-members">Functions</a>··</div>
71 ··<div·class="headertitle"><div·class="title">hybridutilities.hh·File·Reference</div></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">
  
 76 <p>Provides·a·map·between·global·and·local·indices.··
 77 <a·href="#details">More...</a></p>
74 <div·class="textblock"><code>#include·&lt;tuple&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
75 <code>#include·&lt;utility&gt;</code><br·/> 
76 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>79 <code>#include·&lt;<a·class="el"·href="a00116_source.html">dune/common/arraylist.hh</a>&gt;</code><br·/>
77 <code>#include·&lt;<a·class="el"·href="a00158_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/> 
78 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>80 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 81 <code>#include·&lt;iostream&gt;</code><br·/>
79 <code>#include·&lt;<a·class="el"·href="a00239_source.html">dune/common/indices.hh</a>&gt;</code><br·/>82 <code>#include·&quot;<a·class="el"·href="a00086_source.html">localindex.hh</a>&quot;</code><br·/>
 83 <code>#include·&lt;stdint.h&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00161_source.html">dune/common/assertandreturn.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00233_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/> 
82 </div>84 </div>
83 <p><a·href="a00065_source.html">Go·to·the·source·code·of·this·file.</a></p>85 <p><a·href="a00065_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <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="a02092.html">Dune::IndexPair&lt;·TG,·TL·&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>
 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="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>
 107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 </table><table·class="memberdecls">
85 <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>
86 Namespaces</h2></td></tr>110 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>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>
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>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>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <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>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>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>121 <tr·class="separator:ga1b1dd66b80964351e68f44bddb32593e"><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:ga0df72c8cdbb69ecf6da9483d5cdac1de"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>125 <tr·class="memitem:ga7fcd5b444a9e60cfdc21f7d0cfd22250"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
96 <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> 
97 <tr·class="memdesc:ga0df72c8cdbb69ecf6da9483d5cdac1de"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Size·query.··<a·href="a00405.html#ga0df72c8cdbb69ecf6da9483d5cdac1de">More...</a><br·/></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&l[·...·truncated·by·diffoscope;·len:·76,·SHA:·2019501b953a57e74f28ca66337acdf27b0a871952cce112020f4f2de0f75302·...·]</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>
98 <tr·class="separator:ga0df72c8cdbb69ecf6da9483d5cdac1de"><td·class="memSeparator"·colspan="2">&#160;</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>
99 <tr·class="memitem:gac85f9d601905a3d0001edd94bd67b2d7"><td·class="memTemplParams"·colspan="2">template&lt;class·Container·,·class·Index·&gt;·</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>
100 <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> 
101 <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> 
102 <tr·class="separator:gac85f9d601905a3d0001edd94bd67b2d7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>140 <tr·class="separator:ga0bc63043e58d66643b64cbd6b08dfb82"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 <tr·class="memitem:gaacd5d1927ffa1d96adf1db1fdbaba28c"><td·class="memTemplParams"·colspan="2">template&lt;class·Begin·,·class·End·&gt;·</td></tr> 
104 <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> 
105 <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> 
106 <tr·class="separator:gaacd5d1927ffa1d96adf1db1fdbaba28c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
107 <tr·class="memitem:ga1a44b7c50255662ec8d3553925ce9b46"><td·class="memTemplParams"·colspan="2">template&lt;class·End·&gt;·</td></tr> 
108 <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> 
109 <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> 
110 <tr·class="separator:ga1a44b7c50255662ec8d3553925ce9b46"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 <tr·class="memitem:ga2df9e60e21091ed59c4a636b99abbedc"><td·class="memTemplParams"·colspan="2">template&lt;class·Range·,·class·F·&gt;·</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>
112 <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> 
113 <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> 
114 <tr·class="separator:ga2df9e60e21091ed59c4a636b99abbedc"><td·class="memSeparator"·colspan="2">&#160;</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>
115 <tr·class="memitem:gaf41421cb94c1a0a3d334eeb409701620"><td·class="memTemplParams"·colspan="2">template&lt;class·Range·,·class·T·,·class·F·&gt;·</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>
116 <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> 
Max diff block lines reached; 566/27790 bytes (2.04%) of diff not shown.
6.16 KB
html2text {}
    
Offset 4, 79 lines modifiedOffset 4, 110 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>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>
11 #include·<dune/common/typetraits.hh>13 #include·<dune/common/arraylist.hh>
12 #include·<dune/common/typeutilities.hh> 
13 #include·<dune/common/fvector.hh>14 #include·<dune/common/exceptions.hh>
14 #include·<dune/common/indices.hh> 
15 #include·<dune/common/assertandreturn.hh> 
16 #include·<dune/common/rangeutilities.hh>15 #include·<iostream>
 16 #include·"localindex.hh"
 17 #include·<stdint.h>
17 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
 19 ·Classes
 20 ·class· Dune::IndexPair<_TG,_TL_>
 21  ·······A·pair·consisting·of·a·global·and·local·index.·More...
 22  
 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  
18 ·Namespaces42 ·Namespaces
19 namespace· Dune43 namespace· Dune
20  ··········Dune·namespace.44  ··········Dune·namespace.
21  45  
22 namespace· Dune::Hybrid46 ·Enumerations
 47 enum· Dune::ParallelIndexSetState·{·Dune::GROUND·,·Dune::RESIZE·}
 48  ·····The·states·the·index·set·can·be·in.·More...
23  49  
24 ·Functions50 ·Functions
25 template<class·T·>51 template<class·TG·,·class·TL·>
26 ··········constexpr·auto Dune::Hybrid::size·(const·T·&t) 
27  ························Size·query.·More...52 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·IndexPair<·TG,·TL·>
 53 ················&pair)
 54  ··············Print·an·index·pair.·More...
28  55  
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...56 template<class·TG·,·class·TL·>
 57 ··········bool Dune::operator==·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair<
 58 ················TG,·TL·>·&)
32  59  
33 template<class·Begin·,·class·End·>60 template<class·TG·,·class·TL·>
 61 ··········bool Dune::operator!=·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair<
 62 ················TG,·TL·>·&)
34 ··········constexpr·auto Dune::Hybrid::integralRange·(const·Begin·&begin, 
35 ··························const·End·&end) 
36  ························Create·an·integral·range.·More... 
37  63  
38 template<class·End·> 
39 ··········constexpr·auto Dune::Hybrid::integralRange·(const·End·&end) 
40  ························Create·an·integral·range·starting·from·0.·More...64 template<class·TG·,·class·TL·>
 65 ··········bool Dune::operator<·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair<
 66 ················TG,·TL·>·&)
41  67  
42 template<class·Range·,·class·F·>68 template<class·TG·,·class·TL·>
43 ··········constexpr·void Dune::Hybrid::forEach·(Range·&&range,·F·&&f) 
44  ························Range·based·for·loop.·More...69 ··········bool Dune::operator>·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair<
 70 ················TG,·TL·>·&)
45  71  
46 template<class·Range·,·class·T·,·class·F·>72 template<class·TG·,·class·TL·>
 73 ··········bool Dune::operator<=·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair<
 74 ················TG,·TL·>·&)
47 ·············constexpr·T Dune::Hybrid::accumulate·(Range·&&range,·T·value,·F 
48 ··························&&f) 
49  ························Accumulate·values.·More... 
50  75  
 76 template<class·TG·,·class·TL·>
 77 ··········bool Dune::operator>=·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair<
 78 ················TG,·TL·>·&)
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  79  
 80 template<class·TG·,·class·TL·>
 81 ··········bool Dune::operator==·(const·IndexPair<·TG,·TL·>·&,·const·TG·&)
56 template<class·Condition·,·class·IfFunc·> 
57 ····················void Dune::Hybrid::ifElse·(const·Condition·&condition, 
58 ··························IfFunc·&&ifFunc) 
59  ························A·conditional·expression.·More... 
60  82  
61 template<class·T1·,·class·T2·>83 template<class·TG·,·class·TL·>
 84 ··········bool Dune::operator!=·(const·IndexPair<·TG,·TL·>·&,·const·TG·&)
62 ··········constexpr·auto Dune::Hybrid::equals·(T1·&&t1,·T2·&&t2) 
63  ························Equality·comparison.·More... 
64  85  
 86 template<class·TG·,·class·TL·>
 87 ··········bool Dune::operator<·(const·IndexPair<·TG,·TL·>·&,·const·TG·&)
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  88  
 89 template<class·TG·,·class·TL·>
 90 ··········bool Dune::operator>·(const·IndexPair<·TG,·TL·>·&,·const·TG·&)
71 template<class·Cases·,·class·Value·,·class·Branches·> 
72 ··········constexpr·void Dune::Hybrid::switchCases·(const·Cases·&cases,·const 
73 ··························Value·&value,·Branches·&&branches) 
Max diff block lines reached; 116/6284 bytes (1.85%) of diff not shown.
278 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:·hybridutilities.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, 358 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">hybridutilities.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="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>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>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_HYBRIDUTILITIES_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_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_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="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="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;<a·class="code"·href="a00116.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="a00341.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>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</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>·</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><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00386.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="a00158.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="a00206.html">dune/common/fvector.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="a00086.html">localindex.hh</a>&quot;</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="a00239.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="a00161.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="a00233.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>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>
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>·</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>89 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="comment">//·forward·declarations</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>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="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
100 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keywordflow">return</span>·{};</div>92 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">class·</span>IndexPair;</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>·</div>93 <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> 
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>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>
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>96 <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>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>
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>99 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</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>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>
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>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>
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="[·...·truncated·by·diffoscope;·len:·43,·SHA:·61eb73d98afd3b54b9c7022fff8b2ca19420dc1f4c4a4167ce0a97584f50b249·...·]</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>
122 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··{</div>108 <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>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>
125 <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>
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>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>
128 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</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>
 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>
129 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>135 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</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>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>
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> 
Max diff block lines reached; 200084/238316 bytes (83.96%) of diff not shown.
44.8 KB
html2text {}
    
Offset 4, 447 lines modifiedOffset 4, 1120 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 hybridutilities.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_COMMON_HYBRIDUTILITIES_HH 
15 ·6#define·DUNE_COMMON_HYBRIDUTILITIES_HH15 ·5#ifndef·DUNE_INDEXSET_HH
 16 ·6#define·DUNE_INDEXSET_HH
16 ·717 ·7
 18 ·8#include·<algorithm>
17 ·8#include·<tuple> 
18 ·9#include·<utility> 
19 ·10 
20 ·11#include·<dune/common/typetraits.hh>19 ·9#include·<dune/common/arraylist.hh>
21 ·12#include·<dune/common/typeutilities.hh> 
22 ·13#include·<dune/common/fvector.hh>20 ·10#include·<dune/common/exceptions.hh>
23 ·14#include·<dune/common/indices.hh> 
24 ·15#include·<dune/common/assertandreturn.hh> 
25 ·16#include·<dune/common/rangeutilities.hh> 
26 ·1721 ·11#include·<iostream>
 22 ·12
 23 ·13#include·"localindex.hh"
 24 ·14
 25 ·15#include·<stdint.h>·//·for·uint32_t
 26 ·16
 27 ·17namespace·Dune
27 ·1828 ·18{
 29 ·28·//·forward·declarations
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·{30 ·29
39 ·30·return·{}; 
40 ·31·}31 ·30·template<class·TG,·class·TL>
 32 ·31·class·IndexPair;
41 ·3233 ·32
42 ·33·//·Try·if·tuple_size·is·implemented·for·class 
43 ·34·template<class·T>34 ·38·template<class·TG,·class·TL>
 35 ·39·std::ostream&·operator<<(std::ostream&·os,·const·IndexPair<TG,TL>&·pair);
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 ·4036 ·40
51 ·41·//·Try·if·there's·a·static·constexpr·size() 
52 ·42·template<class·T>37 ·41·template<class·TG,·class·TL>
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()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
60 ·50·template<class·T>46 ·50·template<class·TG,·class·TL>
61 ·51·constexpr·auto·size(const·T&·t,·const·PriorityTag<0>&)47 ·51·bool·operator>(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
62 ·52·{48 ·52
63 ·53·return·t.size(); 
64 ·54·}49 ·53·template<class·TG,·class·TL>
 50 ·54·bool·operator<=(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
65 ·5551 ·55
66 ·56}·//·namespace·Impl 
67 ·5752 ·56·template<class·TG,·class·TL>
 53 ·57·bool·operator_>=(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
68 ·5854 ·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>55 ·59·template<class·TG,·class·TL>
88 ·99·constexpr·decltype(auto)·elementAt(std::integer_sequence<T,·t...>·c,·Index, 
89 PriorityTag<1>)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
Max diff block lines reached; 39705/45828 bytes (86.64%) of diff not shown.
8.23 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:·scalarmatrixview.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, 46 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="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>··</div>
70 ··<div·class="headertitle"><div·class="title">scalarmatrixview.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">mpifuture.hh·File·Reference</div></div>
71 </div><!--header-->72 </div><!--header-->
72 <div·class="contents">73 <div·class="contents">
  
73 <p>Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.·· 
74 <a·href="#details">More...</a></p> 
75 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>74 <div·class="textblock"><code>#include·&lt;optional&gt;</code><br·/>
 75 <code>#include·&lt;<a·class="el"·href="a00071_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/>
76 <code>#include·&lt;type_traits&gt;</code><br·/> 
77 <code>#include·&lt;ostream&gt;</code><br·/> 
78 <code>#include·&lt;<a·class="el"·href="a00080_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>76 <code>#include·&lt;<a·class="el"·href="a00050_source.html">dune/common/parallel/future.hh</a>&gt;</code><br·/>
79 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>77 <code>#include·&lt;<a·class="el"·href="a00080_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/matvectraits.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00053_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00164_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/> 
83 <code>#include·&lt;<a·class="el"·href="a00056_source.html">dune/common/scalarvectorview.hh</a>&gt;</code><br·/> 
84 </div>78 </div>
85 <p><a·href="a00068_source.html">Go·to·the·source·code·of·this·file.</a></p>79 <p><a·href="a00068_source.html">Go·to·the·source·code·of·this·file.</a></p>
86 <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>
 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="a02180.html">Dune::impl::Buffer&lt;·T·&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="a02184.html">Dune::impl::Buffer&lt;·T·&amp;·&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="a02188.html">Dune::impl::Buffer&lt;·void·&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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02192.html">Dune::MPIFuture&lt;·R,·S·&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>
 91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 92 </table><table·class="memberdecls">
87 <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>
88 Namespaces</h2></td></tr>94 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>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>
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>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>
91 <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>
92 </table>100 </table>
93 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
94 <div·class="textblock"><p·>Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.·</p> 
95 </div></div><!--·contents·-->101 </div><!--·contents·-->
96 <!--·start·footer·part·-->102 <!--·start·footer·part·-->
97 <hr·class="footer"/><address·class="footer"><small>103 <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.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
99 </small></address>105 </small></address>
100 </body>106 </body>
101 </html>107 </html>
1.53 KB
html2text {}
    
Offset 4, 30 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 mpifuture.hh·File·Reference
7 Namespaces 
8 scalarmatrixview.hh·File·Reference 
9 Common·»·Dense_Matrix_and_Vector_Template_Library 
10 Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.·More... 
11 #include·<cstddef> 
12 #include·<type_traits> 
13 #include·<ostream>10 #include·<optional>
14 #include·<dune/common/boundschecking.hh>11 #include·<dune/common/parallel/communication.hh>
 12 #include·<dune/common/parallel/future.hh>
15 #include·<dune/common/typetraits.hh>13 #include·<dune/common/parallel/mpidata.hh>
16 #include·<dune/common/matvectraits.hh> 
17 #include·<dune/common/densematrix.hh> 
18 #include·<dune/common/fmatrix.hh> 
19 #include·<dune/common/scalarvectorview.hh> 
20 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
 15 ·Classes
 16 struct· Dune::impl::Buffer<_T_>
 17  
 18 struct· Dune::impl::Buffer<_T_&_>
 19  
 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  
21 ·Namespaces28 ·Namespaces
22 namespace· Dune29 namespace· Dune
23  ··········Dune·namespace.30  ··········Dune·namespace.
24  31  
25 *****·Detailed·Description·***** 
26 Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.32 namespace· Dune::impl
 33  
  
27 ===============================================================================34 ===============================================================================
28 ·····Generated·by [doxygen]·1.9.435 ·····Generated·by [doxygen]·1.9.4
85.1 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:·scalarmatrixview.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, 203 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">scalarmatrixview.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="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>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>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_SCALARMATRIXVIEW_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_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_SCALARMATRIXVIEW_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>
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;optional&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;ostream&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="a00080.html">dune/common/boundschecking.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="a00386.html">dune/common/typetraits.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="a00032.html">dune/common/matvectraits.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="a00053.html">dune/common/densematrix.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="a00164.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;<a·class="code"·href="a00056.html">dune/common/scalarvectorview.hh</a>&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>·</div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</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>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00071.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="a00050.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="a00080.html">dune/common/parallel/mpidata.hh</a>&gt;</span></div>
91 <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">#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>
 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"><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&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>
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</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="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>
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="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K&gt;</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="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">class·</span>ScalarMatrixView·:</div> 
96 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">public</span>·DenseMatrix&lt;ScalarMatrixView&lt;K&gt;&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="l00042"·name="l00042"></a><span·class="lineno">···42</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"><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>
98 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····ScalarVectorView&lt;K&gt;·data_;</div>110 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····};</div>
99 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">using·</span>Base·=·DenseMatrix&lt;ScalarMatrixView&lt;K&gt;&gt;;</div> 
100 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>111 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
101 <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>&gt;</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>
102 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span>ScalarMatrixView;</div> 
103 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">public</span>:</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>
104 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</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>
105 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="comment">//=====·type·definitions·and·constants</span></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>
106 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>135 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····};</div>
107 <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>·<a·class="code·hl_variable"·href="a01400.html#abb04f185b1d618c7ecbc71f80c913fee">blocklevel</a>·=·1;</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>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01400.html#ad86e41607482a02d21aa2ee8b7cdca0e">size_type</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01400.html#ad86e41607482a02d21aa2ee8b7cdca0e">Base::size_type</a>;</div> 
110 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01400.html#acff1e010547092ecf356c2e33fec19a8">row_type</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01400.html#acff1e010547092ecf356c2e33fec19a8">Base::row_type</a>;</div> 
111 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01400.html#ad9f0177d23a0b01f5eac7be53bdca64b">row_reference</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01400.html#ad9f0177d23a0b01f5eac7be53bdca64b">Base::row_reference</a>;</div> 
112 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01400.html#ad8914bf4144967e1091e4e0215efe305">const_row_reference</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01400.html#ad8914bf4144967e1091e4e0215efe305">Base::const_row_reference</a>;</div> 
113 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>136 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01400.html#a87d6a39a8a05460bf6c23bb79203de06">rows</a>·=·1;</div> 
115 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01400.html#a4e24141a1dee8d2e438149c51c02bc6a">cols</a>·=·1;</div> 
116 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> 
117 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="comment">//=====·constructors</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>
118 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="comment"></span>····<span·class="keyword">constexpr</span>·ScalarMatrixView·()</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>
119 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······:·data_()</div>141 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········:·valid_(valid)</div>
120 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</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"><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>
 145 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······}</div>
Max diff block lines reached; 48581/73021 bytes (66.53%) of diff not shown.
13.6 KB
html2text {}
    
Offset 4, 237 lines modifiedOffset 4, 302 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 scalarmatrixview.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#ifndef·DUNE_COMMON_SCALARMATRIXVIEW_HH 
15 ·6#define·DUNE_COMMON_SCALARMATRIXVIEW_HH15 ·5#ifndef·DUNE_COMMON_PARALLEL_MPIFUTURE_HH
 16 ·6#define·DUNE_COMMON_PARALLEL_MPIFUTURE_HH
16 ·717 ·7
 18 ·8#include·<optional>
17 ·8#include·<cstddef> 
18 ·9#include·<type_traits> 
19 ·10#include·<ostream> 
20 ·11 
21 ·12#include·<dune/common/boundschecking.hh> 
22 ·13#include·<dune/common/typetraits.hh> 
23 ·14#include·<dune/common/matvectraits.hh> 
24 ·15#include·<dune/common/densematrix.hh> 
25 ·16#include·<dune/common/fmatrix.hh> 
26 ·17#include·<dune/common/scalarvectorview.hh> 
27 ·18 
28 ·1919 ·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
29 ·20namespace·Dune·{25 ·15namespace·Dune{
30 ·2126 ·16
31 ·22namespace·Impl·{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·}
 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·}
33 ·39·template<class·K>59 ·49·template<class·V>
34 ·40·class·ScalarMatrixView·: 
35 ·41·public·DenseMatrix<ScalarMatrixView<K>> 
36 ·42·{ 
37 ·43·ScalarVectorView<K>·data_; 
38 ·44·using·Base·=·DenseMatrix<ScalarMatrixView<K>>; 
39 ·4560 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
40 ·46·template·<class>77 ·67·template<>
 78 68·struct·Buffer<void>{
 79 69·bool·valid_;
 80 70·Buffer(bool·valid·=·false)
 81 ·71·:·valid_(valid)
41 ·47·friend·class·ScalarMatrixView; 
42 ·48·public: 
43 ·49 
44 ·50·//=====·type·definitions·and·constants 
45 ·51 
46 ·54·constexpr·static·int·blocklevel·=·1; 
47 ·55 
48 ·56·using·size_type·=·typename·Base::size_type; 
49 ·57·using·row_type·=·typename·Base::row_type; 
50 ·58·using·row_reference·=·typename·Base::row_reference; 
51 ·59·using·const_row_reference·=·typename·Base::const_row_reference; 
52 ·60 
53 ·63·constexpr·static·int·rows·=·1; 
54 ·66·constexpr·static·int·cols·=·1; 
55 ·67 
56 ·68·//=====·constructors 
57 ·71·constexpr·ScalarMatrixView·() 
58 ·72·:·data_() 
59 ·73·{}82 ·72·{}
60 ·74 
61 ·76·ScalarMatrixView·(K*·p)·: 
62 ·77·data_(p)83 73·operator·bool·()·const{
 84 ·74·return·valid_;
 85 ·75·}
 86 76·void·get(){}
 87 ·77·};
63 ·78·{}88 ·78·}
64 ·7989 ·79
Max diff block lines reached; 8333/13942 bytes (59.77%) of diff not shown.
14.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a00071.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:·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, 60 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>·&#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>··</div>
72 ··<div·class="headertitle"><div·class="title">dotproduct.hh·File·Reference</div></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>
73 </div><!--header-->74 </div><!--header-->
74 <div·class="contents">75 <div·class="contents">
  
75 <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"/>.··76 <p>Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.··
76 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00083_source.html">ftraits.hh</a>&quot;</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="a00254_source.html">dune/common/binaryfunctions.hh</a>&gt;</code><br·/>
78 <code>#include·&quot;<a·class="el"·href="a00386_source.html">typetraits.hh</a>&quot;</code><br·/>83 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 84 <code>#include·&lt;<a·class="el"·href="a00050_source.html">dune/common/parallel/future.hh</a>&gt;</code><br·/>
79 </div>85 </div>
80 <p><a·href="a00071_source.html">Go·to·the·source·code·of·this·file.</a></p>86 <p><a·href="a00071_source.html">Go·to·the·source·code·of·this·file.</a></p>
81 <table·class="memberdecls">87 <table·class="memberdecls">
82 <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>
83 Classes</h2></td></tr>89 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="a01492.html">Dune::IsVector&lt;·T,·class·&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="a01984.html">Dune::No_Comm</a></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="a01496.html">Dune::IsVector&lt;·T,·std::void_t&lt;·typename·T::field_type·&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="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>
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 </table><table·class="memberdecls">95 </table><table·class="memberdecls">
89 <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>
90 Namespaces</h2></td></tr>97 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>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>
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>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>
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 </table><table·class="memberdecls">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">
95 <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>
96 Functions</h2></td></tr>109 Functions</h2></td></tr>
97 <tr·class="memitem:gaea6b9fa6ea152afd7372f5b0b6584947"><td·class="memTemplParams"·colspan="2">template&lt;class·A·,·class·B·&gt;·</td></tr> 
98 <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> 
99 <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#gaea6b9fa6ea152afd7[·...·truncated·by·diffoscope;·len:·34,·SHA:·6228e40276d58d09477e4379402f12015c03625e1010e47c89d0224db46038d3·...·]</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;,[·...·truncated·by·diffoscope;·len:·21,·SHA:·ec5469a3a15328c29dba4dc27882d96055a23a1093e292e4ff36244a0085b35d·...·]</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>
100 <tr·class="separator:gaea6b9fa6ea152afd7372f5b0b6584947"><td·class="memSeparator"·colspan="2">&#160;</td></tr>115 <tr·class="separator:a02c039e6b551a3771cc8c60e84e9bcdc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 <tr·class="memitem:aa2d28f67ec2d74f14ec3ce3f9c27c221"><td·class="memTemplParams"·colspan="2">template&lt;class·A·,·class·B·&gt;·</td></tr> 
102 <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> 
103 <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:aa2d28f67ec2d74f14ec3ce3f9c27c221"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
105 </table>116 </table>
106 <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>
107 <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> 
108 <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·a[·...·truncated·by·diffoscope;·len:·153,·SHA:·e1f36f289c66f14fe8532fac0466e0ea555fdbd6d9419112ffd5b17b6c270314·...·]>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>
109 </div></div><!--·contents·-->120 </div></div><!--·contents·-->
110 <!--·start·footer·part·-->121 <!--·start·footer·part·-->
111 <hr·class="footer"/><address·class="footer"><small>122 <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.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
113 </small></address>124 </small></address>
114 </body>125 </body>
115 </html>126 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
2.93 KB
html2text {}
    
Offset 4, 50 lines modifiedOffset 4, 51 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·|·Typedefs·|·Functions
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"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>
 16 #include·<vector>
 17 #include·<dune/common/binaryfunctions.hh>
 18 #include·<dune/common/exceptions.hh>
 19 #include·<dune/common/parallel/future.hh>
13 Go_to_the_source_code_of_this_file.20 Go_to_the_source_code_of_this_file.
14 ·Classes21 ·Classes
15 struct· Dune::IsVector<_T,_class_>22 struct· Dune::No_Comm
16  23  
17 struct· Dune::IsVector<_T,_std::void_t<_typename_T::field_type_>_>24 ·class· Dune::Communication<_Communicator_>
 25  ·······Collective·communication·interface·and·sequential·default
 26 ·········implementation.·More...
18  27  
19 ·Namespaces28 ·Namespaces
20 namespace· Dune29 namespace· Dune
21  ··········Dune·namespace.30  ··········Dune·namespace.
22  31  
 32 ·Typedefs
 33 template<class·T·>
 34 using Dune::CollectiveCommunication·=·Communication<·T·>
 35  
23 ·Functions36 ·Functions
 37 bool Dune::operator==·(const·No_Comm·&,·const·No_Comm·&)
 38  ····Comparison·operator·for·MPI·compatibility.·More...
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  39  
 40 bool Dune::operator!=·(const·No_Comm·&,·const·No_Comm·&)
 41  ····Comparison·operator·for·MPI·compatibility.·More...
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  42  
37 *****·Detailed·Description·*****43 *****·Detailed·Description·*****
 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.
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 ===============================================================================48 ===============================================================================
48 ·····Generated·by [doxygen]·1.9.449 ·····Generated·by [doxygen]·1.9.4
94.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00071_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:·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, 79 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">dotproduct.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="a00071.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="a00071.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_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_DOTPRODUCT_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>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="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;complex&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="a00083.html">ftraits.hh</a>&quot;</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>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00386.html">typetraits.hh</a>&quot;</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>·</div>81 <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> 
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>82 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00254.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="a00341.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="a00050.html">dune/common/parallel/future.hh</a>&gt;</span></div>
84 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>85 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</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>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>
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> 
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> 
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>87 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div>
 88 <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>
 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="l00053"·name="l00053"></a><span·class="lineno">···53</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="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="l00045"·name="l00045"></a><span·class="lineno">···45</span>··}</div>95 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··}</div>
95 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</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>
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>98 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</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>
 100 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··}</div>
103 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>101 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</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>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>
 104 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··{</div>
105 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">auto</span></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="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·clas[·...·truncated·by·diffoscope;·len:·129,·SHA:·d6de4456ac2656bb6d2e6b0e7c7975d532f3a076bb5879e10edf32837469376f·...·]</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>
 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>
 110 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</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>
 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>
 115 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····}</div>
 116 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div>
 117 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="a01988.html#a3055f415e453de1f4ac8065dcb28e04c">··120</a></span>····<span·class="keyword">operator</span>·<a·class="code·hl_struct"·href="a01984.html">No_Comm</a>()<span·class="keyword">·const</span></div>
 118 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span><span·class="keyword">····</span>{</div>
 119 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>······<span·class="keywordflow">return</span>·{};</div>
 120 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>····}</div>
 121 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div>
 122 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno"><a·class="line"·href="a01988.html#a52ca21c831f476ec12f4735d3e79a00a">··126</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01988.html#a52ca21c831f476ec12f4735d3e79a00a">size</a>·()<span·class="keyword">·const</span></div>
 123 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span><span·class="keyword">····</span>{</div>
 124 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>······<span·class="keywordflow">return</span>·1;</div>
 125 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>····}</div>
 126 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·</div>
 127 <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>·T&gt;</div>
 128 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno"><a·class="line"·href="a01988.html#a143c0006dd1b9810968fef841cf47ef8">··135</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01988.html#a143c0006dd1b9810968fef841cf47ef8">send</a>([[maybe_unused]]·<span·class="keyword">const</span>·T&amp;·data,</div>
 129 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·············[[maybe_unused]]·<span·class="keywordtype">int</span>·dest_rank,</div>
 130 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>·············[[maybe_unused]]·<span·class="keywordtype">int</span>·tag)</div>
 131 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>····{</div>
 132 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>······<a·class="code·hl_define"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a>(<a·class="code·hl_class"·href="a01584.html">ParallelError</a>,·<span·class="stringliteral">&quot;This·method·is·not·supported·in·sequential·programs&quot;</span>);</div>
 133 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>····}</div>
 134 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div>
 135 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 136 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno"><a·class="line"·href="a01988.html#a2840435a50a7b13a34dc8a7743c2a37a">··146</a></span>····<a·class="code·hl_class"·href="a02072.html">PseudoFuture&lt;T&gt;</a>·<a·class="code·hl_function"·href="a01988.html#a2840435a50a7b13a34dc8a7743c2a37a">isend</a>([[maybe_unused]]·<span·class="keyword">const</span>·T&amp;&amp;·data,</div>
 137 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>··························[[maybe_unused]]·<span·class="keywordtype">int</span>·dest_rank,</div>
 138 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>··························[[maybe_unused]]·<span·class="keywordtype">int</span>·tag)</div>
 139 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>····{</div>
 140 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>······<a·class="code·hl_define"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a>(<a·class="code·hl_class"·href="a01584.html">ParallelError</a>,·<span·class="stringliteral">&quot;This·method·is·not·supported·in·sequential·programs&quot;</span>);</div>
 141 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>····}</div>
 142 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>·</div>
 143 <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&gt;</div>
 144 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno"><a·class="line"·href="a01988.html#a271d9ce3fa319a1a08e4a2764dd3cc53">··157</a></span>····T·<a·class="code·hl_function"·href="a01988.html#a271d9ce3fa319a1a08e4a2764dd3cc53">recv</a>([[maybe_unused]]·T&amp;&amp;·data,</div>
 145 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>···········[[maybe_unused]]·<span·class="keywordtype">int</span>·source_rank,</div>
 146 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>···········[[maybe_unused]]·<span·class="keywordtype">int</span>·tag,</div>
 147 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>···········[[maybe_unused]]·<span·class="keywordtype">void</span>*·status·=·0)</div>
107 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div>148 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>····{</div>
 149 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>······<a·class="code·hl_define"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a>(<a·class="code·hl_class"·href="a01584.html">ParallelError</a>,·<span·class="stringliteral">&quot;This·method·is·not·supported·in·sequential·programs&quot;</span>);</div>
 150 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>····}</div>
 151 <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</span>·</div>
 152 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 153 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno"><a·class="line"·href="a01988.html#a767f914ba12e876cd5613c841a2ae037">··169</a></span>····<a·class="code·hl_class"·href="a02072.html">PseudoFuture&lt;T&gt;</a>·<a·class="code·hl_function"·href="a01988.html#a767f914ba12e876cd5613c841a2ae037">irecv</a>([[maybe_unused]]·T&amp;&amp;·data,</div>
Max diff block lines reached; 16801/79149 bytes (21.23%) of diff not shown.
17.0 KB
html2text {}
    
Offset 4, 100 lines modifiedOffset 4, 484 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 dotproduct.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
14 ·5#ifndef·DUNE_DOTPRODUCT_HH 
15 ·6#define·DUNE_DOTPRODUCT_HH15 ·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>
 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·Dune
 27 ·43{
 28 ·44
 29 ·45·/*·define·some·type·that·definitely·differs·from·MPI_Comm·*/
 30 46·struct·No_Comm·{};
16 ·731 ·47
17 ·8#include·"ftraits.hh" 
18 ·9#include·"typetraits.hh"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·{
 39 ·63·return·false;
 40 ·64·}
 41 ·65
 42 ·98·template<typename·Communicator>
 43 99·class·Communication
 44 ·100·{
 45 ·101·public:
 46 103·Communication()
 47 ·104·{}
19 ·1048 ·105
20 ·11namespace·Dune·{ 
21 ·26·template<class·T,·class·=·void> 
22 27·struct·IsVector·:·std::false_type·{}; 
23 ·2849 110·Communication·(const·Communicator&)
 50 ·111·{}
 51 ·112
 52 114·int·rank·()·const
 53 ·115·{
 54 ·116·return·0;
 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 ·130
 67 ·134·template<class·T>
 68 135·int·send([[maybe_unused]]·const·T&·data,
 69 ·136·[[maybe_unused]]·int·dest_rank,
 70 ·137·[[maybe_unused]]·int·tag)
 71 ·138·{
 72 ·139·DUNE_THROW(ParallelError,·"This·method·is·not·supported·in·sequential
 73 programs");
 74 ·140·}
 75 ·141
 76 ·145·template<class·T>
 77 146·PseudoFuture<T>·isend([[maybe_unused]]·const·T&&·data,
 78 ·147·[[maybe_unused]]·int·dest_rank,
 79 ·148·[[maybe_unused]]·int·tag)
 80 ·149·{
 81 ·150·DUNE_THROW(ParallelError,·"This·method·is·not·supported·in·sequential
 82 programs");
 83 ·151·}
 84 ·152
 85 ·156·template<class·T>
 86 157·T·recv([[maybe_unused]]·T&&·data,
 87 ·158·[[maybe_unused]]·int·source_rank,
 88 ·159·[[maybe_unused]]·int·tag,
 89 ·160·[[maybe_unused]]·void*·status·=·0)
 90 ·161·{
 91 ·162·DUNE_THROW(ParallelError,·"This·method·is·not·supported·in·sequential
 92 programs");
 93 ·163·}
 94 ·164
 95 ·168·template<class·T>
 96 169·PseudoFuture<T>·irecv([[maybe_unused]]·T&&·data,
 97 ·170·[[maybe_unused]]·int·source_rank,
 98 ·171·[[maybe_unused]]·int·tag)
 99 ·172·{
 100 ·173·DUNE_THROW(ParallelError,·"This·method·is·not·supported·in·sequential
 101 programs");
 102 ·174·}
 103 ·175
 104 ·176·template<class·T>
 105 177·T·rrecv([[maybe_unused]]·T&&·data,
 106 ·178·[[maybe_unused]]·int·source_rank,
 107 ·179·[[maybe_unused]]·int·tag,
 108 ·180·[[maybe_unused]]·void*·status·=·0)·const
 109 ·181·{
 110 ·182·DUNE_THROW(ParallelError,·"This·method·is·not·supported·in·sequential
 111 programs");
 112 ·183·}
 113 ·187·template<typename·T>
 114 188·T·sum·(const·T&·in)·const
 115 ·189·{
 116 ·190·return·in;
 117 ·191·}
 118 ·192
 119 ·198·template<typename·T>
 120 199·int·sum·([[maybe_unused]]·T*·inout,·[[maybe_unused]]·int·len)·const
 121 ·200·{
Max diff block lines reached; 7110/17364 bytes (40.95%) of diff not shown.
14.0 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:·propertymap.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, 84 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>·&#124;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 <a·href="#func-members">Functions</a>··</div> 
72 ··<div·class="headertitle"><div·class="title">propertymap.hh·File·Reference</div></div> 
73 </div><!--header-->72 </div><!--header-->
74 <div·class="contents">73 <div·class="contents">
  
 74 <p>Traits·classes·for·mapping·types·onto·MPI_Datatype.··
 75 <a·href="#details">More...</a></p>
75 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
76 <code>#include·&lt;iterator&gt;</code><br·/>77 <code>#include·&lt;cstdint&gt;</code><br·/>
77 <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·/>
 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="a00074_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00074_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="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> 
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> 
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>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>
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> 
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> 
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>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>
117 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
118 </table><table·class="memberdecls">90 </table><table·class="memberdecls">
119 <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>
120 Namespaces</h2></td></tr>92 Namespaces</h2></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>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>
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>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>
123 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
124 </table><table·class="memberdecls"> 
125 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
126 Functions</h2></td></tr> 
127 <tr·class="memitem:a422c8e50ed4f40b534187b8fb83fbf3d"><td·class="memTemplParams"·colspan="2">template&lt;class·Reference·,·class·PropertyMap·,·class·Key·&gt;·</td></tr> 
128 <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> 
129 <tr·class="separator:a422c8e50ed4f40b534187b8fb83fbf3d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
130 <tr·class="memitem:a2dc4d3a226776723750b848ae303a11a"><td·class="memTemplParams"·colspan="2">template&lt;class·Reference·,·class·PropertyMap·,·class·Key·,·class·Value·&gt;·</td></tr> 
131 <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> 
132 <tr·class="separator:a2dc4d3a226776723750b848ae303a11a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
133 </table>96 </table>
 97 <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>
 99 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
134 </div><!--·contents·-->100 </div></div><!--·contents·-->
135 <!--·start·footer·part·-->101 <!--·start·footer·part·-->
136 <hr·class="footer"/><address·class="footer"><small>102 <hr·class="footer"/><address·class="footer"><small>
137 Generated·by&#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
138 </small></address>104 </small></address>
139 </body>105 </body>
140 </html>106 </html>
2.53 KB
html2text {}
    
Offset 4, 67 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·|·Namespaces·|·Functions8 Classes·|·Namespaces
8 propertymap.hh·File·Reference9 mpitraits.hh·File·Reference
 10 Common·»·Parallel_Communication
 11 Traits·classes·for·mapping·types·onto·MPI_Datatype.·More...
9 #include·<cstddef>12 #include·<cstddef>
10 #include·<iterator>13 #include·<cstdint>
11 #include·<type_traits>14 #include·<type_traits>
 15 #include·<utility>
 16 #include·<complex>
 17 #include·<mpi.h>
12 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
13 ·Classes19 ·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_*_>20 struct· Dune::MPITraits<_T_>
 21  ·······A·traits·class·describing·the·mapping·of·types·onto·MPI_Datatypes.
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...22 ·········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  23  
51 ·Namespaces24 ·Namespaces
52 namespace· Dune25 namespace· Dune
53  ··········Dune·namespace.26  ··········Dune·namespace.
54  27  
 28 *****·Detailed·Description·*****
 29 Traits·classes·for·mapping·types·onto·MPI_Datatype.
 30 ··Author
 31 ······Markus·Blatt
55 ·Functions 
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   
  
64 ===============================================================================32 ===============================================================================
65 ·····Generated·by [doxygen]·1.9.433 ·····Generated·by [doxygen]·1.9.4
95.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a00074_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:·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, 273 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">propertymap.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="a00074.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="a00074.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_MPITRAITS_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_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="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
 79 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</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>80 <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;iterator&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>
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="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>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</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>
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>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>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>{</div>89 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</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>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>
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>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>
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··{</div>92 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</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>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>
92 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··};</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>
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> 
95 <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> 
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> 
98 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{};</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>
99 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</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>
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>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>
103 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</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>108 <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="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>
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> 
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="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>
117 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>113 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</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>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>
120 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··{</div>122 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="preprocessor">··}</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>123 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</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>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>
Max diff block lines reached; 34936/81459 bytes (42.89%) of diff not shown.
15.9 KB
html2text {}
    
Offset 4, 369 lines modifiedOffset 4, 224 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 propertymap.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_PROPERTYMAP_HH15 ·5#ifndef·DUNE_MPITRAITS_HH
15 ·6#define·DUNE_PROPERTYMAP_HH16 ·6#define·DUNE_MPITRAITS_HH
16 ·717 ·7
 18 ·18#if·HAVE_MPI
 19 ·19
17 ·8#include·<cstddef>20 ·20#include·<cstddef>
18 ·9#include·<iterator>21 ·21#include·<cstdint>
19 ·10#include·<type_traits>22 ·22#include·<type_traits>
20 ·1123 ·23#include·<utility>
 24 ·24#include·<complex>
 25 ·25
 26 ·26#include·<mpi.h>
 27 ·27
21 ·12namespace·Dune28 ·28namespace·Dune
 29 ·29{
 30 ·39·template<typename·T>
 31 40·struct·MPITraits
22 ·13{ 
23 ·14 
24 ·15·template<class·PM> 
25 16·struct·PropertyMapTraits 
26 ·17·{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;
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·{};48 ·57·};
46 ·58 
47 ·59·template<class·T>49 ·58·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*>50 ·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;·\
59 ·71·{62 ·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];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
Max diff block lines reached; 8807/16294 bytes (54.05%) of diff not shown.
30.8 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:·indent.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, 54 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>··</ul>64 <li·class="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="#nested-classes">Classes</a>·&#124; 
70 <a·href="#namespaces">Namespaces</a>·&#124; 
71 <a·href="#func-members">Functions</a>··</div>69 <a·href="#func-members">Functions</a>·&#124;
72 ··<div·class="headertitle"><div·class="title">indent.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>70 <a·href="#var-members">Variables</a>··</div>
 71 ··<div·class="headertitle"><div·class="title">mpi_collective_benchmark.cc·File·Reference</div></div>
73 </div><!--header-->72 </div><!--header-->
74 <div·class="contents">73 <div·class="contents">
  
75 <p>Utility·class·for·handling·nested·indentation·in·output.·· 
76 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&lt;ostream&gt;</code><br·/>74 <div·class="textblock"><code>#include·&lt;config.h&gt;</code><br·/>
78 <code>#include·&lt;string&gt;</code><br·/>75 <code>#include·&lt;iostream&gt;</code><br·/>
79 </div> 
80 <p><a·href="a00077_source.html">Go·to·the·source·code·of·this·file.</a></p>76 <code>#include·&lt;iomanip&gt;</code><br·/>
 77 <code>#include·&lt;thread&gt;</code><br·/>
 78 <code>#include·&lt;<a·class="el"·href="a00041_source.html">dune/common/parallel/mpihelper.hh</a>&gt;</code><br·/>
 79 <code>#include·&lt;<a·class="el"·href="a00338_source.html">dune/common/timer.hh</a>&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00170_source.html">dune/common/parametertree.hh</a>&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00119_source.html">dune/common/parametertreeparser.hh</a>&gt;</code><br·/>
81 <table·class="memberdecls">82 </div><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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01864.html">Dune::Indent</a></td></tr> 
85 <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> 
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> 
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 </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: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> 
97 <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>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="a00077.html#afb912825e02284a6c9ff4f616d528d86">communicate</a>·(CC·&amp;cc)</td></tr>
98 <tr·class="separator:gace1faa2fb503952859542dbea15eb066"><td·class="memSeparator"·colspan="2">&#160;</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="a00077.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="a00077.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="a00077.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="a00077.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="a00077.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="a00077.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="a00077.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="a00077.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="a00077.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">
 110 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a>
 111 Variables</h2></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="a00077.html#a27e2a51c9830747b1c6fd2825389fbae">options</a></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="a00077.html#a27e2a51c9830747b1c6fd2825389fbae">More...</a><br·/></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="a00077.html#a041dd892dba6b2c051d9ab750ef9f3c7">all_methods</a></td></tr>
 116 <tr·class="separator:a041dd892dba6b2c051d9ab750ef9f3c7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 </table>117 </table>
100 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
101 <div·class="textblock"><p·>Utility·class·for·handling·nested·indentation·in·output.·</p> 
102 <dl·class="section·author"><dt>Author</dt><dd>Jö·Fahlke·</dd></dl>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>
Max diff block lines reached; 243/24552 bytes (0.99%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
6.7 KB
html2text {}
    
Offset 4, 33 lines modifiedOffset 4, 147 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Functions 
8 indent.hh·File·Reference 
9 Common 
10 Utility·class·for·handling·nested·indentation·in·output.·More...7 ····*·parallel
 8 ····*·benchmark
 9 Functions·|·Variables
 10 mpi_collective_benchmark.cc·File·Reference
 11 #include·<config.h>
11 #include·<ostream>12 #include·<iostream>
 13 #include·<iomanip>
12 #include·<string>14 #include·<thread>
 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>
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   
18 ·Namespaces 
19 namespace· Dune 
20  ··········Dune·namespace. 
21   
22 ·Functions19 ·Functions
23 std::ostream·& Dune::operator<<·(std::ostream·&s,·const·Indent·&indent) 
24  ··············write·indentation·to·a·stream·More...20 template<class·CC·>
 21 ························void communicate·(CC·&cc)
 22  
 23 template<class·CC·>
 24 ········Dune::Future<·void·> startCommunication·(CC·&cc)
 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
25  57  
26 *****·Detailed·Description·***** 
27 Utility·class·for·handling·nested·indentation·in·output. 
28 ··Author 
29 ·······Fahlke58 *****·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
Max diff block lines reached; 116/6837 bytes (1.70%) of diff not shown.
9.0 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:·boundschecking.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, 38 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;
 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">boundschecking.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>
71 </div><!--header-->73 </div><!--header-->
72 <div·class="contents">74 <div·class="contents">
  
73 <p>Macro·for·wrapping·boundary·checks.··75 <p>Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for·MPI·calls.··
74 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
 77 <div·class="textblock"><code>#include·&lt;vector&gt;</code><br·/>
 78 <code>#include·&lt;string&gt;</code><br·/>
75 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>79 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00287_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00074_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/>
76 </div>82 </div>
77 <p><a·href="a00080_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00080_source.html">Go·to·the·source·code·of·this·file.</a></p>
78 <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">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>
 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>
 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>
 99 </table><table·class="memberdecls">
79 <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>
80 Macros</h2></td></tr>101 Functions</h2></td></tr>
81 <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> 
82 <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:·25,·SHA:·b57270e35d6707d03a70f0cd53e3a5b35bee9a1ee42fe7e1a6bd843bec98c5ba·...·]</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>
83 <tr·class="separator:ga75d4ba5883cb39e7ec7927891a12615e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:a60e5c2863bb763524cbc65eaea515adb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table>105 </table>
85 <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>
86 <div·class="textblock"><p·>Macro·for·wrapping·boundary·checks.·</p>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>
87 </div></div><!--·contents·-->110 </div></div><!--·contents·-->
88 <!--·start·footer·part·-->111 <!--·start·footer·part·-->
89 <hr·class="footer"/><address·class="footer"><small>112 <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.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
91 </small></address>114 </small></address>
92 </body>115 </body>
93 </html>116 </html>
1.69 KB
html2text {}
    
Offset 4, 22 lines modifiedOffset 4, 46 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...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>
 14 #include·<string>
10 #include·<dune/common/exceptions.hh>15 #include·<dune/common/typetraits.hh>
 16 #include·<dune/common/std/type_traits.hh>
 17 #include·<dune/common/parallel/mpitraits.hh>
11 Go_to_the_source_code_of_this_file.18 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...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 ·Namespaces
 29 namespace· Dune
 30  ··········Dune·namespace.
 31  
 32 ·Functions
 33 template<class·T·>
 34 auto Dune::getMPIData·(T·&t)
16  35  
17 *****·Detailed·Description·*****36 *****·Detailed·Description·*****
18 Macro·for·wrapping·boundary·checks.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.
  
19 ===============================================================================43 ===============================================================================
20 ·····Generated·by [doxygen]·1.9.444 ·····Generated·by [doxygen]·1.9.4
40.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00080_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:·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, 46 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">boundschecking.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="a00080.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="a00080.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> 
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>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="a00143.html">dune/common/exceptions.hh</a>&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>
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>·</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;vector&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;string&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>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#if·HAVE_MPI</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>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="a00014.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="a00287.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="a00074.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>
 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>
 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>
87 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#else</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>
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>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>
89 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#endif</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>
 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>
 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>
 155 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 156 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="keyword">protected</span>:</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>
Max diff block lines reached; 271/34795 bytes (0.78%) of diff not shown.
6.42 KB
html2text {}
    
Offset 4, 39 lines modifiedOffset 4, 219 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 boundschecking.hh7 ····*·parallel
 8 mpidata.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_BOUNDSCHECKING_HH 
13 ·4#define·DUNE_BOUNDSCHECKING_HH 
14 ·515 ·5
 16 ·6#ifndef·DUNE_COMMON_PARALLEL_MPIDATA_HH
 17 ·7#define·DUNE_COMMON_PARALLEL_MPIDATA_HH
 18 ·8
 19 ·9#include·<vector>
 20 ·10#include·<string>
 21 ·11
 22 ·12#if·HAVE_MPI
 23 ·13
15 ·6#include·<dune/common/exceptions.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>
16 ·727 ·17
17 ·19#ifndef·DUNE_ASSERT_BOUNDS 
18 ·20#if·defined(DUNE_CHECK_BOUNDS)·||·defined(DOXYGEN)28 ·37namespace·Dune{
 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>
 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();
 109 ·117·}
 110 118·MPI_Datatype·type()·const{
 111 ·119·return·MPITraits<typename_std::decay_t<T>::value_type>::getType();
 112 ·120·}
19 ·21113 ·121
20 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#endif114 ·122·template<class·S·=·T>
 115 123·auto·/*void*/·resize(int·size)
Max diff block lines reached; 116/6552 bytes (1.77%) of diff not shown.
14.3 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:·ftraits.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, 53 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>··</div>70 <a·href="#namespaces">Namespaces</a>·&#124;
71 ··<div·class="headertitle"><div·class="title">ftraits.hh·File·Reference</div></div>71 <a·href="#define-members">Macros</a>·&#124;
 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>
72 </div><!--header-->74 </div><!--header-->
73 <div·class="contents">75 <div·class="contents">
  
74 <p>Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)··76 <p>Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.··
75 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;complex&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 79 <code>#include·&lt;functional&gt;</code><br·/>
77 <code>#include·&lt;vector&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="a00254_source.html">dune/common/binaryfunctions.hh</a>&gt;</code><br·/>
 83 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 84 <code>#include·&lt;<a·class="el"·href="a00071_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/>
 85 <code>#include·&lt;<a·class="el"·href="a00074_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/>
 86 <code>#include·&lt;<a·class="el"·href="a00068_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00080_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code><br·/>
78 </div>88 </div>
79 <p><a·href="a00083_source.html">Go·to·the·source·code·of·this·file.</a></p>89 <p><a·href="a00083_source.html">Go·to·the·source·code·of·this·file.</a></p>
80 <table·class="memberdecls">90 <table·class="memberdecls">
81 <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>
82 Classes</h2></td></tr>92 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="a01740.html">Dune::FieldTraits&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>
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 <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> 
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="a01748.html">Dune::FieldTraits&lt;·std::complex&lt;·T·&gt;·&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="a01752.html">Dune::FieldTraits&lt;·T[N]·&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>
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="a01756.html">Dune::FieldTraits&lt;·std::vector&lt;·T·&gt;·&gt;</a></td></tr> 
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 </table><table·class="memberdecls">98 </table><table·class="memberdecls">
94 <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>
95 Namespaces</h2></td></tr>100 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>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>
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>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>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</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>
 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="a00083.html#abf4b9767826441f78c43351f92490b89">ComposeMPIOp</a>(func,··op)</td></tr>
 108 <tr·class="separator:abf4b9767826441f78c43351f92490b89"><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>
 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>
99 </table>120 </table>
100 <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>
101 <div·class="textblock"><p·>Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)·</p>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>
  
 126 <div·class="memitem">
 127 <div·class="memproto">
 128 ······<table·class="memname">
 129 ········<tr>
 130 ··········<td·class="memname">#define·ComposeMPIOp</td>
 131 ··········<td>(</td>
 132 ··········<td·class="paramtype">&#160;</td>
 133 ··········<td·class="paramname">func,·</td>
 134 ········</tr>
 135 ········<tr>
 136 ··········<td·class="paramkey"></td>
 137 ··········<td></td>
 138 ··········<td·class="paramtype">&#160;</td>
 139 ··········<td·class="paramname">op&#160;</td>
 140 ········</tr>
 141 ········<tr>
 142 ··········<td></td>
 143 ··········<td>)</td>
 144 ··········<td></td><td></td>
 145 ········</tr>
 146 ······</table>
 147 </div><div·class="memdoc">
 148 <b>Value:</b><div·class="fragment"><div·class="line">··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keyword">class</span>·S&gt;············································\</div>
 149 <div·class="line">··class·Generic_MPI_Op&lt;T,·func&lt;S&gt;,·std::enable_if_t&lt;MPITraits&lt;S&gt;::is_intrinsic&gt;·&gt;{·\</div>
 150 <div·class="line">··public:·······························································\</div>
 151 <div·class="line">··static·MPI_Op·<a·class="code·hl_function"·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">get</a>(){··················································\</div>
 152 <div·class="line">····return·op;··························································\</div>
 153 <div·class="line">··}·····································································\</div>
 154 <div·class="line">··private:······························································\</div>
 155 <div·class="line">··Generic_MPI_Op·()·{}··················································\</div>
 156 <div·class="line">··Generic_MPI_Op·(<span·class="keyword">const</span>·Generic_MPI_Op·&amp;·)·{}···························\</div>
 157 <div·class="line">··}</div>
 158 <div·class="ttc"·id="aa00425_html_a422c8e50ed4f40b534187b8fb83fbf3d"><div·class="ttname"><a·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">Dune::get</a></div><div·class="ttdeci">Reference·get(const·RAPropertyMapHelper&lt;·Reference,·PropertyMap·&gt;·&amp;pmap,·const·Key·&amp;key)</div><div·class="ttdef"><b>Definition:</b>·propertymap.hh:84</div></div>
 159 </div><!--·fragment·-->
Max diff block lines reached; 243/12093 bytes (2.01%) of diff not shown.
2.37 KB
html2text {}
    
Offset 4, 34 lines modifiedOffset 4, 73 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces 
8 ftraits.hh·File·Reference 
9 Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers) 
10 More... 
11 #include·<complex>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>
12 #include·<vector>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>
13 Go_to_the_source_code_of_this_file.23 Go_to_the_source_code_of_this_file.
14 ·Classes24 ·Classes
15 struct· Dune::FieldTraits<_T_>25 class· Dune::Generic_MPI_Op<_Type,_BinaryFunction,_Enable_>
16  26  
 27 class· Dune::Communication<_MPI_Comm_>
 28  ······Specialization·of·Communication·for·MPI.·More...
17 struct· Dune::FieldTraits<_const_T_> 
18   
19 struct· Dune::FieldTraits<_std::complex<_T_>_> 
20   
21 struct· Dune::FieldTraits<_T[N]_> 
22   
23 struct· Dune::FieldTraits<_std::vector<_T_>_> 
24  29  
25 ·Namespaces30 ·Namespaces
26 namespace· Dune31 namespace· Dune
27  ··········Dune·namespace.32  ··········Dune·namespace.
28  33  
 34 ·Macros
 35 #define ComposeMPIOp(func,·op)
 36  
 37 ·Functions
 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)
 45  
29 *****·Detailed·Description·*****46 *****·Detailed·Description·*****
30 Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)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
  
31 ===============================================================================70 ===============================================================================
32 ·····Generated·by [doxygen]·1.9.471 ·····Generated·by [doxygen]·1.9.4
132 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:·ftraits.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, 84 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">ftraits.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="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_FTRAITS_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_FTRAITS_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="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="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</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="a00254.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="a00341.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="a00071.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="a00074.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="a00068.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="a00080.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>
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>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>
82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</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>94 <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>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</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> 
92 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div>95 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</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:·160,·SHA:·b84728816d4b427c85256224b399aa378a62295e1de34a79a0441fc5e8c6b714·...·]</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>
95 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</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>
96 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>103 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</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>104 <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_t[·...·truncated·by·diffoscope;·len:·8,·SHA:·58ac8a624a9c048bc79ce0bac6e6504e7bbcdfcf8cd230e456ff5561b943ed28·...·]</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>
102 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··};</div>107 <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>108 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······<span·class="keywordflow">if</span>·(!op)</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> 
106 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{</div>109 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</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#ab1c[·...·truncated·by·diffoscope;·len:·160,·SHA:·bd483006cd911764ac56041d12d511a7529a9f5c959bc62514020ec8300299ca·...·];</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>
109 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··};</div>116 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······}</div>
110 <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>117 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······<span·class="keywordflow">return</span>·*op;</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>118 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····}</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#ab1c1[·...·truncated·by·diffoscope;·len:·160,·SHA:·5f7cbd755f0a3c0a63dddf9bed8b8ea78796457ff4864a1c1e8db64bd963b685·...·]</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>
116 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··};</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>
117 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>123 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</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>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>
119 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</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="a00083.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>
Max diff block lines reached; 22280/110260 bytes (20.21%) of diff not shown.
23.9 KB
html2text {}
    
Offset 4, 102 lines modifiedOffset 4, 666 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ftraits.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_FTRAITS_HH 
15 ·6#define·DUNE_FTRAITS_HH15 ·5#ifndef·DUNE_COMMON_PARALLEL_MPICOMMUNICATION_HH
 16 ·6#define·DUNE_COMMON_PARALLEL_MPICOMMUNICATION_HH
16 ·717 ·7
17 ·12#include·<complex>18 ·16#if·HAVE_MPI
 19 ·17
 20 ·18#include·<algorithm>
 21 ·19#include·<functional>
18 ·13#include·<vector>22 ·20#include·<memory>
19 ·1423 ·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
20 ·15namespace·Dune·{33 ·31namespace·Dune
21 ·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 ·3234 ·32{
29 ·33·template<class·T> 
30 34·struct·FieldTraits<const·T>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)·{
Max diff block lines reached; 9051/24445 bytes (37.03%) of diff not shown.
7.96 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:·filledarray.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, 47 lines modifiedOffset 58, 55 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="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>·&#124;
70 <a·href="#func-members">Functions</a>··</div>71 <a·href="#enum-members">Enumerations</a>··</div>
71 ··<div·class="headertitle"><div·class="title">filledarray.hh·File·Reference</div></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·to·generate·an·array·with·a·certain·value.··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;array&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
77 <code>#include·&lt;cstddef&gt;</code><br·/> 
78 </div>78 </div>
79 <p><a·href="a00086_source.html">Go·to·the·source·code·of·this·file.</a></p>79 <p><a·href="a00086_source.html">Go·to·the·source·code·of·this·file.</a></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>
 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">
81 <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>
82 Namespaces</h2></td></tr>88 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>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>
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>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>
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 </table><table·class="memberdecls">92 </table><table·class="memberdecls">
87 <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="enum-members"·name="enum-members"></a>
88 Functions</h2></td></tr>94 Enumerations</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>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="e[·...·truncated·by·diffoscope;·len:·105,·SHA:·54b87e5a46b123f2a222d2b8f8af2f56545edde89bc0105d7f02781809e901e1·...·]>
 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>
92 <tr·class="separator:ga46cb139c38212292b2f30c3b2743aa48"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:ga4f24bf6f596bf963429e084ecf3a0835"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 </table>100 </table>
94 <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>
95 <div·class="textblock"><p·>Utility·to·generate·an·array·with·a·certain·value.·</p>102 <div·class="textblock"><p·>Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.·</p>
 103 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
96 </div></div><!--·contents·-->104 </div></div><!--·contents·-->
97 <!--·start·footer·part·-->105 <!--·start·footer·part·-->
98 <hr·class="footer"/><address·class="footer"><small>106 <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.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
100 </small></address>108 </small></address>
101 </body>109 </body>
102 </html>110 </html>
1.3 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 Namespaces·|·Functions 
8 filledarray.hh·File·Reference 
9 Utility·to·generate·an·array·with·a·certain·value.·More... 
10 #include·<array>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·<cstddef>12 #include·<cstddef>
12 Go_to_the_source_code_of_this_file.13 Go_to_the_source_code_of_this_file.
 14 ·Classes
 15 class· Dune::LocalIndex
 16  ······An·index·present·on·the·local·process.·More...
 17  
13 ·Namespaces18 ·Namespaces
14 namespace· Dune19 namespace· Dune
15  ··········Dune·namespace.20  ··········Dune·namespace.
16  21  
 22 ·Enumerations
 23 enum· Dune::LocalIndexState·{·Dune::VALID·,·Dune::DELETED·}
 24  ·····The·states·available·for·the·local·indices.·More...
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  25  
23 *****·Detailed·Description·*****26 *****·Detailed·Description·*****
24 Utility·to·generate·an·array·with·a·certain·value.27 Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.
 28 ··Author
 29 ······Markus·Blatt
  
25 ===============================================================================30 ===============================================================================
26 ·····Generated·by [doxygen]·1.9.431 ·····Generated·by [doxygen]·1.9.4
24.6 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:·filledarray.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, 50 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">filledarray.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="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>·</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">#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_FILLED_ARRAY_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>
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="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;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>
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>
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>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>
83 <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>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
84 <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="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#ga46cb139c3821229[·...·truncated·by·diffoscope;·len:·79,·SHA:·6a0f0c4153cea46d5baf6c513a02aa0a34919de8cc48395d49d5311c0f4964e2·...·]</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#ga4f24bf[·...·truncated·by·diffoscope;·len:·307,·SHA:·945a547e293846d31a23ea4e6733d2a1a2d189e2a7c6099bab57f343a92dc76a·...·]</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>
 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>
87 <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>
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> 
92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keywordflow">return</span>·arr;</div>90 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">public</span>:</div>
93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</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>
94 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>93 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</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> 
96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>94 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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>
 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>
 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>
 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>
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>139 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</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:·108,·SHA:·e81367d028483619be5d86d518d8ecfb3d707de82810a6c6b7f3b318f929597c·...·]</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>
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>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>
 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>
100 </div><!--·fragment·--></div><!--·contents·-->151 </div><!--·fragment·--></div><!--·contents·-->
101 <!--·start·footer·part·-->152 <!--·start·footer·part·-->
102 <hr·class="footer"/><address·class="footer"><small>153 <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.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
104 </small></address>155 </small></address>
105 </body>156 </body>
106 </html>157 </html>
3.52 KB
html2text {}
    
Offset 4, 47 lines modifiedOffset 4, 123 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 filledarray.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
14 ·515 ·5
15 ·6#ifndef·DUNE_COMMON_FILLED_ARRAY_HH16 ·6#ifndef·DUNE_COMMON_LOCALINDEX_HH
16 ·7#define·DUNE_COMMON_FILLED_ARRAY_HH17 ·7#define·DUNE_COMMON_LOCALINDEX_HH
17 ·818 ·8
18 ·13#include·<array> 
19 ·14#include·<cstddef>19 ·9#include·<cstddef>
20 ·1520 ·10
21 ·16namespace·Dune21 ·11namespace·Dune
22 ·17{22 ·12{
23 ·24 
24 ·32·template<std::size_t·n,·class·T> 
25 33·constexpr·std::array<T,·n>·filledArray(const·T&·t)23 ·13
 24 ·14
 25 28·enum·LocalIndexState·{VALID,·DELETED};
 26 ·29
 27 ·30
 28 34·class·LocalIndex
26 ·34·{29 ·35·{
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; 
32 ·40·} 
33 ·4130 ·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 ·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 ·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
34 ·44}·//·end·namespace·Dune77 ·120}·//·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. 
40 Definition:·filledarray.hh:3378 ·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
 94 get·the·local·index.
 95 Definition:·localindex.hh:97
 96 Dune::LocalIndex::setState
 97 void·setState(LocalIndexState·state)
 98 Set·the·state.
 99 Definition:·localindex.hh:114
 100 Dune::VALID
 101 @·VALID
 102 Definition:·localindex.hh:28
 103 Dune::DELETED
 104 @·DELETED
 105 Definition:·localindex.hh:28
41 Dune106 Dune
42 Dune·namespace.107 Dune·namespace.
43 Definition:·alignedallocator.hh:13108 Definition:·alignedallocator.hh:13
 109 Dune::LocalIndex
 110 An·index·present·on·the·local·process.
 111 Definition:·localindex.hh:35
 112 Dune::LocalIndex::LocalIndex
Max diff block lines reached; 116/3581 bytes (3.24%) of diff not shown.
18.3 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:·visibility.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, 75 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>··</ul>64 <li·class="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">visibility.hh·File·Reference</div></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 <p>Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.··75 <p>Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local·communication.··
74 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
 77 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00065_source.html">indexset.hh</a>&quot;</code><br·/>
 78 <code>#include·&quot;<a·class="el"·href="a00038_source.html">remoteindices.hh</a>&quot;</code><br·/>
 79 <code>#include·&lt;<a·class="el"·href="a00332_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00326_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·/>
 88 </div>
75 <p><a·href="a00089_source.html">Go·to·the·source·code·of·this·file.</a></p>89 <p><a·href="a00089_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">
 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 </table><table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
78 Macros</h2></td></tr>104 Functions</h2></td></tr>
79 <tr·class="memitem:a392e8fb5628732502467b715b88974b4"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00089.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>&#160;&#160;&#160;implementation_defined</td></tr> 
80 <tr·class="memdesc:a392e8fb5628732502467b715b88974b4"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Export·a·symbol·as·part·of·the·public·ABI.··<a·href="a00089.html#a392e8fb5628732502467b715b88974b4">More...</a><br·/></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>
81 <tr·class="separator:a392e8fb5628732502467b715b88974b4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:gaf61fa30bf15e87a0f910b9068f775067"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 <tr·class="memitem:ab9e9adaae1a11e7546a1b712495d1f42"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00089.html#ab9e9adaae1a11e7546a1b712495d1f42">DUNE_PRIVATE</a>&#160;&#160;&#160;implementation_defined</td></tr> 
83 <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="a00089.html#ab9e9adaae1a11e7546a1b712495d1f42">More...</a><br·/></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>
84 <tr·class="separator:ab9e9adaae1a11e7546a1b712495d1f42"><td·class="memSeparator"·colspan="2">&#160;</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>
86 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>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>
87 <div·class="textblock"><p·>Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.·</p> 
88 </div><h2·class="groupheader">Macro·Definition·Documentation</h2> 
89 <a·id="a392e8fb5628732502467b715b88974b4"·name="a392e8fb5628732502467b715b88974b4"></a> 
90 <h2·class="memtitle"><span·class="permalink"><a·href="#a392e8fb5628732502467b715b88974b4">&#9670;&nbsp;</a></span>DUNE_EXPORT</h2> 
  
91 <div·class="memitem"> 
92 <div·class="memproto"> 
93 ······<table·class="memname"> 
94 ········<tr> 
95 ··········<td·class="memname">#define·DUNE_EXPORT&#160;&#160;&#160;implementation_defined</td> 
96 ········</tr> 
97 ······</table> 
98 </div><div·class="memdoc"> 
  
99 <p>Export·a·symbol·as·part·of·the·public·ABI.·</p> 
100 <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> 
  
101 </div> 
102 </div> 
103 <a·id="ab9e9adaae1a11e7546a1b712495d1f42"·name="ab9e9adaae1a11e7546a1b712495d1f42"></a> 
104 <h2·class="memtitle"><span·class="permalink"><a·href="#ab9e9adaae1a11e7546a1b712495d1f42">&#9670;&nbsp;</a></span>DUNE_PRIVATE</h2> 
  
105 <div·class="memitem"> 
106 <div·class="memproto"> 
107 ······<table·class="memname"> 
108 ········<tr> 
109 ··········<td·class="memname">#define·DUNE_PRIVATE&#160;&#160;&#160;implementation_defined</td> 
110 ········</tr> 
111 ······</table> 
112 </div><div·class="memdoc"> 
Max diff block lines reached; 243/14621 bytes (1.66%) of diff not shown.
3.89 KB
html2text {}
    
Offset 4, 38 lines modifiedOffset 4, 80 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 ····*·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>
 20 #include·<algorithm>
 21 #include·<functional>
 22 #include·<map>
 23 #include·<tuple>
10 Go_to_the_source_code_of_this_file.24 Go_to_the_source_code_of_this_file.
11 ·Macros 
12 #define DUNE_EXPORT   implementation_defined 
13  ·······Export·a·symbol·as·part·of·the·public·ABI.·More...25 ·Classes
 26 class· Dune::IndicesSyncer<_T_>
 27  ······Class·for·recomputing·missing·indices·of·a·distributed·index·set.
 28 ········More...
14  29  
15 #define DUNE_PRIVATE   implementation_defined 
16  ·······Mark·a·symbol·as·being·for·internal·use·within·the·current·DSO·only.30 ·Namespaces
 31 namespace· Dune
 32  ··········Dune·namespace.
 33  
 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.
17 ·········More...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  
19 *****·Detailed·Description·*****72 *****·Detailed·Description·*****
 73 Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local
 74 communication.
 75 ··Author
 76 ······Markus·Blatt
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! 
  
35 ===============================================================================77 ===============================================================================
36 ·····Generated·by [doxygen]·1.9.478 ·····Generated·by [doxygen]·1.9.4
209 KB
./usr/share/doc/libdune-common-doc/doxygen/a00089_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:·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, 52 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>··</ul>64 <li·class="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">visibility.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="a00089.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="a00089.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_VISIBILITY_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_VISIBILITY_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 (968 lines added, 24 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="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#ifdef·DOXYGEN</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="a00065.html">indexset.hh</a>&quot;</span></div>
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</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="a00038.html">remoteindices.hh</a>&quot;</span></div>
80 <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><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00332.html">dune/common/stdstreams.hh</a>&gt;</span></div>
81 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><a·class="line"·href="a00089.html#a392e8fb5628732502467b715b88974b4">···20</a></span><span·class="preprocessor">#define·DUNE_EXPORT·implementation_defined</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="a00326.html">dune/common/sllist.hh</a>&gt;</span></div>
82 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</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="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><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
84 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00089.html#ab9e9adaae1a11e7546a1b712495d1f42">···28</a></span><span·class="preprocessor">#define·DUNE_PRIVATE·implementation_defined</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="l00029"·name="l00029"></a><span·class="lineno">···29</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="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#else·</span><span·class="comment">//·DOXYGEN</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>
87 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</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>
88 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#if·__GNUC__·&gt;=·4</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>
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>89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
90 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·attribute</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>
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>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="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#define·DUNE_PRIVATE·__attribute__((visibility(&quot;hidden&quot;</span>)))</div>92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>
93 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#else</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="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>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="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#define·DUNE_EXPORT</span></div>95 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</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="l00042"·name="l00042"></a><span·class="lineno">···42</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="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
98 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</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">Para[·...·truncated·by·diffoscope;·len:·17,·SHA:·089e1810158f11552db64b5d73c3f445b8b3dac3a0d4e443458e26df1fe8a619·...·]</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>99 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
100 <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="a00416.html#gae01c9c9d98e213ba18897c0fc69dba78">···48</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_class"·href="a02092.html">Paral[·...·truncated·by·diffoscope;·len:·122,·SHA:·167b812e7cb540b3b0e84e45ae78256ee5b4399dbafa084416902edf9493e4c9·...·]</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>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; 271/174677 bytes (0.16%) of diff not shown.
38.7 KB
html2text {}
    
Offset 4, 46 lines modifiedOffset 4, 1171 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 visibility.hh7 ····*·parallel
 8 indicessyncer.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_VISIBILITY_HH 
15 ·6#define·DUNE_COMMON_VISIBILITY_HH15 ·5#ifndef·DUNE_INDICESSYNCER_HH
 16 ·6#define·DUNE_INDICESSYNCER_HH
Diff chunk too large, falling back to line-by-line diff (1150 lines added, 26 lines removed)
16 ·717 ·7
17 ·12#ifdef·DOXYGEN18 ·8#include·"indexset.hh"
18 ·1319 ·9#include·"remoteindices.hh"
19 ·1520 ·10#include·<dune/common/stdstreams.hh>
20 20#define·DUNE_EXPORT·implementation_defined21 ·11#include·<dune/common/sllist.hh>
21 ·2122 ·12#include·<cassert>
22 ·2323 ·13#include·<cmath>
23 28#define·DUNE_PRIVATE·implementation_defined24 ·14#include·<limits>
24 ·2925 ·15#include·<algorithm>
25 ·30#else·//·DOXYGEN26 ·16#include·<functional>
26 ·3127 ·17#include·<map>
27 ·32#if·__GNUC__·>=·428 ·18#include·<tuple>
28 ·33//·GCC·and·Clang·both·define·__GNUC__·to·4·and·they·both·support·the29 ·19
29 visibility30 ·20#if·HAVE_MPI
30 ·34//·attribute31 ·21namespace·Dune
31 ·35#define·DUNE_EXPORT·__attribute__((visibility("default")))32 ·22{
32 ·36#define·DUNE_PRIVATE·__attribute__((visibility("hidden")))33 ·39·template<typename·T>
33 ·37#else34 40·class·IndicesSyncer
34 ·38//·We·don't·know·about·the·active·compiler,·so·just·turn·the·visibility35 ·41·{
35 macros·to·no-ops.36 ·42·public:
36 ·39#define·DUNE_EXPORT37 ·43
37 ·40#define·DUNE_PRIVATE38 45·typedef·T·ParallelIndexSet;
38 ·41#endif39 ·46
39 ·4240 48·typedef·typename·ParallelIndexSet::IndexPair·IndexPair;
40 ·43#endif·//·DOXYGEN41 ·49
41 ·4442 51·typedef·typename·ParallelIndexSet::GlobalIndex·GlobalIndex;
42 ·45#endif·//·DUNE_COMMON_VISIBILITY43 ·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;
 124 ·221
Max diff block lines reached; 116/39638 bytes (0.29%) of diff not shown.
8.75 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:·stringutility.hh·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 63, 57 lines modifiedOffset 63, 38 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">stringutility.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">alignedallocator.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="a00188_source.html">mallocallocator.hh</a>&quot;</code><br·/>
  
75 <p>Miscellaneous·helper·stuff.·· 
76 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&lt;cstddef&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·/>76 <code>#include·&lt;cstdlib&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="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
86 </div>77 </div>
87 <p><a·href="a00092_source.html">Go·to·the·source·code·of·this·file.</a></p>78 <p><a·href="a00092_source.html">Go·to·the·source·code·of·this·file.</a></p>
88 <table·class="memberdecls">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">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>
 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>
 86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 87 </table><table·class="memberdecls">
89 <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>
90 Namespaces</h2></td></tr>89 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>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>
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>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>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <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> 
109 </table>93 </table>
110 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
111 <div·class="textblock"><p·>Miscellaneous·helper·stuff.·</p> 
112 </div></div><!--·contents·-->94 </div><!--·contents·-->
113 <!--·start·footer·part·-->95 <!--·start·footer·part·-->
114 <hr·class="footer"/><address·class="footer"><small>96 <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.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
116 </small></address>98 </small></address>
117 </body>99 </body>
118 </html>100 </html>
1.54 KB
html2text {}
    
Offset 4, 45 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
 8 alignedallocator.hh·File·Reference
 9 #include·"mallocallocator.hh"
7 Namespaces·|·Functions 
8 stringutility.hh·File·Reference 
9 Miscellaneous·helper·stuff.·More... 
10 #include·<cstddef> 
11 #include·<cstring> 
12 #include·<algorithm> 
13 #include·<cassert> 
14 #include·<cstdio>10 #include·<cstdlib>
15 #include·<memory> 
16 #include·<string> 
17 #include·<new> 
18 #include·<dune/common/exceptions.hh> 
19 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
 12 ·Classes
 13 ·class· Dune::AlignedAllocator<_T,_Alignment_>
 14  ·······Allocators·which·guarantee·alignment·of·the·memory.·More...
 15  
 16 struct· Dune::AlignedAllocator<_T,_Alignment_>::rebind<_U_>
 17  
20 ·Namespaces18 ·Namespaces
21 namespace· Dune19 namespace· Dune
22  ··········Dune·namespace.20  ··········Dune·namespace.
23  21  
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   
40 *****·Detailed·Description·***** 
41 Miscellaneous·helper·stuff. 
  
42 ===============================================================================22 ===============================================================================
43 ·····Generated·by [doxygen]·1.9.423 ·····Generated·by [doxygen]·1.9.4
40.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00092_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:·stringutility.hh·Source·File</title>8 <title>dune-common:·alignedallocator.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, 103 lines modifiedOffset 62, 114 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">stringutility.hh</div></div>68 ··<div·class="headertitle"><div·class="title">alignedallocator.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
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>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_COMMON_STRINGUTILITY_HH</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>
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>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>
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="a00188.html">mallocallocator.hh</a>&quot;</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="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>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstdlib&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> 
84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;string&gt;</span></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> 
86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</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="a00143.html">dune/common/exceptions.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"><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"·href="a01900.html">MallocAllocator</a>&lt;T&gt;·{</div>
88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</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="preprocessor">#if·__APPLE__</span></div>
89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>89 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</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>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>
91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>101 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</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> 
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>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>
96 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>···········std::equal(prefix,·prefix+len,·c.begin());</div>103 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>········?·fixAlignment(align·&lt;&lt;·1)·:·align;</div>
97 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··}</div>104 <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>105 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</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> 
104 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····std::advance(it,·c.size()·-·len);</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> 
106 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</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> 
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> 
113 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</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> 
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> 
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> 
118 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordflow">if</span>·(r&lt;0)</div>106 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#else</span></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;</span>);</div> 
120 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>107 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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>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>
 117 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#endif</span></div>
 118 <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>
 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>
 125 <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="code·hl_variable"·href="a01268.html#a88a3488574a3f40fc04154021a361cd3">alignment</a>·=·fixAlignment(<span·class="keyword">sizeof</span>(<span·class="keywordtype">void</span>*));</div>
 127 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</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>
 141 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······<span·class="comment">/*</span></div>
Max diff block lines reached; 3951/34112 bytes (11.58%) of diff not shown.
6.93 KB
html2text {}
    
Offset 4, 119 lines modifiedOffset 4, 137 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 stringutility.hh7 alignedallocator.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_ALIGNED_ALLOCATOR_HH
 15 ·6#define·DUNE_ALIGNED_ALLOCATOR_HH
16 ·716 ·7
 17 ·8#include·"mallocallocator.hh"
17 ·12#include·<cstddef> 
18 ·13#include·<cstring> 
19 ·14#include·<algorithm> 
20 ·15#include·<cassert> 
21 ·16#include·<cstdio>18 ·9#include·<cstdlib>
 19 ·10
 20 ·11
22 ·17#include·<memory> 
23 ·18#include·<string> 
24 ·19#include·<new> 
25 ·20 
26 ·21#include·<dune/common/exceptions.hh> 
27 ·22 
28 ·23 
29 ·24namespace·Dune·{21 12namespace·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());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·{
 41 ·39·return·((Alignment==-1)·?·std::alignment_of<T>::value·:·Alignment)·>·align
 42 ·40·?·fixAlignment(align·<<·1)·:·align;
36 ·41·}43 ·41·}
37 ·4244 ·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 ·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;
45 ·59·}55 ·52·}
46 ·60 
47 ·72·template<class...·T> 
48 73·static·std::string·formatString(const·std::string&·s,·const·T&...·args)56 ·53
 57 ·54#endif
 58 ·55
 59 ·56·public:
 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 ·62
 66 63·static·constexpr·int·alignment·=·fixAlignment(sizeof(void*));
 67 ·64
 68 66·pointer·allocate(size_type·n,·[[maybe_unused]]·const·void*·hint·=·0)
49 ·74·{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
 78 ·76·size_type·size·=·n·*·sizeof(T);
 79 ·77#endif
 80 ·78
 81 ·79·/*
 82 ·80·*·Everybody·else·gets·the·standard·treatment.
 83 ·81·*/
 84 ·82·pointer·ret·=·static_cast<pointer>(std::aligned_alloc(alignment,·size));
 85 ·83·if·(!ret)
 86 ·84·throw·std::bad_alloc();
 87 ·85
 88 ·86·return·ret;
 89 ·87·}
 90 ·88·};
 91 ·89
 92 ·90}
 93 ·91
 94 ·92#endif·//·DUNE_ALIGNED_ALLOCATOR_HH
 95 mallocallocator.hh
 96 Allocators·that·use·malloc/free.
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...); 
Max diff block lines reached; 1458/7068 bytes (20.63%) of diff not shown.
11.2 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:·to_unique_ptr.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 63, 44 lines modifiedOffset 63, 64 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="#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>
72 <a·href="#func-members">Functions</a>··</div> 
73 ··<div·class="headertitle"><div·class="title">to_unique_ptr.hh·File·Reference</div></div> 
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
 76 <p>Defines·several·output·streams·for·messages·of·different·importance.··
 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;iostream&gt;</code><br·/>
 79 <code>#include·&lt;stack&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
77 </div>81 </div>
78 <p><a·href="a00095_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00095_source.html">Go·to·the·source·code·of·this·file.</a></p>
79 <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="a01376.html">Dune::greater_or_equal&lt;·current,·threshold·&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>
 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>
 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>
 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>
 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>
 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>
 96 <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>
 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>
 103 </table><table·class="memberdecls">
80 <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>
81 Namespaces</h2></td></tr>105 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>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>
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>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>
84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table><table·class="memberdecls">109 </table><table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>110 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
87 Typedefs</h2></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>
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>114 <tr·class="separator:ga7b78ef57d1b77933ab277ebe66c79d94"><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="func-members"·name="func-members"></a> 
94 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> 
98 <tr·class="separator:a6eaf1fedf356f1f09c981cd6863fbb7b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
99 </table>115 </table>
 116 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 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>
100 </div><!--·contents·-->119 </div></div><!--·contents·-->
101 <!--·start·footer·part·-->120 <!--·start·footer·part·-->
102 <hr·class="footer"/><address·class="footer"><small>121 <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.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
104 </small></address>123 </small></address>
105 </body>124 </body>
106 </html>125 </html>
2.0 KB
html2text {}
    
Offset 4, 29 lines modifiedOffset 4, 49 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 
9 #include·<memory>7 Classes·|·Namespaces·|·Typedefs
 8 debugstream.hh·File·Reference
 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>
10 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
 15 ·Classes
 16 struct· Dune::greater_or_equal<_current,_threshold_>
 17  ·······Greater·or·equal·template·test.·More...
 18  
 19 struct· Dune::common_bits<_current,_mask_>
 20  ·······activate·if·current·and·mask·have·common·bits·switched·on.·More...
 21  
 22 ·class· Dune::DebugStreamError
 23  ·······standard·exception·for·the·debugstream·More...
 24  
 25 ·class· Dune::StreamWrap
 26  
 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  
11 ·Namespaces33 ·Namespaces
12 namespace· Dune34 namespace· Dune
13  ··········Dune·namespace.35  ··········Dune·namespace.
14  36  
15 ·Typedefs37 ·Typedefs
 38 typedef·unsigned·int Dune::DebugLevel
 39  ····················Type·for·debug·levels.·More...
16 template<class·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... 
25  40  
 41 *****·Detailed·Description·*****
 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
  
26 ===============================================================================46 ===============================================================================
27 ·····Generated·by [doxygen]·1.9.447 ·····Generated·by [doxygen]·1.9.4
72.7 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:·to_unique_ptr.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, 46 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">to_unique_ptr.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="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>·</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_TO_UNIQUE_PTR_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_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_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">#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="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>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>81 <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><span·class="preprocessor">#include·&lt;memory&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="a00341.html">dune/common/exceptions.hh</a>&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>·</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="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>85 <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">make[·...·truncated·by·diffoscope;·len:·37,·SHA:·431cf8c4e2e787aa8e035cd965ac96cf3d8ec6663fabdc3b003efe8ce8a75ad8·...·]</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[·...·truncated·by·diffoscope;·len:·88,·SHA:·833b77b6159b4efdc4927e2003c0d635a6fe0cef7cb79c3aed71260fcea7ae91·...·]</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>
90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··{</div>93 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</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>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>
92 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··}</div>134 <div·class="line"><a·id="l00206"·name="l00206"></a><span·class="lineno">··206</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="comment">//·end·namespace·Dune</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>
95 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</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>
Max diff block lines reached; 2781/63047 bytes (4.41%) of diff not shown.
11.0 KB
html2text {}
    
Offset 4, 51 lines modifiedOffset 4, 381 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 to_unique_ptr.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_TO_UNIQUE_PTR_HH 
16 ·7#define·DUNE_TO_UNIQUE_PTR_HH15 ·6#ifndef·DUNE_DEBUGSTREAM_HH
 16 ·7#define·DUNE_DEBUGSTREAM_HH
17 ·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 
21 ·11#include·<memory> 
22 ·1218 ·13#include·<iostream>
 19 ·14#include·<stack>
 20 ·15
 21 ·16#include·<dune/common/exceptions.hh>
 22 ·17
23 ·13namespace·Dune23 ·18namespace·Dune·{
24 ·14{ 
25 ·17·template·<class·T> 
26 18·using·ToUniquePtr·[[deprecated]]·=·std::unique_ptr<T>; 
27 ·1924 ·19
28 ·22·template·<class·T,·class...·Args> 
29 23·[[deprecated]]·std::unique_ptr<T>·makeToUnique·(Args&&...·args)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 ·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·{
 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()
30 ·24·{99 ·244·{
31 ·25·return·std::make_unique(std::forward<Args>(args)...);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;
Max diff block lines reached; 1138/11226 bytes (10.14%) of diff not shown.
7.91 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:·shared_ptr.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, 58 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>·&#124;70 <a·href="#namespaces">Namespaces</a>··</div>
72 <a·href="#func-members">Functions</a>··</div> 
73 ··<div·class="headertitle"><div·class="title">shared_ptr.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">ios_state.cc·File·Reference</div></div>
74 </div><!--header-->72 </div><!--header-->
75 <div·class="contents">73 <div·class="contents">
  
76 <p>This·file·implements·several·utilities·related·to·std::shared_ptr.·· 
77 <a·href="#details">More...</a></p> 
78 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/> 
79 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>74 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00176_source.html">dune/common/ios_state.hh</a>&gt;</code><br·/>
80 </div> 
81 <p><a·href="a00098_source.html">Go·to·the·source·code·of·this·file.</a></p> 
82 <table·class="memberdecls">75 </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="a02588.html">Dune::null_deleter&lt;·T·&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> 
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="namespaces"·name="namespaces"></a>76 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
90 Namespaces</h2></td></tr>77 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>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>
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>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>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <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> 
109 </table>81 </table>
110 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
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> 
113 </div></div><!--·contents·-->82 </div><!--·contents·-->
114 <!--·start·footer·part·-->83 <!--·start·footer·part·-->
115 <hr·class="footer"/><address·class="footer"><small>84 <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.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
117 </small></address>86 </small></address>
118 </body>87 </body>
119 </html>88 </html>
1.3 KB
html2text {}
    
Offset 4, 42 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·|·Functions 
8 shared_ptr.hh·File·Reference 
9 This·file·implements·several·utilities·related·to·std::shared_ptr.·More... 
10 #include·<memory> 
11 #include·<dune/common/typetraits.hh>9 #include·<dune/common/ios_state.hh>
12 Go_to_the_source_code_of_this_file. 
13 ·Classes 
14 struct· Dune::null_deleter<_T_> 
15  ·······implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything 
16 ·········More... 
17   
18 ·Namespaces10 ·Namespaces
19 namespace· Dune11 namespace· Dune
20  ··········Dune·namespace.12  ··········Dune·namespace.
21  13  
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   
35 *****·Detailed·Description·***** 
36 This·file·implements·several·utilities·related·to·std::shared_ptr. 
37 ··Author 
38 ······Markus·Blatt 
  
39 ===============================================================================14 ===============================================================================
40 ·····Generated·by [doxygen]·1.9.415 ·····Generated·by [doxygen]·1.9.4
16.8 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:·deprecated.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 63, 35 lines modifiedOffset 63, 90 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">concept.hh·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.··76 <p>Infrastructure·for·concepts.··
75 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
 78 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>
 79 <code>#include·&lt;utility&gt;</code><br·/>
 80 <code>#include·&lt;tuple&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/>
 82 <code>#include·&lt;<a·class="el"·href="a00242_source.html">dune/common/typelist.hh</a>&gt;</code><br·/>
 83 <code>#include·&lt;<a·class="el"·href="a00200_source.html">dune/common/tupleutility.hh</a>&gt;</code><br·/>
 84 <code>#include·&lt;<a·class="el"·href="a00287_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>
 85 </div>
76 <p><a·href="a00101_source.html">Go·to·the·source·code·of·this·file.</a></p>86 <p><a·href="a00101_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="nested-classes"·name="nested-classes"></a>
 89 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="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>
 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>
 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>
 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>
 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">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
79 Macros</h2></td></tr>104 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>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>
82 <tr·class="separator:ga74d440d098178dc5a4adea8f7c160e99"><td·class="memSeparator"·colspan="2">&#160;</td></tr>135 <tr·class="separator:a7d39e8ecc39ad89d9b47c1ccf9873a54"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 <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> 
84 <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>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>
85 <tr·class="separator:ga664ae9266c2a074c71746e68aaa8eb6a"><td·class="memSeparator"·colspan="2">&#160;</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>
86 </table>142 </table>
87 <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>
88 <div·class="textblock"><p·>Definition·of·the·<code>DUNE_NO_DEPRECATED_*</code>·macros.·</p>144 <div·class="textblock"><p·>Infrastructure·for·concepts.·</p>
89 </div></div><!--·contents·-->145 </div></div><!--·contents·-->
90 <!--·start·footer·part·-->146 <!--·start·footer·part·-->
91 <hr·class="footer"/><address·class="footer"><small>147 <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.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
93 </small></address>149 </small></address>
94 </body>150 </body>
95 </html>151 </html>
2.99 KB
html2text {}
    
Offset 4, 23 lines modifiedOffset 4, 81 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Macros7 Classes·|·Namespaces·|·Functions
8 deprecated.hh·File·Reference8 concept.hh·File·Reference
9 Definition·of·the·DUNE_NO_DEPRECATED_*·macros.·More...9 Infrastructure·for·concepts.·More...
 10 #include·<type_traits>
 11 #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>
10 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
11 ·Macros 
12 #define DUNE_NO_DEPRECATED_BEGIN   ... 
13  ·······Ignore·deprecation·warnings·(start)·More...18 ·Classes
 19 struct· Dune::Concept::Refines<_BaseConcepts_>
 20  ·······Base·class·for·refined·concepts.·More...
14  21  
15 #define DUNE_NO_DEPRECATED_END   ... 
16  ·······Ignore·deprecation·warnings·(end)·More...22 ·Namespaces
 23 namespace· Dune
 24  ··········Dune·namespace.
 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·()
17  75  
18 *****·Detailed·Description·*****76 *****·Detailed·Description·*****
19 Definition·of·the·DUNE_NO_DEPRECATED_*·macros.77 Infrastructure·for·concepts.
  
20 ===============================================================================78 ===============================================================================
21 ·····Generated·by [doxygen]·1.9.479 ·····Generated·by [doxygen]·1.9.4
68.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:·deprecated.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, 52 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">deprecated.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="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_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_CONCEPT_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_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="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#ifdef·DOXYGEN</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="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>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="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>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><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00257.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="a00242.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="a00200.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="a00287.html">dune/common/std/type_traits.hh</a>&gt;</span></div>
104 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</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>
 88 <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>
 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>·</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>
105 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="preprocessor">#endif</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>
Max diff block lines reached; 271/57372 bytes (0.47%) of diff not shown.
12.5 KB
html2text {}
    
Offset 4, 48 lines modifiedOffset 4, 369 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 deprecated.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_DEPRECATED_HH 
15 ·6#define·DUNE_DEPRECATED_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>
 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>
 25 ·16
 26 ·23namespace·Dune·{
 27 ·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>
 111 ·128·constexpr·bool·modelsConcept(PriorityTag<1>)
 112 ·129·{·return·matchesRequirement<C,·T...>(PriorityTag<42>())·and
 113 modelsConceptList<T...>(typename·C::BaseConceptList());·}
 114 ·130
 115 ·131·//·This·is·the·full·concept·check.·It's·defined·here·in·the
 116 ·132·//·implementation·namespace·with·'constexpr·bool'·return·type
 117 ·133·//·because·we·need·a·forward·declaration·in·order·to·use·it
 118 ·134·//·internally·above.
 119 ·135·//
 120 ·136·//·The·actual·interface·function·can·then·call·this·one·and
 121 ·137·//·return·the·result·as·std::integral_constant<bool,*>·which
 122 ·138·//·does·not·allow·for·a·forward·declaration·because·the·return
 123 ·139·//·type·is·deduced.
 124 ·140·template<class·C,·class...·T>
 125 ·141·constexpr·bool·models()
Max diff block lines reached; 116/12808 bytes (0.91%) of diff not shown.
12.3 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:·bartonnackmanifcheck.hh·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, 75 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="#define-members">Macros</a>··</div> 
71 ··<div·class="headertitle"><div·class="title">bartonnackmanifcheck.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">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">
  
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·...·].··75 <p>This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.··
75 <a·href="#details">More...</a></p>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="a00173_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>
76 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>82 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 83 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/dynvector.hh</a>&gt;</code><br·/>
 84 <code>#include·&lt;<a·class="el"·href="a00350_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/>
 85 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/typetraits.hh</a>&gt;</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="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">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
81 Macros</h2></td></tr>100 Namespaces</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="a00104.html#acd7d9df83980a2517813af61e0eb22e1">CHECK_INTERFACE_IMPLEMENTATION</a>(dummy)</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>
83 <tr·class="separator:acd7d9df83980a2517813af61e0eb22e1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><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="a00104.html#a3ae5cb4f2a5339eb07e94108e67bcca7">CHECK_AND_CALL_INTERFACE_IMPLEMENTATION</a>(__interface_method_to_call__)&#160;&#160;&#160;··(__interface_method_to_call__)</td></tr> 
85 <tr·class="separator:a3ae5cb4f2a5339eb07e94108e67bcca7"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
86 </table>104 </table>
87 <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·>This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.·</p>
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"> 
115 ········<tr> 
116 ··········<td·class="memname">#define·CHECK_INTERFACE_IMPLEMENTATION</td> 
117 ··········<td>(</td> 
118 ··········<td·class="paramtype">&#160;</td> 
119 ··········<td·class="paramname">dummy</td><td>)</td> 
120 ··········<td></td> 
121 ········</tr> 
122 ······</table> 
123 </div><div·class="memdoc"> 
  
124 </div> 
125 </div> 
126 </div><!--·contents·-->107 </div></div><!--·contents·-->
127 <!--·start·footer·part·-->108 <!--·start·footer·part·-->
128 <hr·class="footer"/><address·class="footer"><small>109 <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.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
130 </small></address>111 </small></address>
131 </body>112 </body>
132 </html>113 </html>
3.07 KB
html2text {}
    
Offset 4, 49 lines modifiedOffset 4, 39 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
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...7 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>
14 #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>
15 Go_to_the_source_code_of_this_file.21 Go_to_the_source_code_of_this_file.
16 ·Macros 
17 #define CHECK_INTERFACE_IMPLEMENTATION(dummy)22 ·Classes
 23 struct· Dune::DenseMatVecTraits<_DynamicMatrix<_K_>_>
18  24  
19 #define CHECK_AND_CALL_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)    
20 ·········(__interface_method_to_call__)25 struct· Dune::FieldTraits<_DynamicMatrix<_K_>_>
 26  
 27 ·class· Dune::DynamicMatrix<_K_>
 28  ·······Construct·a·matrix·with·a·dynamic·size.·More...
 29  
 30 ·Namespaces
 31 namespace· Dune
 32  ··········Dune·namespace.
21  33  
22 *****·Detailed·Description·*****34 *****·Detailed·Description·*****
 35 This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.
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 ===============================================================================36 ===============================================================================
47 ·····Generated·by [doxygen]·1.9.437 ·····Generated·by [doxygen]·1.9.4
56.1 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:·bartonnackmanifcheck.hh·Source·File</title>8 <title>dune-common:·dynmatrix.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, 189 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">dynmatrix.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">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</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>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_DYNMATRIX_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>
 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>
76 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00143.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;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="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div>
77 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</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="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00173.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="a00341.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="a00110.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="a00350.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="a00014.html">dune/common/typetraits.hh</a>&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="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>
80 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#endif</span></div>91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</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>
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> 
83 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#endif</span></div> 
84 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>93 <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="a00104.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>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>
 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>
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> 
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>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>
95 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······(__interface_method_to_call__);·\</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"><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#a3b63fa35f7a0ce0a293896a6a894486a">row_type</a>;</div>
 100 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</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</a>·&amp;<a·class="code·hl_typedef"·href="a01504.html#aee0cd6d08dc8451f8b8c91da766dce79">const_row_reference</a>;</div>
96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······call·=·false;·\</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="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>
97 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····}·\</div>107 <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>····catch·(·...·)·\</div> 
99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····{·\</div>108 <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">···49</span>······call·=·false;·\</div> 
101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······throw;·\</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>
102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····}·\</div>111 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</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>
103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··}</div>114 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··};</div>
104 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#endif</span></div> 
105 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>115 <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="a00104.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>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>
 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"·href="a01400.html">DenseMatrix</a>&lt;·DynamicMatrix&lt;K&gt;·&gt;</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>····std::vector&lt;·DynamicVector&lt;K&gt;·&gt;·_data;</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>
109 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="preprocessor">#else</span></div>121 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">public</span>:</div>
110 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="preprocessor">#define·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)·\</span></div> 
111 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="preprocessor">··CHECK_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)</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_t[·...·truncated·by·diffoscope;·len:·102,·SHA:·b25802bcb785f5895b4117c1f53a09e180acb830e83b20e4981232e84c575fa4·...·]</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>
 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>
 135 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····{}</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="keyword">class·</span>T,</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>
 148 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>······_data.resize(0);</div>
 149 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>······_data.resize(r,·<a·class="code·hl_typedef"·href="a01500.html#a4e657447ffba0f00463851f145753e8d">row_type</a>(c,·v)·);</div>
 150 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····}</div>
 151 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
 152 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····<span·class="comment">//=====·assignment</span></div>
 153 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····<span·class="comment">//·General·assignment·with·resizing</span></div>
Max diff block lines reached; 271/47257 bytes (0.57%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
9.83 KB
html2text {}
    
Offset 4, 59 lines modifiedOffset 4, 282 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 bartonnackmanifcheck.hh7 dynmatrix.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_DYNMATRIX_HH
 15 ·6#define·DUNE_DYNMATRIX_HH
 16 ·7
 17 ·8#include·<cmath>
 18 ·9#include·<cstddef>
 19 ·10#include·<iostream>
 20 ·11#include·<initializer_list>
 21 ·12
 22 ·13#include·<dune/common/boundschecking.hh>
15 ·25#include·<dune/common/exceptions.hh>23 ·14#include·<dune/common/exceptions.hh>
16 ·26 
17 ·27#ifdef·CHECK_INTERFACE_IMPLEMENTATION 
18 ·28#undef·CHECK_INTERFACE_IMPLEMENTATION 
19 ·29#endif 
20 ·30#ifdef·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION 
21 ·31#undef·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION 
22 ·32#endif 
23 ·33 
24 ·34#if·defined·NDEBUG·||·!defined·DUNE_INTERFACECHECK 
25 35#define·CHECK_INTERFACE_IMPLEMENTATION(dummy) 
26 ·36#else 
27 ·37#define·CHECK_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)·\ 
28 ·38·{\ 
29 ·39·static·bool·call·=·false;·\ 
30 ·40·if(·call·==·true·)·\ 
31 ·41·DUNE_THROW(NotImplemented,"Interface·method·not·implemented!");\ 
32 ·42·call·=·true;·\ 
33 ·43·try·{·\ 
34 ·44·(__interface_method_to_call__);·\ 
35 ·45·call·=·false;·\24 ·15#include·<dune/common/dynvector.hh>
 25 ·16#include·<dune/common/densematrix.hh>
 26 ·17#include·<dune/common/typetraits.hh>
 27 ·18
 28 ·19namespace·Dune
 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 ·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;
 42 ·42
 43 43·typedef·std::vector<K>·container_type;
 44 44·typedef·K·value_type;
 45 45·typedef·typename·container_type::size_type·size_type;
36 ·46·}·\46 ·46·};
37 ·47·catch·(·...·)·\ 
38 ·48·{·\ 
39 ·49·call·=·false;·\ 
40 ·50·throw;·\ 
41 ·51·}·\ 
42 ·52·} 
43 ·53#endif47 ·47
 48 ·48·template<·class·K·>
 49 49·struct·FieldTraits<·DynamicMatrix<K>·>
 50 ·50·{
 51 51·typedef·typename·FieldTraits<K>::field_type·field_type;
 52 52·typedef·typename·FieldTraits<K>::real_type·real_type;
 53 ·53·};
44 ·5454 ·54
45 ·60#if·defined·NDEBUG·||·!defined·DUNE_INTERFACECHECK 
46 61#define·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION(__interface_method_to_call__) 
47 \ 
48 ·62·(__interface_method_to_call__) 
49 ·63#else 
50 ·64#define·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION 
51 (__interface_method_to_call__)·\ 
52 ·65·CHECK_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)55 ·59·template<class·K>
 56 60·class·DynamicMatrix·:·public·DenseMatrix<·DynamicMatrix<K>·>
 57 ·61·{
 58 ·62·std::vector<·DynamicVector<K>·>·_data;
 59 ·63·typedef·DenseMatrix<_DynamicMatrix<K>·>·Base;
 60 ·64·public:
 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 ·83
 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·{
 88 ·108·_data.resize(0);
 89 ·109·_data.resize(r,·row_type(c,·v)·);
 90 ·110·}
 91 ·111
 92 ·112·//=====·assignment
 93 ·113·//·General·assignment·with·resizing
 94 ·114·template·<typename·T,
Max diff block lines reached; 4756/10043 bytes (47.36%) of diff not shown.
7.86 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:·apply.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 58, 36 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_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="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">apply.hh·File·Reference</div></div>71 ··<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><!--header-->72 </div><!--header-->
72 <div·class="contents">73 <div·class="contents">
  
 74 <p>Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.··
 75 <a·href="#details">More...</a></p>
73 <div·class="textblock"><code>#include·&lt;tuple&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 77 <code>#include·&lt;limits&gt;</code><br·/>
 78 <code>#include·&lt;type_traits&gt;</code><br·/>
 79 <code>#include·&quot;<a·class="el"·href="a00008_source.html">genericiterator.hh</a>&quot;</code><br·/>
 80 <code>#include·&quot;<a·class="el"·href="a00392_source.html">ftraits.hh</a>&quot;</code><br·/>
 81 <code>#include·&quot;<a·class="el"·href="a00389_source.html">matvectraits.hh</a>&quot;</code><br·/>
 82 <code>#include·&quot;<a·class="el"·href="a00209_source.html">promotiontraits.hh</a>&quot;</code><br·/>
 83 <code>#include·&quot;<a·class="el"·href="a00233_source.html">dotproduct.hh</a>&quot;</code><br·/>
 84 <code>#include·&quot;<a·class="el"·href="a00173_source.html">boundschecking.hh</a>&quot;</code><br·/>
74 </div>85 </div>
75 <p><a·href="a00107_source.html">Go·to·the·source·code·of·this·file.</a></p>86 <p><a·href="a00107_source.html">Go·to·the·source·code·of·this·file.</a></p>
76 <table·class="memberdecls">87 <table·class="memberdecls">
 88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 89 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="a01428.html">Dune::FieldTraits&lt;·DenseVector&lt;·V·&gt;·&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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01440.html">Dune::DenseIterator&lt;·C,·T,·R·&gt;</a></td></tr>
 93 <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>
 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="a01424.html">Dune::DenseVector&lt;·V·&gt;</a></td></tr>
 96 <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>
 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: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>
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>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table>106 </table>
 107 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 108 <div·class="textblock"><p·>Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.·</p>
86 </div><!--·contents·-->109 </div></div><!--·contents·-->
87 <!--·start·footer·part·-->110 <!--·start·footer·part·-->
88 <hr·class="footer"/><address·class="footer"><small>111 <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.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
90 </small></address>113 </small></address>
91 </body>114 </body>
92 </html>115 </html>
1.31 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 ····*·std 
8 Namespaces 
9 apply.hh·File·Reference 
10 #include·<tuple>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.
 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  
12 ·Namespaces32 ·Namespaces
13 namespace· Dune33 namespace· Dune
14  ··········Dune·namespace.34  ··········Dune·namespace.
15  35  
16 namespace· Dune::Std36 namespace· Dune::fvmeta
17  ··········Namespace·for·features·backported·from·new·C++·standards. 
18  37  
 38 *****·Detailed·Description·*****
 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
176 KB
./usr/share/doc/libdune-common-doc/doxygen/a00107_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:·apply.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 58, 42 lines modifiedOffset 58, 711 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">densevector.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00107.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="a00107.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_APPLY_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>
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>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DENSEVECTOR_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="preprocessor">#include·&lt;algorithm&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><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="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·&lt;type_traits&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"><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>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00008.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="a00392.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="a00389.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="a00209.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="a00233.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="a00173.html">boundschecking.hh</a>&quot;</span></div>
86 <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>
87 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··}·<span·class="comment">//·namespace·Std</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>
88 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>}·<span·class="comment">//·namespace·Dune</span></div> 
89 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</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="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="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>
 162 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>····friend·class·<a·class="code·hl_class"·href="a01440.html">DenseIterator</a>&lt;const·typename·std::remove_const&lt;C&gt;::type,·const·typename·std::remove_const&lt;T&gt;::type,·typename·const_reference&lt;R&gt;::type·&gt;;</div>
 163 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div>
Max diff block lines reached; 28707/150683 bytes (19.05%) of diff not shown.
28.3 KB
html2text {}
    
Offset 4, 37 lines modifiedOffset 4, 958 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 densevector.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·-*-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_STD_APPLY_HH 
16 ·6#define·DUNE_COMMON_STD_APPLY_HH14 ·5#ifndef·DUNE_DENSEVECTOR_HH
 15 ·6#define·DUNE_DENSEVECTOR_HH
17 ·716 ·7
18 ·8#include·<tuple> 
19 ·9 
20 ·10namespace·Dune17 ·8#include·<algorithm>
 18 ·9#include·<limits>
 19 ·10#include·<type_traits>
21 ·11{20 ·11
22 12·namespace·Std 
23 ·13·{ 
24 ·14 
25 ·17·using·std::apply;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"
26 ·1827 ·18
27 ·19·}·//·namespace·Std 
28 ·20}·//·namespace·Dune28 ·19namespace·Dune·{
 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·{
 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·}
29 ·2196 ·121
30 ·22#endif·//·#ifndef·DUNE_COMMON_STD_APPLY_HH97 ·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
Max diff block lines reached; 10663/28926 bytes (36.86%) of diff not shown.
8.81 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:·make_array.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 58, 45 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_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="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">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>
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>This·file·implements·a·dense·vector·with·a·dynamic·size.··
 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;cmath&gt;</code><br·/>
 77 <code>#include·&lt;cstddef&gt;</code><br·/>
 78 <code>#include·&lt;cstdlib&gt;</code><br·/>
 79 <code>#include·&lt;complex&gt;</code><br·/>
 80 <code>#include·&lt;cstring&gt;</code><br·/>
 81 <code>#include·&lt;initializer_list&gt;</code><br·/>
75 <code>#include·&lt;type_traits&gt;</code><br·/>82 <code>#include·&lt;limits&gt;</code><br·/>
 83 <code>#include·&lt;utility&gt;</code><br·/>
 84 <code>#include·&quot;<a·class="el"·href="a00173_source.html">boundschecking.hh</a>&quot;</code><br·/>
 85 <code>#include·&quot;<a·class="el"·href="a00341_source.html">exceptions.hh</a>&quot;</code><br·/>
 86 <code>#include·&quot;<a·class="el"·href="a00008_source.html">genericiterator.hh</a>&quot;</code><br·/>
 87 <code>#include·&lt;vector&gt;</code><br·/>
 88 <code>#include·&quot;<a·class="el"·href="a00107_source.html">densevector.hh</a>&quot;</code><br·/>
76 </div>89 </div>
77 <p><a·href="a00110_source.html">Go·to·the·source·code·of·this·file.</a></p>90 <p><a·href="a00110_source.html">Go·to·the·source·code·of·this·file.</a></p>
78 <table·class="memberdecls">91 <table·class="memberdecls">
 92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 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="a01516.html">Dune::DenseMatVecTraits&lt;·DynamicVector&lt;·K,·Allocator·&gt;·&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="a01520.html">Dune::FieldTraits&lt;·DynamicVector&lt;·K,·Allocator·&gt;·&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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01512.html">Dune::DynamicVector&lt;·K,·Allocator·&gt;</a></td></tr>
 99 <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>
 100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 </table><table·class="memberdecls">
79 <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>
80 Namespaces</h2></td></tr>103 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>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>
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>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>
83 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <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>107 </table>
 108 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 109 <div·class="textblock"><p·>This·file·implements·a·dense·vector·with·a·dynamic·size.·</p>
95 </div><!--·contents·-->110 </div></div><!--·contents·-->
96 <!--·start·footer·part·-->111 <!--·start·footer·part·-->
97 <hr·class="footer"/><address·class="footer"><small>112 <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.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
99 </small></address>114 </small></address>
100 </body>115 </body>
101 </html>116 </html>
1.53 KB
html2text {}
    
Offset 4, 29 lines modifiedOffset 4, 42 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·std 
8 Namespaces·|·Functions 
9 make_array.hh·File·Reference7 Classes·|·Namespaces
 8 dynvector.hh·File·Reference
 9 Common·»·Dense_Matrix_and_Vector_Template_Library
 10 This·file·implements·a·dense·vector·with·a·dynamic·size.·More...
10 #include·<array>11 #include·<cmath>
11 #include·<type_traits>12 #include·<cstddef>
 13 #include·<cstdlib>
 14 #include·<complex>
 15 #include·<cstring>
 16 #include·<initializer_list>
 17 #include·<limits>
 18 #include·<utility>
 19 #include·"boundschecking.hh"
 20 #include·"exceptions.hh"
 21 #include·"genericiterator.hh"
 22 #include·<vector>
 23 #include·"densevector.hh"
12 Go_to_the_source_code_of_this_file.24 Go_to_the_source_code_of_this_file.
 25 ·Classes
 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  
13 ·Namespaces33 ·Namespaces
14 namespace· Dune34 namespace· Dune
15  ··········Dune·namespace.35  ··········Dune·namespace.
16  36  
 37 *****·Detailed·Description·*****
 38 This·file·implements·a·dense·vector·with·a·dynamic·size.
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 ===============================================================================39 ===============================================================================
27 ·····Generated·by [doxygen]·1.9.440 ·····Generated·by [doxygen]·1.9.4
66.6 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:·make_array.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 58, 62 lines modifiedOffset 58, 233 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">make_array.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="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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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>
 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="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DYNVECTOR_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="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DYNVECTOR_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>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cmath&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>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</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>·</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>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="l00011"·name="l00011"></a><span·class="lineno">···11</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">#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;cstring&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="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;utility&gt;</span></div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</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="a00173.html">boundschecking.hh</a>&quot;</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> 
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>88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00341.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="a00008.html">genericiterator.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>Std·{</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> 
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="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>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="a00107.html">densevector.hh</a>&quot;</span></div>
92 <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>
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>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>
94 <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>
 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>
 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>
95 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>99 <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"><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>
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>104 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··};</div>
103 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>105 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</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>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>
105 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</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>
106 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</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">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>
 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>
107 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</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>
 124 <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>
 126 <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>
108 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</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>
 134 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</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>
 138 <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;K&gt;·<span·class="keyword">const</span>·&amp;l)·:</div>
 140 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······_data(l)</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>·</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>
 145 <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>
 147 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a01512.html#a7e82f8787ae085c459dca22b0ed12d26">···96</a></span>····<a·class="code·hl_function"·href="a01512.html#a7e82f8787ae085c459dca22b0ed12d26">DynamicVector</a>(<a·class="code·hl_class"·href="a01512.html">DynamicVector</a>·&amp;&amp;·x)·:</div>
 148 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······_data(<a·class="code·hl_namespace"·href="a00424.html">std</a>::move(x._data))</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>·</div>
 151 <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>
 152 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a01512.html#ad3719da9dabab00e1de6921c553983a1">··101</a></span>····<a·class="code·hl_function"·href="a01512.html#ad3719da9dabab00e1de6921c553983a1">DynamicVector</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01512.html">DynamicVector&lt;·T,·Allocator·&gt;</a>·&amp;·x)·:</div>
 153 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>······_data(x.<a·class="code·hl_function"·href="a01424.html#a2154e1f6858db8dad26046187837bc0d">begin</a>(),·x.<a·class="code·hl_function"·href="a01424.html#a5feee4aa0d88277f19169c7833cd9e9f">end</a>(),·x.get_allocator())</div>
Max diff block lines reached; 14421/56321 bytes (25.61%) of diff not shown.
11.4 KB
html2text {}
    
Offset 4, 61 lines modifiedOffset 4, 343 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 dynvector.hh
7 ····*·std 
8 make_array.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_DYNVECTOR_HH
 15 ·6#define·DUNE_DYNVECTOR_HH
 16 ·7
 17 ·8#include·<cmath>
 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>
 25 ·16
 26 ·17#include·"boundschecking.hh"
 27 ·18#include·"exceptions.hh"
 28 ·19#include·"genericiterator.hh"
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> 
18 ·8 
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·{ 
27 ·17namespace·Std·{ 
28 ·18 
29 ·19#if·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY 
30 ·2029 ·20
31 ·22·using·std::experimental::make_array;30 ·21#include·<vector>
 31 ·22#include·"densevector.hh"
32 ·2332 ·23
33 ·24#else·//·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY33 ·24namespace·Dune·{
34 ·2534 ·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_ARRAY35 ·34·template<·class·K,·class·Allocator·>·class·DynamicVector;
 36 ·35·template<·class·K,·class·Allocator·>
 37 36·struct·DenseMatVecTraits<·DynamicVector<·K,·Allocator·>·>
 38 ·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·};
 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·};
45 ·5051 ·50
46 ·51} 
47 ·52} 
48 ·5352 ·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:
 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·{}
 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·{}
 74 ·79
 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 ·84
 80 86·DynamicVector·(std::initializer_list<K>·const·&l)·:
 81 ·87·_data(l)
 82 ·88·{}
 83 ·89
 84 91·DynamicVector(const·DynamicVector·&·x)·:
 85 ·92·Base(),·_data(x._data)
 86 ·93·{}
 87 ·94
 88 96·DynamicVector(DynamicVector·&&·x)·:
 89 ·97·_data(std::move(x._data))
 90 ·98·{}
 91 ·99
 92 ·100·template<·class·T·>
 93 101·DynamicVector(const·DynamicVector<_T,_Allocator_>·&·x)·:
 94 ·102·_data(x.begin(),·x.end(),·x.get_allocator())
 95 ·103·{}
 96 ·104
Max diff block lines reached; 5138/11699 bytes (43.92%) of diff not shown.
19.9 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:·type_traits.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 58, 101 lines modifiedOffset 58, 30 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="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="#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>70 ··<div·class="headertitle"><div·class="title">exceptions.cc·File·Reference</div></div>
74 </div><!--header-->71 </div><!--header-->
75 <div·class="contents">72 <div·class="contents">
76 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/> 
77 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>73 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
78 <code>#include·&lt;<a·class="el"·href="a00158_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/> 
79 </div> 
80 <p><a·href="a00113_source.html">Go·to·the·source·code·of·this·file.</a></p> 
81 <table·class="memberdecls">74 </div><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>75 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
98 Namespaces</h2></td></tr>76 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>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>
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>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>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>79 <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>80 </table>
152 </div><!--·contents·-->81 </div><!--·contents·-->
153 <!--·start·footer·part·-->82 <!--·start·footer·part·-->
154 <hr·class="footer"/><address·class="footer"><small>83 <hr·class="footer"/><address·class="footer"><small>
155 Generated·by&#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
156 </small></address>85 </small></address>
157 </body>86 </body>
4.03 KB
html2text {}
    
Offset 4, 102 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 ····*·std 
8 Classes·|·Namespaces·|·Typedefs·|·Variables 
9 type_traits.hh·File·Reference 
10 #include·<type_traits> 
11 #include·<dune/common/typetraits.hh>9 #include·<dune/common/exceptions.hh>
12 #include·<dune/common/typeutilities.hh> 
13 Go_to_the_source_code_of_this_file. 
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 ·Namespaces10 ·Namespaces
29 namespace· Dune11 namespace· Dune
30  ··········Dune·namespace.12  ··········Dune·namespace.
31  13  
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... 
98   
  
99 ===============================================================================14 ===============================================================================
100 ·····Generated·by [doxygen]·1.9.415 ·····Generated·by [doxygen]·1.9.4
7.76 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:·variant.hh·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 58, 36 lines modifiedOffset 58, 56 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="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">variant.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">arraylist.hh·File·Reference</div></div>
71 </div><!--header-->72 </div><!--header-->
72 <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>
73 <div·class="textblock"><code>#include·&lt;variant&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;array&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="a00011_source.html">iteratorfacades.hh</a>&quot;</code><br·/>
74 </div>81 </div>
75 <p><a·href="a00116_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00116_source.html">Go·to·the·source·code·of·this·file.</a></p>
76 <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="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">
77 <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>
78 Namespaces</h2></td></tr>97 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>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>
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>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>
81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <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>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>
86 </div><!--·contents·-->105 </div></div><!--·contents·-->
87 <!--·start·footer·part·-->106 <!--·start·footer·part·-->
88 <hr·class="footer"/><address·class="footer"><small>107 <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.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
90 </small></address>109 </small></address>
91 </body>110 </body>
92 </html>111 </html>
1.45 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 Classes·|·Namespaces
7 ····*·std 
8 Namespaces 
9 variant.hh·File·Reference8 arraylist.hh·File·Reference
 9 Implements·a·random-access·container·that·can·efficiently·change·size·(similar
 10 to·std::deque)·More...
10 #include·<variant>11 #include·<array>
 12 #include·<cassert>
 13 #include·<memory>
 14 #include·<vector>
 15 #include·"iteratorfacades.hh"
11 Go_to_the_source_code_of_this_file.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  
12 ·Namespaces28 ·Namespaces
13 namespace· Dune29 namespace· Dune
14  ··········Dune·namespace.30  ··········Dune·namespace.
15  31  
16 namespace· Dune::Std 
17  ··········Namespace·for·features·backported·from·new·C++·standards. 
18  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
129 KB
./usr/share/doc/libdune-common-doc/doxygen/a00116_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:·arraylist.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, 523 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">variant.hh</div></div>68 ··<div·class="headertitle"><div·class="title">arraylist.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">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>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">//·-*-·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> 
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> 
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·dune/common/std/variant.hh·is·deprecated·and·will·be·removed·after·Dune·2.8.\</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>
 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><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·&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>
 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><span·class="preprocessor">#include·&lt;vector&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="a00011.html">iteratorfacades.hh</a>&quot;</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</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="preprocessor">#include·&lt;variant&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="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>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Std·{</div>87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··<span·class="comment">//·forward·declaration</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,·<span·class="keywordtype">int</span>·N,·<span·class="keyword">class</span>·A&gt;</div>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>··<span·class="keyword">using·</span>std::variant;</div>89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··<span·class="keyword">class·</span>ArrayListIterator;</div>
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>··<span·class="keyword">using·</span>std::visit;</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> 
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> 
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> 
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>·</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">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">using·</span>std::monostate;</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>}</div>96 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··{</div>
 97 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">public</span>:</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">MemberType</a>;</div>
 99 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</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_type</a>;</div>
95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>101 <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">reference</a>;</div>
 103 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</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>
 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#a69712ac1ea2ca0283a0d8caa1837f5e7">const_pointer</a>;</div>
 109 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>
 110 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01284.html#a63856e2426fe76be943c092ae92913c6">··100</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01284.html#a63856e2426fe76be943c092ae92913c6">chunkSize_</a>·=·(N·&gt;·0)·?·N·:·1;</div>
 111 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
 112 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a01284.html#a8f9169b83b353074b46e370becef4131">··105</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01276.html">ArrayListIterator&lt;MemberType,N,A&gt;</a>·<a·class="code·hl_typedef"·href="a01284.html#a8f9169b83b353074b46e370becef4131">iterator</a>;</div>
 113 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
 114 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01284.html#aef3f1c0384f4a7e64598dabbeed3eb1b">··110</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01280.html">ConstArrayListIterator&lt;MemberType,N,A&gt;</a>·<a·class="code·hl_typedef"·href="a01284.html#aef3f1c0384f4a7e64598dabbeed3eb1b">const_iterator</a>;</div>
 115 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
 116 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno"><a·class="line"·href="a01284.html#ac7115acf8023bbe985125ca3a3b11d6f">··115</a></span>····<span·class="keyword">typedef</span>·std::size_t·<a·class="code·hl_typedef"·href="a01284.html#ac7115acf8023bbe985125ca3a3b11d6f">size_type</a>;</div>
 117 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div>
 118 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="a01284.html#af93a828728d8c9b9755bc594c19cb871">··120</a></span>····<span·class="keyword">typedef</span>·std::ptrdiff_t·<a·class="code·hl_typedef"·href="a01284.html#af93a828728d8c9b9755bc594c19cb871">difference_type</a>;</div>
 119 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div>
 120 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga0453c1e8cf90d912f11c521784c917c9">··126</a></span>····<a·class="code·hl_class"·href="a01276.html">iterator</a>·<a·class="code·hl_function"·href="a00397.html#ga0453c1e8cf90d912f11c521784c917c9">begin</a>();</div>
 121 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div>
 122 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga62f554c219a3a4c77a72e7017ffd99a3">··133</a></span>····<a·class="code·hl_class"·href="a01280.html">const_iterator</a>·<a·class="code·hl_function"·href="a00397.html#ga62f554c219a3a4c77a72e7017ffd99a3">begin</a>()·<span·class="keyword">const</span>;</div>
 123 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div>
 124 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga84de6115438d8d36040af42a92777f66">··139</a></span>····<a·class="code·hl_class"·href="a01276.html">iterator</a>·<a·class="code·hl_function"·href="a00397.html#ga84de6115438d8d36040af42a92777f66">end</a>();</div>
 125 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>·</div>
 126 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno"><a·class="line"·href="a00397.html#gab0fe4b4eb568aad576641c9f0885e094">··145</a></span>····<a·class="code·hl_class"·href="a01280.html">const_iterator</a>·<a·class="code·hl_function"·href="a00397.html#gab0fe4b4eb568aad576641c9f0885e094">end</a>()·<span·class="keyword">const</span>;</div>
 127 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div>
 128 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno"><a·class="line"·href="a00397.html#gae5d0068f5773845dd133cb2cc6c2ab9c">··151</a></span>····<span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00397.html#gae5d0068f5773845dd133cb2cc6c2ab9c">push_back</a>(<a·class="code·hl_typedef"·href="a01284.html#a9001bd10815a115576b70fc7c5eed675">const_reference</a>·entry);</div>
 129 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>·</div>
 130 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga00fb2e9b1c7ed63dc48185d9fece84b3">··158</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_typedef"·href="a01284.html#aa76d40d0219d9c69649d334884c79d46">reference</a>·<a·class="code·hl_function"·href="a00397.html#ga00fb2e9b1c7ed63dc48185d9fece84b3">operator[]</a>(<a·class="code·hl_typedef"·href="a01284.html#ac7115acf8023bbe985125ca3a3b11d6f">size_type</a>·i);</div>
 131 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>·</div>
 132 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga8ccee6554a287f665acf1cc9d85995b3">··165</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_typedef"·href="a01284.html#a9001bd10815a115576b70fc7c5eed675">const_reference</a>·<a·class="code·hl_function"·href="a00397.html#ga8ccee6554a287f665acf1cc9d85995b3">operator[]</a>(<a·class="code·hl_typedef"·href="a01284.html#ac7115acf8023bbe985125ca3a3b11d6f">size_type</a>·i)·<span·class="keyword">const</span>;</div>
 133 <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>·</div>
 134 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga27f3a69eb5479e4fb9fa21ea98539264">··171</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_typedef"·href="a01284.html#ac7115acf8023bbe985125ca3a3b11d6f">size_type</a>·<a·class="code·hl_function"·href="a00397.html#ga27f3a69eb5479e4fb9fa21ea98539264">size</a>()·<span·class="keyword">const</span>;</div>
 135 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>·</div>
 136 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga2b627c8796d6946f57458f9e90980397">··180</a></span>····<span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00397.html#ga2b627c8796d6946f57458f9e90980397">purge</a>();</div>
 137 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</span>·</div>
 138 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno"><a·class="line"·href="a00397.html#gab837ba808b8bfeeb6dac65a00b2e9c31">··185</a></span>····<span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00397.html#gab837ba808b8bfeeb6dac65a00b2e9c31">clear</a>();</div>
 139 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga5f26956b01c6a3d9db4c9da3ecd8b7f4">··189</a></span>····<a·class="code·hl_function"·href="a00397.html#ga5f26956b01c6a3d9db4c9da3ecd8b7f4">ArrayList</a>();</div>
 140 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>·</div>
 141 <div·class="line"><a·id="l00191"·name="l00191"></a><span·class="lineno">··191</span>··<span·class="keyword">private</span>:</div>
 142 <div·class="line"><a·id="l00192"·name="l00192"></a><span·class="lineno">··192</span>·</div>
 143 <div·class="line"><a·id="l00196"·name="l00196"></a><span·class="lineno">··196</span>····<span·class="keyword">using·</span>SmartPointerAllocator·=·<span·class="keyword">typename</span>·std::allocator_traits&lt;A&gt;::template·rebind_alloc&lt;·std::shared_ptr&lt;·std::array&lt;MemberType,chunkSize_&gt;·&gt;·&gt;;</div>
 144 <div·class="line"><a·id="l00197"·name="l00197"></a><span·class="lineno">··197</span>·</div>
 145 <div·class="line"><a·id="l00201"·name="l00201"></a><span·class="lineno">··201</span>····<span·class="keyword">using·</span>ArrayAllocator·=·<span·class="keyword">typename</span>·std::allocator_traits&lt;A&gt;::template·rebind_alloc&lt;·std::array&lt;MemberType,chunkSize_&gt;·&gt;;</div>
 146 <div·class="line"><a·id="l00202"·name="l00202"></a><span·class="lineno">··202</span>·</div>
 147 <div·class="line"><a·id="l00206"·name="l00206"></a><span·class="lineno">··206</span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01276.html">ArrayListIterator</a>&lt;T,N,A&gt;;</div>
 148 <div·class="line"><a·id="l00207"·name="l00207"></a><span·class="lineno">··207</span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01280.html">ConstArrayListIterator</a>&lt;T,N,A&gt;;</div>
 149 <div·class="line"><a·id="l00208"·name="l00208"></a><span·class="lineno">··208</span>·</div>
 150 <div·class="line"><a·id="l00210"·name="l00210"></a><span·class="lineno">··210</span>····std::vector&lt;std::shared_ptr&lt;std::array&lt;MemberType,chunkSize_&gt;·&gt;,</div>
 151 <div·class="line"><a·id="l00211"·name="l00211"></a><span·class="lineno">··211</span>········SmartPointerAllocator&gt;·chunks_;</div>
 152 <div·class="line"><a·id="l00220"·name="l00220"></a><span·class="lineno">··220</span>····<a·class="code·hl_typedef"·href="a01284.html#ac7115acf8023bbe985125ca3a3b11d6f">size_type</a>·capacity_;</div>
 153 <div·class="line"><a·id="l00222"·name="l00222"></a><span·class="lineno">··222</span>····<a·class="code·hl_typedef"·href="a01284.html#ac7115acf8023bbe985125ca3a3b11d6f">size_type</a>·size_;</div>
 154 <div·class="line"><a·id="l00224"·name="l00224"></a><span·class="lineno">··224</span>····<a·class="code·hl_typedef"·href="a01284.html#ac7115acf8023bbe985125ca3a3b11d6f">size_type</a>·start_;</div>
 155 <div·class="line"><a·id="l00233"·name="l00233"></a><span·class="lineno">··233</span>····<span·class="keyword">inline</span>·<a·class="code·hl_typedef"·href="a01284.html#aa76d40d0219d9c69649d334884c79d46">reference</a>·elementAt(<a·class="code·hl_typedef"·href="a01284.html#ac7115acf8023bbe985125ca3a3b11d6f">size_type</a>·i);</div>
 156 <div·class="line"><a·id="l00234"·name="l00234"></a><span·class="lineno">··234</span>·</div>
 157 <div·class="line"><a·id="l00243"·name="l00243"></a><span·class="lineno"><a·class="line"·href="a01276.html#a38d983a004da53b7d2e038e696e56725">··243</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_typedef"·href="a01276.html#acb594abf9749c018d13d9ef3fcb38f07">const_reference</a>·elementAt(<a·class="code·hl_typedef"·href="a01276.html#ab48b44ccc846c6e3603feb94899a8c83">size_type</a>·i)·<span·class="keyword">const</span>;</div>
 158 <div·class="line"><a·id="l00244"·name="l00244"></a><span·class="lineno">··244</span>··};</div>
 159 <div·class="line"><a·id="l00245"·name="l00245"></a><span·class="lineno">··245</span>·</div>
Max diff block lines reached; 10831/110133 bytes (9.83%) of diff not shown.
21.0 KB
html2text {}
    
Offset 4, 48 lines modifiedOffset 4, 700 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 arraylist.hh
7 ····*·std 
8 variant.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 ·5#ifndef·DUNE_COMMON_STD_VARIANT_HH15 ·6#ifndef·DUNE_COMMON_ARRAYLIST_HH
16 ·6#define·DUNE_COMMON_STD_VARIANT_HH16 ·7#define·DUNE_COMMON_ARRAYLIST_HH
 17 ·8
17 ·7 
18 ·8#warning·dune/common/std/variant.hh·is·deprecated·and·will·be·removed·after 
19 Dune·2.8.\ 
20 ·9·Include·<variant>·instead 
21 ·10 
22 ·11#include·<variant>18 ·9#include·<array>
23 ·1219 ·10#include·<cassert>
 20 ·11#include·<memory>
 21 ·12#include·<vector>
 22 ·13#include·"iteratorfacades.hh"
 23 ·14
24 ·13namespace·Dune·{24 ·15namespace·Dune
 25 ·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;
25 ·14namespace·Std·{ 
26 ·15·using·std::variant; 
27 ·16·using·std::visit; 
28 ·17·using·std::variant_size; 
29 ·18·using·std::variant_size_v; 
30 ·19·using·std::get; 
31 ·20·using·std::get_if; 
32 ·21·using·std::holds_alternative; 
33 ·22·using·std::monostate; 
34 ·23}32 ·23
 33 ·60·template<class·T,·int·N=100,·class·A=std::allocator<T>·>
 34 61·class·ArrayList
 35 ·62·{
 36 ·63·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;
 50 ·101
 51 105·typedef·ArrayListIterator<MemberType,N,A>·iterator;
 52 ·106
 53 110·typedef·ConstArrayListIterator<MemberType,N,A>·const_iterator;
 54 ·111
 55 115·typedef·std::size_t·size_type;
 56 ·116
 57 120·typedef·std::ptrdiff_t·difference_type;
 58 ·121
 59 126·iterator·begin();
 60 ·127
 61 133·const_iterator·begin()·const;
 62 ·134
 63 139·iterator·end();
 64 ·140
 65 145·const_iterator·end()·const;
 66 ·146
 67 151·inline·void·push_back(const_reference·entry);
 68 ·152
 69 158·inline·reference·operator[](size_type·i);
 70 ·159
 71 165·inline·const_reference·operator[](size_type·i)·const;
 72 ·166
 73 171·inline·size_type·size()·const;
 74 ·172
 75 180·inline·void·purge();
 76 ·181
 77 185·inline·void·clear();
 78 189·ArrayList();
 79 ·190
 80 ·191·private:
 81 ·192
 82 ·196·using·SmartPointerAllocator·=·typename·std::allocator_traits<A>::template
 83 rebind_alloc<·std::shared_ptr<·std::array<MemberType,chunkSize_>·>·>;
 84 ·197
 85 ·201·using·ArrayAllocator·=·typename·std::allocator_traits<A>::template
 86 rebind_alloc<·std::array<MemberType,chunkSize_>·>;
 87 ·202
 88 ·206·friend·class·ArrayListIterator<T,N,A>;
 89 ·207·friend·class·ConstArrayListIterator<T,N,A>;
 90 ·208
 91 ·210·std::vector<std::shared_ptr<std::array<MemberType,chunkSize_>·>,
 92 ·211·SmartPointerAllocator>·chunks_;
 93 ·220·size_type·capacity_;
 94 ·222·size_type·size_;
 95 ·224·size_type·start_;
 96 ·233·inline·reference·elementAt(size_type·i);
35 ·24}97 ·234
 98 243·inline·const_reference·elementAt(size_type·i)·const;
 99 ·244·};
36 ·25100 ·245
37 ·26#endif101 ·246
 102 ·250·template<class·T,·int·N,·class·A>
 103 251·class·ArrayListIterator·:·public
 104 RandomAccessIteratorFacade<ArrayListIterator<T,N,A>,
 105 ·252·typename·A::value_type,
 106 ·253·typename·A::value_type·&,
 107 ·254·typename·A::difference_type>
 108 ·255·{
 109 ·256
 110 ·257·friend·class·ArrayList<T,N,A>;
Max diff block lines reached; 3876/21471 bytes (18.05%) of diff not shown.
7.17 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:·utility.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 58, 36 lines modifiedOffset 58, 55 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="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">parametertreeparser.hh·File·Reference</div></div>
71 </div><!--header-->72 </div><!--header-->
72 <div·class="contents">73 <div·class="contents">
  
 74 <p>Various·parser·methods·to·get·data·into·a·ParameterTree·object.··
 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;istream&gt;</code><br·/>
 77 <code>#include·&lt;string&gt;</code><br·/>
 78 <code>#include·&lt;vector&gt;</code><br·/>
 79 <code>#include·&lt;<a·class="el"·href="a00170_source.html">dune/common/parametertree.hh</a>&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
74 </div>81 </div>
75 <p><a·href="a00119_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00119_source.html">Go·to·the·source·code·of·this·file.</a></p>
76 <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="a02380.html">Dune::ParameterTreeParserError</a></td></tr>
 87 <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>
 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="a02384.html">Dune::HelpRequest</a></td></tr>
 90 <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>
 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="a02388.html">Dune::ParameterTreeParser</a></td></tr>
 93 <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>
 94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 95 </table><table·class="memberdecls">
77 <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>
78 Namespaces</h2></td></tr>97 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>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>
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>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>
81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <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>101 </table>
 102 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 103 <div·class="textblock"><p·>Various·parser·methods·to·get·data·into·a·ParameterTree·object.·</p>
86 </div><!--·contents·-->104 </div></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>
92 </html>110 </html>
1.15 KB
html2text {}
    
Offset 4, 22 lines modifiedOffset 4, 35 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·Reference 
10 #include·<utility>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>
11 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  
 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  
12 ·Namespaces26 ·Namespaces
13 namespace· Dune27 namespace· Dune
14  ··········Dune·namespace.28  ··········Dune·namespace.
15  29  
 30 *****·Detailed·Description·*****
 31 Various·parser·methods·to·get·data·into·a·ParameterTree·object.
16 namespace· Dune::Std 
17  ··········Namespace·for·features·backported·from·new·C++·standards. 
18   
  
19 ===============================================================================32 ===============================================================================
20 ·····Generated·by [doxygen]·1.9.433 ·····Generated·by [doxygen]·1.9.4
25.4 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:·utility.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 58, 49 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_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">utility.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="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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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>
 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_PARAMETER_PARSER_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>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>
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">#warning·dune/common/std/utility.hh·is·deprecated·and·will·be·removed·after·Dune·2.8.\</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="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="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;string&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="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>80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</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="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="a00170.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="a00341.html">dune/common/exceptions.hh</a>&gt;</span></div>
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</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>
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>86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··}·<span·class="comment">//·namespace·Std</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·[·...·truncated·by·diffoscope;·len:·47,·SHA:·5f41d277ed0e150afb6b2678235a3e18baf00fc9fcfbe9d95a96a31ee7852b09·...·]</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>
94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</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>
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="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div>
96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</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>
 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>··<span·class="keyword">public</span>:</div>
 97 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</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>
 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>
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>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>
 132 <div·class="ttc"·id="aa00170_html"><div·class="ttname"><a·href="a00170.html">parametertree.hh</a></div><div·class="ttdoc">A·hierarchical·structure·of·string·parameters.</div></div>
 133 <div·class="ttc"·id="aa00341_html"><div·class="ttname"><a·href="a00341.html">exceptions.hh</a></div><div·class="ttdoc">A·few·common·exception·classes.</div></div>
98 <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>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>
99 </div><!--·fragment·--></div><!--·contents·-->145 </div><!--·fragment·--></div><!--·contents·-->
100 <!--·start·footer·part·-->146 <!--·start·footer·part·-->
101 <hr·class="footer"/><address·class="footer"><small>147 <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.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
103 </small></address>149 </small></address>
104 </body>150 </body>
105 </html>151 </html>
4.73 KB
html2text {}
    
Offset 4, 45 lines modifiedOffset 4, 122 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 parametertreeparser.hh
7 ····*·std 
8 utility.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_PARAMETER_PARSER_HH
 15 ·6#define·DUNE_PARAMETER_PARSER_HH
13 ·3#ifndef·DUNE_COMMON_STD_UTILITY_HH 
14 ·4#define·DUNE_COMMON_STD_UTILITY_HH 
15 ·5 
16 ·6#include·<utility> 
17 ·716 ·7
18 ·8#warning·dune/common/std/utility.hh·is·deprecated·and·will·be·removed·after 
19 Dune·2.8.\ 
20 ·9·Include·<utility>·instead 
21 ·1017 ·12#include·<istream>
 18 ·13#include·<string>
 19 ·14#include·<vector>
 20 ·15
 21 ·16#include·<dune/common/parametertree.hh>
 22 ·17#include·<dune/common/exceptions.hh>
 23 ·18
22 ·11namespace·Dune24 ·19namespace·Dune·{
23 ·12{ 
24 ·13 
25 ·14·namespace·Std25 ·20
 26 22·class·ParameterTreeParserError·:·public·RangeError·{};
 27 28·class·HelpRequest·:·public·Exception·{};
 28 ·29
 29 34·class·ParameterTreeParser
26 ·15·{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);
27 ·1642 ·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
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 
35 ·2448 ·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 ·144
 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
36 ·25}·//·namespace·Dune71 ·189}·//·end·namespace·Dune
37 ·26 
38 ·27#endif·//·#ifndef·DUNE_COMMON_STD_UTILITY_HH72 ·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.
39 Dune78 Dune
40 Dune·namespace.79 Dune·namespace.
41 Definition:·alignedallocator.hh:1380 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
 103 Dune::ParameterTreeParser::readOptions
 104 static·void·readOptions(int·argc,·char·*argv[],·ParameterTree·&pt)
 105 parse·command·line·options·and·build·hierarchical·ParameterTree·structure
 106 Definition:·parametertreeparser.cc:159
 107 Dune::ParameterTreeParser::readINITree
Max diff block lines reached; 116/4823 bytes (2.41%) of diff not shown.
9.28 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:·functional.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 58, 43 lines modifiedOffset 58, 63 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="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="#func-members">Functions</a>··</div>
71 ··<div·class="headertitle"><div·class="title">functional.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">shared_ptr.hh·File·Reference</div></div>
72 </div><!--header-->73 </div><!--header-->
73 <div·class="contents">74 <div·class="contents">
  
 75 <p>This·file·implements·several·utilities·related·to·std::shared_ptr.··
 76 <a·href="#details">More...</a></p>
74 <div·class="textblock"><code>#include·&lt;functional&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/>
 78 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
75 </div>79 </div>
76 <p><a·href="a00122_source.html">Go·to·the·source·code·of·this·file.</a></p>80 <p><a·href="a00122_source.html">Go·to·the·source·code·of·this·file.</a></p>
77 <table·class="memberdecls">81 <table·class="memberdecls">
78 <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>
79 Classes</h2></td></tr>83 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>84 <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>
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>85 <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>
82 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table><table·class="memberdecls">87 </table><table·class="memberdecls">
84 <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>
85 Namespaces</h2></td></tr>89 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>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>
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>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>
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: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>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:a0ee36ec1f6416afa0487a8a224376e34"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr>
 97 <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>
 98 <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>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:a0ee36ec1f6416afa0487a8a224376e34"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 100 <tr·class="memitem:abc8b6bf5f8910e34829136293000c29e"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 101 <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>
 102 <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>
 103 <tr·class="separator:abc8b6bf5f8910e34829136293000c29e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 <tr·class="memitem:ab3669cc3fbff695e5ae793ab49f1ca8a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 105 <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>
 106 <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>
 107 <tr·class="separator:ab3669cc3fbff695e5ae793ab49f1ca8a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table>108 </table>
 109 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 110 <div·class="textblock"><p·>This·file·implements·several·utilities·related·to·std::shared_ptr.·</p>
 111 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
93 </div><!--·contents·-->112 </div></div><!--·contents·-->
94 <!--·start·footer·part·-->113 <!--·start·footer·part·-->
95 <hr·class="footer"/><address·class="footer"><small>114 <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.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
97 </small></address>116 </small></address>
98 </body>117 </body>
99 </html>118 </html>
1.52 KB
html2text {}
    
Offset 4, 27 lines modifiedOffset 4, 42 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·std 
8 Classes·|·Namespaces7 Classes·|·Namespaces·|·Functions
9 functional.hh·File·Reference 
10 #include·<functional>8 shared_ptr.hh·File·Reference
 9 This·file·implements·several·utilities·related·to·std::shared_ptr.·More...
 10 #include·<memory>
 11 #include·<dune/common/typetraits.hh>
11 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
12 ·Classes13 ·Classes
13 struct· Dune::Std::identity 
14  ·······A·function·object·type·whose·operator()·returns·its·argument 
15 ·········unchanged.·More...14 struct· Dune::null_deleter<_T_>
 15  ·······implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything
 16 ·········More...
16  17  
17 ·Namespaces18 ·Namespaces
18 namespace· Dune19 namespace· Dune
19  ··········Dune·namespace.20  ··········Dune·namespace.
20  21  
21 namespace· Dune::Std 
22  ··········Namespace·for·features·backported·from·new·C++·standards.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...
23  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  
 35 *****·Detailed·Description·*****
 36 This·file·implements·several·utilities·related·to·std::shared_ptr.
 37 ··Author
 38 ······Markus·Blatt
  
24 ===============================================================================39 ===============================================================================
25 ·····Generated·by [doxygen]·1.9.440 ·····Generated·by [doxygen]·1.9.4
18.2 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:·functional.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 58, 52 lines modifiedOffset 58, 68 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">functional.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="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:·8;·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·ts=8·sw=2·et·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_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>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>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>
 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·&lt;<a·class="code"·href="a00014.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="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>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>{</div>83 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</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="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>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>··{</div>86 <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>
 88 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··};</div>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>89 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</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>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>
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>92 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··{</div>
96 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>}·<span·class="comment">//·namespace·Dune</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>
97 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>95 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</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>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>
 110 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span><span·class="preprocessor">#endif</span></div>
 111 <div·class="ttc"·id="aa00014_html"><div·class="ttname"><a·href="a00014.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</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>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>
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·[·...·truncated·by·diffoscope;·len:·49,·SHA:·6191a812293a48909093dcc192caca2201e21a44d3fd1f94c92f7c88507e5b18·...·]</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:·122,·SHA:·65887e689be4b3f8d3dfe029e35066932b128e476a13884e220d054a7a769aa1·...·]</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>
102 </div><!--·fragment·--></div><!--·contents·-->118 </div><!--·fragment·--></div><!--·contents·-->
103 <!--·start·footer·part·-->119 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>120 <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.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
106 </small></address>122 </small></address>
107 </body>123 </body>
108 </html>124 </html>
2.89 KB
html2text {}
    
Offset 4, 51 lines modifiedOffset 4, 76 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 shared_ptr.hh
7 ····*·std 
8 functional.hh 
9 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
10 ·1//·-*-·tab-width:·8;·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·ts=8·sw=2·et·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_STD_FUNCTIONAL_HH 
16 ·6#define·DUNE_COMMON_STD_FUNCTIONAL_HH 
17 ·7 
18 ·8#include·<functional> 
19 ·914 ·5
 15 ·6#ifndef·DUNE_SHARED_PTR_HH
 16 ·7#define·DUNE_SHARED_PTR_HH
 17 ·8
 18 ·9#include·<memory>
 19 ·10
 20 ·11#include·<dune/common/typetraits.hh>
20 ·10namespace·Dune21 ·17namespace·Dune
21 ·11{22 ·18{
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>23 ·47·template<class·T>
31 27·constexpr·T&&·operator()(T&&·t·)·const·noexcept·{return·std::forward<T>(t);} 
32 ·28·};24 48·struct·null_deleter
 25 ·49·{
 26 50·void·operator()(T*)·const·{}
 27 ·51·};
 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>
 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}
33 ·29#endif49 ·125#endif
 50 typetraits.hh
 51 Traits·for·type·conversions·and·type·information.
34 ·30·}·//·namespace·Std 
35 ·31 
36 ·32}·//·namespace·Dune 
37 ·33 
38 ·34#endif·//·#ifndef·DUNE_COMMON_STD_FUNCTIONAL_HH 
39 Dune52 Dune
40 Dune·namespace.53 Dune·namespace.
41 Definition:·alignedallocator.hh:1354 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:2755 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:·shared_ptr.hh:72
 59 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
  
48 ===============================================================================73 ===============================================================================
49 ·····Generated·by [doxygen]·1.9.474 ·····Generated·by [doxygen]·1.9.4
7.76 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:·densevector.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, 56 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="headertitle"><div·class="title">parametertreeparser.cc·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">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-->69 </div><!--header-->
73 <div·class="contents">70 <div·class="contents">
  
74 <p>Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.·· 
75 <a·href="#details">More...</a></p> 
76 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>71 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00119_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·/>
77 <code>#include·&lt;limits&gt;</code><br·/>78 <code>#include·&lt;set&gt;</code><br·/>
78 <code>#include·&lt;type_traits&gt;</code><br·/>79 <code>#include·&lt;map&gt;</code><br·/>
 80 <code>#include·&lt;algorithm&gt;</code><br·/>
79 <code>#include·&quot;<a·class="el"·href="a00041_source.html">genericiterator.hh</a>&quot;</code><br·/> 
80 <code>#include·&quot;<a·class="el"·href="a00083_source.html">ftraits.hh</a>&quot;</code><br·/> 
81 <code>#include·&quot;<a·class="el"·href="a00032_source.html">matvectraits.hh</a>&quot;</code><br·/> 
82 <code>#include·&quot;<a·class="el"·href="a00248_source.html">promotiontraits.hh</a>&quot;</code><br·/>81 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
83 <code>#include·&quot;<a·class="el"·href="a00071_source.html">dotproduct.hh</a>&quot;</code><br·/> 
84 <code>#include·&quot;<a·class="el"·href="a00080_source.html">boundschecking.hh</a>&quot;</code><br·/> 
85 </div> 
86 <p><a·href="a00125_source.html">Go·to·the·source·code·of·this·file.</a></p> 
87 <table·class="memberdecls"> 
88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
89 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="a01428.html">Dune::FieldTraits&lt;·DenseVector&lt;·V·&gt;·&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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01440.html">Dune::DenseIterator&lt;·C,·T,·R·&gt;</a></td></tr> 
93 <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> 
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="a01424.html">Dune::DenseVector&lt;·V·&gt;</a></td></tr> 
96 <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> 
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 <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> 
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
106 </table> 
107 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
108 <div·class="textblock"><p·>Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.·</p> 
109 </div></div><!--·contents·-->82 </div></div><!--·contents·-->
110 <!--·start·footer·part·-->83 <!--·start·footer·part·-->
111 <hr·class="footer"/><address·class="footer"><small>84 <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.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
113 </small></address>86 </small></address>
114 </body>87 </body>
115 </html>88 </html>
1.41 KB
html2text {}
    
Offset 4, 43 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 
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...7 parametertreeparser.cc·File·Reference
 8 #include·"parametertreeparser.hh"
 9 #include·<cstdlib>
 10 #include·<iostream>
 11 #include·<ostream>
 12 #include·<string>
 13 #include·<sstream>
 14 #include·<fstream>
 15 #include·<set>
 16 #include·<map>
12 #include·<algorithm>17 #include·<algorithm>
 18 #include·<dune/common/exceptions.hh>
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" 
21 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 ·Namespaces 
33 namespace· Dune 
34  ··········Dune·namespace. 
35   
36 namespace· Dune::fvmeta 
37   
38 *****·Detailed·Description·***** 
39 Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class. 
  
40 ===============================================================================19 ===============================================================================
41 ·····Generated·by [doxygen]·1.9.420 ·····Generated·by [doxygen]·1.9.4
7.95 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:·parametertree.cc·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 62, 27 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="summary">
 69 <a·href="#namespaces">Namespaces</a>·&#124;
 70 <a·href="#func-members">Functions</a>··</div>
68 ··<div·class="headertitle"><div·class="title">parametertree.cc·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">stringutility.hh·File·Reference</div></div>
69 </div><!--header-->72 </div><!--header-->
70 <div·class="contents">73 <div·class="contents">
  
 74 <p>Miscellaneous·helper·stuff.··
 75 <a·href="#details">More...</a></p>
71 <div·class="textblock"><code>#include·&lt;cstdlib&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
72 <code>#include·&lt;iostream&gt;</code><br·/> 
73 <code>#include·&lt;ostream&gt;</code><br·/> 
74 <code>#include·&lt;string&gt;</code><br·/>77 <code>#include·&lt;cstring&gt;</code><br·/>
75 <code>#include·&lt;sstream&gt;</code><br·/> 
76 <code>#include·&lt;fstream&gt;</code><br·/> 
77 <code>#include·&lt;set&gt;</code><br·/> 
78 <code>#include·&lt;algorithm&gt;</code><br·/>78 <code>#include·&lt;algorithm&gt;</code><br·/>
 79 <code>#include·&lt;cassert&gt;</code><br·/>
 80 <code>#include·&lt;cstdio&gt;</code><br·/>
 81 <code>#include·&lt;memory&gt;</code><br·/>
 82 <code>#include·&lt;string&gt;</code><br·/>
 83 <code>#include·&lt;new&gt;</code><br·/>
79 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>84 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00308_source.html">dune/common/parametertree.hh</a>&gt;</code><br·/>85 </div>
 86 <p><a·href="a00128_source.html">Go·to·the·source·code·of·this·file.</a></p>
 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 </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:gaf31028edab397ce01e0192a2823488f7"><td·class="memTemplParams"·colspan="2">template&lt;typename·C·&gt;·</td></tr>
 97 <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>
 98 <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>
 99 <tr·class="separator:gaf31028edab397ce01e0192a2823488f7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 100 <tr·class="memitem:ga560ea1a14403e04148126a2e9396dea2"><td·class="memTemplParams"·colspan="2">template&lt;typename·C·&gt;·</td></tr>
 101 <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>
 102 <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>
 103 <tr·class="separator:ga560ea1a14403e04148126a2e9396dea2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 <tr·class="memitem:gab825672ce0273462cb092bba70f39d0b"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr>
 105 <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>
 106 <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>
 107 <tr·class="separator:gab825672ce0273462cb092bba70f39d0b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 </table>
 109 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 110 <div·class="textblock"><p·>Miscellaneous·helper·stuff.·</p>
81 </div></div><!--·contents·-->111 </div></div><!--·contents·-->
82 <!--·start·footer·part·-->112 <!--·start·footer·part·-->
83 <hr·class="footer"/><address·class="footer"><small>113 <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.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
85 </small></address>115 </small></address>
86 </body>116 </body>
87 </html>117 </html>
1.45 KB
html2text {}
    
Offset 4, 21 lines modifiedOffset 4, 45 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 parametertree.cc·File·Reference7 Namespaces·|·Functions
 8 stringutility.hh·File·Reference
 9 Miscellaneous·helper·stuff.·More...
8 #include·<cstdlib>10 #include·<cstddef>
9 #include·<iostream> 
10 #include·<ostream> 
11 #include·<string>11 #include·<cstring>
12 #include·<sstream> 
13 #include·<fstream> 
14 #include·<set> 
15 #include·<algorithm>12 #include·<algorithm>
 13 #include·<cassert>
 14 #include·<cstdio>
 15 #include·<memory>
 16 #include·<string>
 17 #include·<new>
16 #include·<dune/common/exceptions.hh>18 #include·<dune/common/exceptions.hh>
17 #include·<dune/common/parametertree.hh>19 Go_to_the_source_code_of_this_file.
 20 ·Namespaces
 21 namespace· Dune
 22  ··········Dune·namespace.
 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  
 40 *****·Detailed·Description·*****
 41 Miscellaneous·helper·stuff.
  
18 ===============================================================================42 ===============================================================================
19 ·····Generated·by [doxygen]·1.9.443 ·····Generated·by [doxygen]·1.9.4
26.0 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:·tupleutility.hh·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 66, 115 lines modifiedOffset 66, 69 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">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>73 ··<div·class="headertitle"><div·class="title">enumset.hh·File·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Contains·utility·classes·which·can·be·used·with·std::tuple.··76 <p>Classes·for·building·sets·out·of·enumeration·values.··
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;iostream&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="a00065_source.html">dune/common/hybridutilities.hh</a>&gt;</code><br·/> 
83 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
84 </div>79 </div>
85 <p><a·href="a00131_source.html">Go·to·the·source·code·of·this·file.</a></p>80 <p><a·href="a00131_source.html">Go·to·the·source·code·of·this·file.</a></p>
86 <table·class="memberdecls">81 <table·class="memberdecls">
87 <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>
88 Classes</h2></td></tr>83 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>84 <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>
 85 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·empty·set.··<a·href="a01524.html#details">More...</a><br·/></td></tr>
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <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>87 <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>
 88 <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>
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <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>90 <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>
 91 <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>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <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>93 <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>
 94 <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>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <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>96 <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>
 97 <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>
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 <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>99 <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>
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>100 <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>
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>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
148 </table><table·class="memberdecls">102 </table><table·class="memberdecls">
149 <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>
150 Namespaces</h2></td></tr>104 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>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>
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>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>
153 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
154 </table><table·class="memberdecls">108 </table><table·class="memberdecls">
155 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>109 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
156 Functions</h2></td></tr>110 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>111 <tr·class="memitem:ga6b888d5c77aa3559f4d8b92e175b4ac7"><td·class="memTemplParams"·colspan="2">template&lt;typename·TA·,·int·i&gt;·</td></tr>
 112 <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>
 113 <tr·class="separator:ga6b888d5c77aa3559f4d8b92e175b4ac7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 114 <tr·class="memitem:gabce1ed7f894e6d1d841dd328689c0752"><td·class="memTemplParams"·colspan="2">template&lt;typename·TA·,·int·from,·int·to&gt;·</td></tr>
 115 <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>
160 <tr·class="separator:gaeeffbe0f382283c9a2314a3947e54be9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>116 <tr·class="separator:gabce1ed7f894e6d1d841dd328689c0752"><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>117 <tr·class="memitem:gadef896cfc4c6002054c082927fe08385"><td·class="memTemplParams"·colspan="2">template&lt;class·TI1·,·class·TI2·&gt;·</td></tr>
 118 <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>
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> 
Max diff block lines reached; 638/21068 bytes (3.03%) of diff not shown.
5.29 KB
html2text {}
    
Offset 5, 109 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·|·Namespaces·|·Functions8 Classes·|·Namespaces·|·Functions
 9 enumset.hh·File·Reference
 10 Classes·for·building·sets·out·of·enumeration·values.·More...
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>11 #include·<iostream>
13 #include·<tuple> 
14 #include·<type_traits> 
15 #include·<utility> 
16 #include·<dune/common/hybridutilities.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 struct· Dune::TupleAccessTraits<_T_>14 class· Dune::EmptySet<_TA_>
 15  ······An·empty·set.·More...
21  16  
22 struct· Dune::TupleAccessTraits<_T_*_>17 class· Dune::AllSet<_TA_>
 18  ······A·set·containing·everything.·More...
23  19  
24 struct· Dune::TupleAccessTraits<_T_&_>20 class· Dune::EnumItem<_TA,_item_>
 21  ······A·set·consisting·only·of·one·item.·More...
25  22  
26 struct· Dune::NullPointerInitialiser<_std::tuple<_Args..._>_>23 class· Dune::EnumRange<_TA,_from,_end_>
 24  ······A·set·representing·a·range·including·the·borders.·More...
27  25  
28 struct· Dune::ForEachType<_TE,_std::tuple<_Args..._>_>26 class· Dune::NegateSet<_S_>
 27  ······The·negation·of·a·set.·An·item·is·contained·in·the·set·if·and·only·if
 28 ········it·is·not·contained·in·the·negated·set.·More...
29  29  
 30 class· Dune::Combine<_TI1,_TI2,_TA_>
 31  ······A·set·combining·two·other·sets.·More...
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... 
78  32  
79 ·Namespaces33 ·Namespaces
80 namespace· Dune34 namespace· Dune
81  ··········Dune·namespace.35  ··········Dune·namespace.
82  36  
83 ·Functions37 ·Functions
 38 template<typename·TA·,·int·i>
 39 ·························std::ostream·& Dune::operator<<·(std::ostream·&os,
 40 ·········································const·EnumItem<·TA,·i·>·&)
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... 
89  41  
 42 template<typename·TA·,·int·from,·int·to>
 43 ·························std::ostream·& Dune::operator<<·(std::ostream·&os,
 44 ·········································const·EnumRange<·TA,·from,·to·>·&)
90 template<class·Tuple·,·class·Functor·> 
91 ································auto Dune::genericTransformTuple·(Tuple·&&t, 
92 ······································Functor·&&f)·->·decltype 
93 ······································(genericTransformTupleBackend(t,·f)) 
94  45  
95 template<template<·class·>·class·TE,·class...·Args> 
96 TransformTupleFunctor<·TE,·Args...·> Dune::makeTransformTupleFunctor·(Args46 template<class·TI1·,·class·TI2·>
 47 Combine<·TI1,·TI2,·typename·TI1::Type·> Dune::combine·(const·TI1·&set1,·const
97 ······································&&...·args)48 ·········································TI2·&set2)
98  49  
 50 template<class·TI1·,·class·TI2·,·class·T·>
 51 ·························std::ostream·& Dune::operator<<·(std::ostream·&os,
 52 ·········································const·Combine<·TI1,·TI2,·T·>·&)
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...))) 
105  53  
106 *****·Detailed·Description·*****54 *****·Detailed·Description·*****
107 Contains·utility·classes·which·can·be·used·with·std::tuple.55 Classes·for·building·sets·out·of·enumeration·values.
 56 ··Author
Max diff block lines reached; 116/5395 bytes (2.15%) of diff not shown.
120 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:·tupleutility.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, 377 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">tupleutility.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="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_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>
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>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;iostream&gt;</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>·</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> 
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="a00065.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="a00386.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> 
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>
88 <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>{</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#gaeeff[·...·truncated·by·diffoscope;·len:·165,·SHA:·6f58e29bfc51f4939cb072a79d8830333154d0316170a7f9474bba288b442632·...·]</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>
91 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{</div>84 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</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>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>
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> 
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> 
97 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</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_const&lt;T&gt;::type&amp;·<a·class="code·hl_typedef"·href="a00403.html#gaf3eb742968041769424b84691408fb73">ParameterType</a>;</div> 
101 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</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>·</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>
102 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>96 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</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>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>
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>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>
110 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</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>
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> 
117 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··};</div>105 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··};</div>
118 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>106 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</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>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>
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>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>
121 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>109 <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>110 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">public</span>:</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">st[·...·truncated·by·diffoscope;·len:·31,·SHA:·fd2860b49b9fcb6e6db0e6e89433cce1f182f0daf50623303f48f481b77103e8·...·];</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<[·...·truncated·by·diffoscope;·len:·3,·SHA:·141dcbd495bbfe2b8aa0299f353a88172d1d350a27a19a8409a32f9db0d90e63·...·];</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>
124 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{</div>113 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</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>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>
130 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··};</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>
131 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>120 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</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>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#a7c3[·...·truncated·by·diffoscope;·len:·178,·SHA:·644df0d99f33082d006948c18aedec07a70713be8910b1c60807a815e54bbb10·...·]</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>
134 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div>133 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</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>::[·...·truncated·by·diffoscope;·len:·21,·SHA:·a06ac9ec66b23eecb23f612c0df9ec3a546abe7bd38ba681e4e417e887ae5b36·...·]&gt;</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>
Max diff block lines reached; 68167/102434 bytes (66.55%) of diff not shown.
19.9 KB
html2text {}
    
Offset 4, 517 lines modifiedOffset 4, 206 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 tupleutility.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_ENUMSET_HH
 15 ·6#define·DUNE_ENUMSET_HH
 16 ·7
 17 ·8#include·<iostream>
 18 ·9
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> 
21 ·12#include·<utility> 
22 ·13 
23 ·14#include·<dune/common/hybridutilities.hh> 
24 ·15#include·<dune/common/typetraits.hh> 
25 ·16 
26 ·17namespace·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);
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·{ 
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; 
41 ·53·};27 ·37·};
42 ·54 
43 ·55·template<class·T> 
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 ·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 
59 ·78·template<class·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...>·> 
77 ·120·{ 
78 121·typedef·std::tuple<typename·TE<Args>::Type...>·Type; 
79 ·122·}; 
80 ·123 
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 ·13828 ·38
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...>{}))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:
Max diff block lines reached; 15475/20335 bytes (76.10%) of diff not shown.
7.93 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:·stdthread.cc·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 65, 34 lines modifiedOffset 65, 50 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">stdthread.cc·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">streamoperators.hh·File·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
 75 <p>Implementation·of·stream·operators·for·std::array·and·std::tuple.··
 76 <a·href="#details">More...</a></p>
75 <div·class="textblock"><code>#include·&lt;cstdlib&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>
76 <code>#include·&lt;iostream&gt;</code><br·/> 
77 <code>#include·&lt;mutex&gt;</code><br·/>78 <code>#include·&lt;tuple&gt;</code><br·/>
78 <code>#include·&lt;ostream&gt;</code><br·/>79 <code>#include·&lt;utility&gt;</code><br·/>
79 <code>#include·&lt;<a·class="el"·href="a00200_source.html">dune/common/stdthread.hh</a>&gt;</code><br·/>80 <code>#include·&lt;<a·class="el"·href="a00023_source.html">dune/common/hybridutilities.hh</a>&gt;</code><br·/>
 81 </div>
 82 <p><a·href="a00134_source.html">Go·to·the·source·code·of·this·file.</a></p>
80 </div><table·class="memberdecls">83 <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>
86 </table><table·class="memberdecls">89 </table><table·class="memberdecls">
87 <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>
88 Functions</h2></td></tr>91 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,·i[·...·truncated·by·diffoscope;·len:·30,·SHA:·ca8d670f8c1efa8aa973188c6e507ac7a3ab4a8dd3f570a5afb48c91e82e7440·...·]</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>
 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>
90 <tr·class="separator:aa76832a917330622cdf531c2e6375f4c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:ga724a26a744239bcf2c7cfd87bd6570ce"><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>
 103 <tr·class="separator:ga6ce3dfead28bdbf55cfec42171784831"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table>104 </table>
 105 <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>
92 </div><!--·contents·-->107 </div></div><!--·contents·-->
93 <!--·start·footer·part·-->108 <!--·start·footer·part·-->
94 <hr·class="footer"/><address·class="footer"><small>109 <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.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
96 </small></address>111 </small></address>
97 </body>112 </body>
98 </html>113 </html>
1.33 KB
html2text {}
    
Offset 5, 23 lines modifiedOffset 5, 36 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 stdthread.cc·File·Reference 
10 #include·<cstdlib> 
11 #include·<iostream>9 streamoperators.hh·File·Reference
 10 Implementation·of·stream·operators·for·std::array·and·std::tuple.·More...
 11 #include·<array>
12 #include·<mutex>12 #include·<tuple>
13 #include·<ostream> 
14 #include·<dune/common/stdthread.hh>13 #include·<utility>
 14 #include·<dune/common/hybridutilities.hh>
 15 Go_to_the_source_code_of_this_file.
15 ·Namespaces16 ·Namespaces
16 namespace· Dune17 namespace· Dune
17  ··········Dune·namespace.18  ··········Dune·namespace.
18  19  
19 ·Functions20 ·Functions
20 void Dune::doAssertCallOnce·(const·char·*file,·int·line,·const·char·*function)21 template<typename·Stream·,·typename...·Ts>
 22 Stream·& Dune::operator<<·(Stream·&stream,·const·std::tuple<·Ts...·>·&t)
 23  ········Print·a·std::tuple.·More...
21  24  
 25 template<typename·Stream·,·typename...·Ts>
 26 Stream·& Dune::operator>>·(Stream·&stream,·std::tuple<·Ts...·>·&t)
 27  ········Read·a·std::tuple.·More...
 28  
 29 template<typename·Stream·,·typename·T·,·std::size_t·N>
 30 Stream·& Dune::operator<<·(Stream·&stream,·const·std::array<·T,·N·>·&a)
 31  ········Print·a·std::array.·More...
 32  
 33 *****·Detailed·Description·*****
 34 Implementation·of·stream·operators·for·std::array·and·std::tuple.
  
22 ===============================================================================35 ===============================================================================
23 ·····Generated·by [doxygen]·1.9.436 ·····Generated·by [doxygen]·1.9.4
6.18 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:·interfaces.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 63, 40 lines modifiedOffset 63, 35 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">interfaces.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">deprecated.hh·File·Reference</div></div>
73 </div><!--header-->72 </div><!--header-->
74 <div·class="contents">73 <div·class="contents">
  
75 <p>Provides·interfaces·for·detection·of·specific·behavior.··74 <p>Definition·of·the·<code>DUNE_NO_DEPRECATED_*</code>·macros.··
76 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
  
77 <p><a·href="a00137_source.html">Go·to·the·source·code·of·this·file.</a></p>76 <p><a·href="a00137_source.html">Go·to·the·source·code·of·this·file.</a></p>
78 <table·class="memberdecls">77 <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">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01868.html">Dune::Cloneable</a></td></tr> 
82 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·interface·class·for·cloneable·objects.··<a·href="a01868.html#details">More...</a><br·/></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>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
86 Namespaces</h2></td></tr>79 Macros</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>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;&#1[·...·truncated·by·diffoscope;·len:·12,·SHA:·36a1c77fa2c37dfe41c5f279f074c02ca3b47d7426f7e1bddc031accd01c9cd1·...·]</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>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:ga74d440d098178dc5a4adea8f7c160e99"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 83 <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>
 84 <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>
 85 <tr·class="separator:ga664ae9266c2a074c71746e68aaa8eb6a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>86 </table>
91 <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"><p·>Definition·of·the·<code>DUNE_NO_DEPRECATED_*</code>·macros.·</p>
92 <div·class="textblock"><p·>Provides·interfaces·for·detection·of·specific·behavior.·</p> 
93 <dl·class="section·author"><dt>Author</dt><dd>Robert·Kloefkorn·</dd></dl> 
94 </div></div><!--·contents·-->89 </div></div><!--·contents·-->
95 <!--·start·footer·part·-->90 <!--·start·footer·part·-->
96 <hr·class="footer"/><address·class="footer"><small>91 <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.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
98 </small></address>93 </small></address>
99 </body>94 </body>
100 </html>95 </html>
983 B
html2text {}
    
Offset 4, 26 lines modifiedOffset 4, 23 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces 
8 interfaces.hh·File·Reference 
9 Provides·interfaces·for·detection·of·specific·behavior.·More...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.10 Go_to_the_source_code_of_this_file.
11 ·Classes 
12 struct· Dune::Cloneable 
13  ·······An·interface·class·for·cloneable·objects.·More...11 ·Macros
 12 #define DUNE_NO_DEPRECATED_BEGIN   ...
 13  ·······Ignore·deprecation·warnings·(start)·More...
14  14  
 15 #define DUNE_NO_DEPRECATED_END   ...
 16  ·······Ignore·deprecation·warnings·(end)·More...
15 ·Namespaces 
16 namespace· Dune 
17  ··········Dune·namespace. 
18  17  
19 *****·Detailed·Description·*****18 *****·Detailed·Description·*****
 19 Definition·of·the·DUNE_NO_DEPRECATED_*·macros.
20 Provides·interfaces·for·detection·of·specific·behavior. 
21 ··Author 
22 ······Robert·Kloefkorn 
  
23 ===============================================================================20 ===============================================================================
24 ·····Generated·by [doxygen]·1.9.421 ·····Generated·by [doxygen]·1.9.4
13.3 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:·interfaces.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, 41 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">interfaces.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="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_INTERFACES_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_INTERFACES_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="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>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>
79 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>103 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
80 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno"><a·class="line"·href="a01868.html">···16</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01868.html">Cloneable</a>·{</div> 
81 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
82 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno"><a·class="line"·href="a01868.html#ab939bd736273aeaa041ac6ec7da846e9">···23</a></span>····<span·class="keyword">virtual</span>·<a·class="code·hl_struct"·href="a01868.html">Cloneable</a>*·<a·class="code·hl_function"·href="a01868.html#ab939bd736273aeaa041ac6ec7da846e9">clone</a>()·<span·class="keyword">const</span>·=·0;</div> 
83 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> 
84 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a01868.html#a7f08c4409e8f17388832c262eaadea88">···26</a></span>····<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01868.html#a7f08c4409e8f17388832c262eaadea88">~Cloneable</a>()</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>·</div> 
87 <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>·</div>104 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
89 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>}·<span·class="comment">//·end·namespace·Dune</span></div> 
90 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#endif</span></div>105 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="preprocessor">#endif</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·class="ttc"·id="aa01868_html"><div·class="ttname"><a·href="a01868.html">Dune::Cloneable</a></div><div·class="ttdoc">An·interface·class·for·cloneable·objects.</div><div·class="ttdef"><b>Definition:</b>·interfaces.hh:16</div></div> 
93 <div·class="ttc"·id="aa01868_html_a7f08c4409e8f17388832c262eaadea88"><div·class="ttname"><a·href="a01868.html#a7f08c4409e8f17388832c262eaadea88">Dune::Cloneable::~Cloneable</a></div><div·class="ttdeci">virtual·~Cloneable()</div><div·class="ttdoc">Destructor.</div><div·class="ttdef"><b>Definition:</b>·interfaces.hh:26</div></div> 
94 <div·class="ttc"·id="aa01868_html_ab939bd736273aeaa041ac6ec7da846e9"><div·class="ttname"><a·href="a01868.html#ab939bd736273aeaa041ac6ec7da846e9">Dune::Cloneable::clone</a></div><div·class="ttdeci">virtual·Cloneable·*·clone()·const·=0</div><div·class="ttdoc">Clones·the·object·clone·needs·to·be·redefined·by·an·implementation·class,·with·the·return·type·covari...</div></div> 
95 </div><!--·fragment·--></div><!--·contents·-->106 </div><!--·fragment·--></div><!--·contents·-->
96 <!--·start·footer·part·-->107 <!--·start·footer·part·-->
97 <hr·class="footer"/><address·class="footer"><small>108 <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.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
99 </small></address>110 </small></address>
100 </body>111 </body>
101 </html>112 </html>
2.23 KB
html2text {}
    
Offset 4, 47 lines modifiedOffset 4, 48 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 interfaces.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_INTERFACES_HH 
15 ·6#define·DUNE_INTERFACES_HH14 ·5#ifndef·DUNE_DEPRECATED_HH
 15 ·6#define·DUNE_DEPRECATED_HH
16 ·716 ·7
17 ·13namespace·Dune·{ 
18 ·14 
19 16·struct·Cloneable·{ 
20 ·17 
21 23·virtual·Cloneable*·clone()·const·=·0; 
22 ·24 
23 26·virtual·~Cloneable() 
24 ·27·{} 
25 ·28 
26 ·29·}; 
27 ·30 
28 ·31}·//·end·namespace·Dune17 ·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
29 ·32#endif41 ·60#endif
 42 ·61
 43 ·63
 44 ·64#endif
30 Dune 
31 Dune·namespace. 
32 Definition:·alignedallocator.hh:13 
33 Dune::Cloneable 
34 An·interface·class·for·cloneable·objects. 
35 Definition:·interfaces.hh:16 
36 Dune::Cloneable::~Cloneable 
37 virtual·~Cloneable() 
38 Destructor. 
39 Definition:·interfaces.hh:26 
40 Dune::Cloneable::clone 
41 virtual·Cloneable·*·clone()·const·=0 
42 Clones·the·object·clone·needs·to·be·redefined·by·an·implementation·class,·with 
43 the·return·type·covari... 
  
44 ===============================================================================45 ===============================================================================
45 ·····Generated·by [doxygen]·1.9.446 ·····Generated·by [doxygen]·1.9.4
5.64 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:·debugallocator.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 62, 19 lines modifiedOffset 62, 50 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·File·Reference</div></div>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">indent.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
69 </div><!--header-->73 </div><!--header-->
70 <div·class="contents">74 <div·class="contents">
  
 75 <p>Utility·class·for·handling·nested·indentation·in·output.··
 76 <a·href="#details">More...</a></p>
 77 <div·class="textblock"><code>#include·&lt;ostream&gt;</code><br·/>
 78 <code>#include·&lt;string&gt;</code><br·/>
 79 </div>
71 <p><a·href="a00140_source.html">Go·to·the·source·code·of·this·file.</a></p>80 <p><a·href="a00140_source.html">Go·to·the·source·code·of·this·file.</a></p>
 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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01864.html">Dune::Indent</a></td></tr>
 85 <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>
 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>
 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 </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: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>
 97 <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>
 98 <tr·class="separator:gace1faa2fb503952859542dbea15eb066"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 99 </table>
 100 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 101 <div·class="textblock"><p·>Utility·class·for·handling·nested·indentation·in·output.·</p>
 102 <dl·class="section·author"><dt>Author</dt><dd>Jö·Fahlke·</dd></dl>
72 </div><!--·contents·-->103 </div></div><!--·contents·-->
73 <!--·start·footer·part·-->104 <!--·start·footer·part·-->
74 <hr·class="footer"/><address·class="footer"><small>105 <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.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
76 </small></address>107 </small></address>
77 </body>108 </body>
78 </html>109 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
886 B
html2text {}
    
Offset 4, 12 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·|·Functions
7 debugallocator.hh·File·Reference8 indent.hh·File·Reference
 9 Common
 10 Utility·class·for·handling·nested·indentation·in·output.·More...
 11 #include·<ostream>
 12 #include·<string>
8 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  
 18 ·Namespaces
 19 namespace· Dune
 20  ··········Dune·namespace.
 21  
 22 ·Functions
 23 std::ostream·& Dune::operator<<·(std::ostream·&s,·const·Indent·&indent)
 24  ··············write·indentation·to·a·stream·More...
 25  
 26 *****·Detailed·Description·*****
 27 Utility·class·for·handling·nested·indentation·in·output.
 28 ··Author
 29 ·······Fahlke
  
9 ===============================================================================30 ===============================================================================
10 ·····Generated·by [doxygen]·1.9.431 ·····Generated·by [doxygen]·1.9.4
76.1 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:·debugallocator.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, 345 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">debugallocator.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="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_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_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_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_COMMON_INDENT_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>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;ostream&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>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</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">#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>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>
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>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>
93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00170.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>84 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</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>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>
105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····{</div>86 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····std::string·basic_indent;</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>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="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>88 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</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>89 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">public</span>:</div>
120 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</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>
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>92 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······:·parent(0),·basic_indent(basic_indent_),·level(level_)</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>93 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····{·}</div>
133 <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>·</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>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[·...·truncated·by·diffoscope;·len:·54,·SHA:·8e68700b53046e0c37429d35a6cbe212680b0f03ff8582950db63c26749fe78d·...·]</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>
136 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······AllocationList·allocation_list;</div>97 <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>98 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</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>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>
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> 
164 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······}</div>103 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····{·}</div>
Max diff block lines reached; 563/65282 bytes (0.86%) of diff not shown.
12.2 KB
html2text {}
    
Offset 4, 356 lines modifiedOffset 4, 121 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 debugallocator.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#ifndef·DUNE_DEBUG_ALLOCATOR_HH 
15 ·6#define·DUNE_DEBUG_ALLOCATOR_HH14 ·5#ifndef·DUNE_COMMON_INDENT_HH
 15 ·6#define·DUNE_COMMON_INDENT_HH
16 ·716 ·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>17 ·8#include·<ostream>
27 ·18#include·<cstring>18 ·9#include·<string>
 19 ·10
 20 ·11namespace·Dune·{
28 ·19#include·<cstdint> 
29 ·20#include·<cstdlib> 
30 ·21#include·<new> 
31 ·2221 ·22
 22 52·class·Indent
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·{23 ·53·{
 24 ·54·const·Indent*·parent;
 25 ·55·std::string·basic_indent;
 26 ·56·unsigned·level;
 27 ·57
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 
104 ·94·} 
105 ·95 
106 ·96·public:28 ·58·public:
107 ·97 
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++)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_)
Max diff block lines reached; 7844/12464 bytes (62.93%) of diff not shown.
15.9 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:·exceptions.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, 82 lines modifiedOffset 63, 48 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; 
73 <a·href="#func-members">Functions</a>··</div>71 <a·href="#var-members">Variables</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>72 ··<div·class="headertitle"><div·class="title">stdstreams.cc·File·Reference</div></div>
75 </div><!--header-->73 </div><!--header-->
76 <div·class="contents">74 <div·class="contents">
 75 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00332_source.html">stdstreams.hh</a>&quot;</code><br·/>
  
77 <p>A·few·common·exception·classes.·· 
78 <a·href="#details">More...</a></p> 
79 <div·class="textblock"><code>#include·&lt;exception&gt;</code><br·/> 
80 <code>#include·&lt;string&gt;</code><br·/> 
81 <code>#include·&lt;sstream&gt;</code><br·/> 
82 </div> 
83 <p><a·href="a00143_source.html">Go·to·the·source·code·of·this·file.</a></p> 
84 <table·class="memberdecls">76 </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="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> 
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="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> 
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="a01556.html">Dune::IOError</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> 
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="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> 
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="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> 
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> 
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> 
117 </table><table·class="memberdecls"> 
118 <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>
119 Namespaces</h2></td></tr>78 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>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>
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>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>
122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
123 </table><table·class="memberdecls">82 </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> 
127 <tr·class="separator:gad7fce127d6eaabe773adbc409514f21e"><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>83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-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::operat[·...·truncated·by·diffoscope;·len:·65,·SHA:·25d797812b2de5ae94248a738e5c04c8b7ef716e096f12de603340a0d06dc046·...·]</td></tr>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>
132 <tr·class="separator:gad42c9f04f7871a06e6149e1a11185404"><td·class="memSeparator"·colspan="2">&#160;</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>
133 </table>103 </table>
134 <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> 
137 </div></div><!--·contents·-->104 </div><!--·contents·-->
138 <!--·start·footer·part·-->105 <!--·start·footer·part·-->
139 <hr·class="footer"/><address·class="footer"><small>106 <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.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
141 </small></address>108 </small></address>
142 </body>109 </body>
143 </html>110 </html>
2.46 KB
html2text {}
    
Offset 4, 65 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
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>9 #include·"stdstreams.hh"
14 Go_to_the_source_code_of_this_file. 
15 ·Classes 
16 ·class· Dune::Exception 
17  ·······Base·class·for·Dune-Exceptions.·More... 
18   
19 struct· Dune::ExceptionHook 
20  ·······Base·class·to·add·a·hook·to·the·Dune::Exception.·More... 
21   
22 ·class· Dune::IOError 
23  ·······Default·exception·class·for·I/O·errors.·More... 
24   
25 ·class· Dune::MathError 
26  ·······Default·exception·class·for·mathematical·errors.·More... 
27   
28 ·class· Dune::RangeError 
29  ·······Default·exception·class·for·range·errors.·More... 
30   
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   
48 ·Namespaces10 ·Namespaces
49 namespace· Dune11 namespace· Dune
50  ··········Dune·namespace.12  ··········Dune·namespace.
51  13  
52 ·Macros 
53 #define DUNE_THROW(E,·m)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...
54  29  
55 ·Functions 
56 std::ostream·& Dune::operator<<·(std::ostream·&stream,·const·Exception·&e)30 ··DErrType Dune::derr·(std::cerr)
 31  ··········Stream·for·error·messages.·More...
57  32  
58 *****·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·manner 
  
62 ===============================================================================33 ===============================================================================
63 ·····Generated·by [doxygen]·1.9.434 ·····Generated·by [doxygen]·1.9.4
35.6 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:·simd.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 65, 94 lines modifiedOffset 65, 119 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>·&#124; 
73 <a·href="#func-members">Functions</a>··</div>72 <a·href="#func-members">Functions</a>·&#124;
 73 <a·href="#var-members">Variables</a>··</div>
74 ··<div·class="headertitle"><div·class="title">simd.hh·File·Reference</div></div>74 ··<div·class="headertitle"><div·class="title">rangeutilities.hh·File·Reference</div></div>
75 </div><!--header-->75 </div><!--header-->
76 <div·class="contents">76 <div·class="contents">
  
77 <p>Abstractions·for·support·of·dedicated·SIMD·data·types.··77 <p>Utilities·for·reduction·like·operations·on·ranges.··
78 <a·href="#details">More...</a></p>78 <a·href="#details">More...</a></p>
 79 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
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·/>80 <code>#include·&lt;algorithm&gt;</code><br·/>
82 <code>#include·&lt;utility&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·/>
83 <code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/conditional.hh</a>&gt;</code><br·/> 
84 <code>#include·&lt;<a·class="el"·href="a00254_source.html">dune/common/debugalign.hh</a>&gt;</code><br·/> 
85 <code>#include·&lt;<a·class="el"·href="a00233_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a00008_source.html">dune/common/vc.hh</a>&gt;</code><br·/> 
88 </div>84 </div>
89 <p><a·href="a00146_source.html">Go·to·the·source·code·of·this·file.</a></p>85 <p><a·href="a00146_source.html">Go·to·the·source·code·of·this·file.</a></p>
90 <table·class="memberdecls">86 <table·class="memberdecls">
91 <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>
92 Classes</h2></td></tr>88 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>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>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>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">deduce·the·underlying·scalar·data·type·of·an·AlignedNumber··<a·href="a02596.html#details">More...</a><br·/></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>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>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>
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <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="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>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 </table><table·class="memberdecls">104 </table><table·class="memberdecls">
103 <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>
104 Namespaces</h2></td></tr>106 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>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>
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>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>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 </table><table·class="memberdecls">110 </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>111 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
124 Functions</h2></td></tr>112 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>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>
128 <tr·class="separator:afc2c37fe2704917536f5263272d0a7e2"><td·class="memSeparator"·colspan="2">&#160;</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>
Max diff block lines reached; 1528/28030 bytes (5.45%) of diff not shown.
8.11 KB
html2text {}
    
Offset 4, 81 lines modifiedOffset 4, 137 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Classes·|·Namespaces·|·Functions·|·Variables
 8 rangeutilities.hh·File·Reference
 9 Utilities·for·reduction·like·operations·on·ranges.·More...
7 Classes·|·Namespaces·|·Typedefs·|·Functions 
8 simd.hh·File·Reference 
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>10 #include·<dune/common/typetraits.hh>
18 #include·<dune/common/vc.hh>11 #include·<algorithm>
 12 #include·<utility>
 13 #include·<type_traits>
 14 #include·<bitset>
19 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
20 ·Classes16 ·Classes
21 struct· Dune::SimdScalarTypeTraits<_T_>17 ·class· Dune::IntegralRange<_T_>
 18  ·······dynamic·integer·range·for·use·in·range-based·for·loops·More...
22  19  
23 struct· Dune::SimdScalarTypeTraits<_AlignedNumber<_T,_align_>_> 
24  ·······deduce·the·underlying·scalar·data·type·of·an·AlignedNumber·More...20 ·class· Dune::StaticIntegralRange<_T,_to,_from_>
 21  ·······static·integer·range·for·use·in·range-based·for·loops·More...
25  22  
26 struct· Dune::SimdIndexTypeTraits<_V,_typename_>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...
27  30  
28 struct· Dune::SimdMaskTypeTraits<_V,_typename_>31 ·class· Dune::TransformedRangeView<_R,_F,_T_>
 32  ·······A·range·transforming·the·values·of·another·range·on-the-fly.·More...
29  33  
30 ·Namespaces34 ·Namespaces
31 namespace· Dune35 namespace· Dune
32  ··········Dune·namespace.36  ··········Dune·namespace.
33  37  
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 ·Functions38 ·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...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...
50  44  
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...45 template<typename·T·,·typename·std::enable_if<!IsIterable<·T·>::value,·int·>::
 46 type·=·0>
 47 ································const·T·& Dune::max_value·(const·T·&v)
54  48  
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...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...
58  54  
59 template<class·T·> 
60 ·······void Dune::assign·(T·&dst,·const·T·&src,·bool·mask) 
61  ···········masked·Simd·assignment·(scalar·version)·More...55 template<typename·T·,·typename·std::enable_if<!IsIterable<·T·>::value,·int·>::
 56 type·=·0>
 57 ································const·T·& Dune::min_value·(const·T·&v)
62  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>
Max diff block lines reached; 889/8277 bytes (10.74%) of diff not shown.
249 KB
./usr/share/doc/libdune-common-doc/doxygen/a00146_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:·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, 503 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">simd.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="a00146.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="a00146.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_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_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_RANGE_UTILITIES_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="a00014.html">dune/common/typetraits.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="l00030"·name="l00030"></a><span·class="lineno">···30</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;algorithm&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>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="l00032"·name="l00032"></a><span·class="lineno">···32</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>
82 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</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;bitset&gt;</span></div>
83 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</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="a00173.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="a00254.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="a00233.html">dune/common/rangeutilities.hh</a>&gt;</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="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>
87 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#if·HAVE_VC</span></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>
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>94 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</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="a00386.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="a00008.html">dune/common/vc.hh</a>&gt;</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>
94 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>98 <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>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>
96 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>{</div>105 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··}</div>
97 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>106 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</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>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>
100 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>110 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</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>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>
102 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">class·</span>Proxy</div>117 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keywordflow">return</span>·b;</div>
103 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····{</div>118 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</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> 
108 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>119 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</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="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keyword">public</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>
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> 
121 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>123 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
122 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······<span·class="comment">//·postfix·operators</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>
123 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</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>
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>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>
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>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>
130 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</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>
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> 
Max diff block lines reached; 184406/211097 bytes (87.36%) of diff not shown.
43.1 KB
html2text {}
    
Offset 4, 556 lines modifiedOffset 4, 883 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 simd.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
 14 ·5#ifndef·DUNE_COMMON_RANGE_UTILITIES_HH
 15 ·6#define·DUNE_COMMON_RANGE_UTILITIES_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>17 ·8#include·<dune/common/typetraits.hh>
32 ·44#include·<dune/common/vc.hh>18 ·9#include·<algorithm>
 19 ·10#include·<utility>
 20 ·11#include·<type_traits>
 21 ·12#include·<bitset>
 22 ·13
 23 ·21namespace·Dune
 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;·}
33 ·4537 ·45
34 ·46namespace·Dune 
35 ·47{ 
36 ·48 
37 ·49#if·HAVE_VC 
38 ·50·namespace·VcImpl·{ 
39 ·52 
40 ·61·template<class·V> 
41 ·62·class·Proxy38 ·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·}
 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)
42 ·63·{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;·}
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 
Max diff block lines reached; 39231/44085 bytes (88.99%) of diff not shown.
9.25 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:·referencehelper.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 62, 61 lines modifiedOffset 62, 25 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="#namespaces">Namespaces</a>·&#124; 
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>68 ··<div·class="headertitle"><div·class="title">vc.hh·File·Reference</div></div>
74 </div><!--header-->69 </div><!--header-->
75 <div·class="contents">70 <div·class="contents">
76 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/> 
77 <code>#include·&lt;functional&gt;</code><br·/> 
78 </div> 
 71 <p>Compatibility·header·for·including·&lt;Vc/Vc&gt;··
 72 <a·href="#details">More...</a></p>
  
79 <p><a·href="a00149_source.html">Go·to·the·source·code·of·this·file.</a></p>73 <p><a·href="a00149_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>
80 <table·class="memberdecls"> 
81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> 
82 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="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 </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> 
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> 
115 </div><!--·contents·-->77 </div></div><!--·contents·-->
116 <!--·start·footer·part·-->78 <!--·start·footer·part·-->
117 <hr·class="footer"/><address·class="footer"><small>79 <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.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
119 </small></address>81 </small></address>
120 </body>82 </body>
121 </html>83 </html>
1.53 KB
html2text {}
    
Offset 4, 43 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 Namespaces·|·Typedefs·|·Functions·|·Variables 
8 referencehelper.hh·File·Reference 
9 #include·<type_traits> 
10 #include·<functional> 
11 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.
12 ·Namespaces 
13 namespace· Dune 
14  ··········Dune·namespace. 
15   
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   
  
40 ===============================================================================14 ===============================================================================
41 ·····Generated·by [doxygen]·1.9.415 ·····Generated·by [doxygen]·1.9.4
19.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:·referencehelper.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 62, 88 lines modifiedOffset 62, 38 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">referencehelper.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="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>
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>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>
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>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>
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;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> 
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> 
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>76 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#if·HAVE_VC</span></div>
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>77 <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>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>
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>80 <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·{}[·...·truncated·by·diffoscope;·len:·1,·SHA:·41b805ea7ac014e23556e98bb374702a08344268f92489a02f0880849394a1e4·...·]</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>
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>85 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</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>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>
 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>
97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</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>
98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>90 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</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> 
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> 
133 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</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>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>
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> 
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> 
142 </div><!--·fragment·--></div><!--·contents·-->92 </div><!--·fragment·--></div><!--·contents·-->
143 <!--·start·footer·part·-->93 <!--·start·footer·part·-->
144 <hr·class="footer"/><address·class="footer"><small>94 <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.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
146 </small></address>96 </small></address>
147 </body>97 </body>
148 </html>98 </html>
3.14 KB
html2text {}
    
Offset 4, 100 lines modifiedOffset 4, 34 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 referencehelper.hh7 vc.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_VC_HH
 13 ·4#define·DUNE_COMMON_VC_HH
 14 ·5
 15 ·15#if·HAVE_VC
14 ·5#ifndef·DUNE_COMMON_REFERENCE_HELPER_HH 
15 ·6#define·DUNE_COMMON_REFERENCE_HELPER_HH 
16 ·7 
17 ·8#include·<type_traits> 
18 ·9#include·<functional> 
19 ·10 
20 ·11 
21 ·12 
22 ·13namespace·Dune·{ 
23 ·14 
24 ·15namespace·Impl·{ 
25 ·1616 ·16
26 ·17·template<class·T> 
27 ·18·class·IsReferenceWrapper·:·public·std::false_type·{};17 ·17//·include·Vc's·macro·definitions
 18 ·18#include·<Vc/global.h>
28 ·1919 ·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>
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 ·2727 ·27
 28 ·28#endif·//·HAVE_VC
 29 ·29
 30 ·30#endif·//·DUNE_COMMON_VC_HH
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·Dune 
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 Dune 
90 Dune·namespace. 
91 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:100 
  
97 ===============================================================================31 ===============================================================================
98 ·····Generated·by [doxygen]·1.9.432 ·····Generated·by [doxygen]·1.9.4
7.37 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:·power.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, 43 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>··</div>70 <a·href="#namespaces">Namespaces</a>·&#124;
 71 <a·href="#func-members">Functions</a>··</div>
72 ··<div·class="headertitle"><div·class="title">power.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">overloadset.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;utility&gt;</code><br·/>
 76 <code>#include·&lt;type_traits&gt;</code><br·/>
  
75 <p>Various·implementations·of·the·power·function·for·run-time·and·static·arguments.·· 
76 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00290_source.html">dune/common/math.hh</a>&gt;</code><br·/>77 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
78 </div>78 </div>
79 <p><a·href="a00152_source.html">Go·to·the·source·code·of·this·file.</a></p>79 <p><a·href="a00152_source.html">Go·to·the·source·code·of·this·file.</a></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> 
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="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> 
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> 
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>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
91 Namespaces</h2></td></tr>82 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>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>
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>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>
94 <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: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>
95 </table>97 </table>
96 <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> 
98 </div></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>
104 </html>104 </html>
1.15 KB
html2text {}
    
Offset 4, 31 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·|·Namespaces7 Namespaces·|·Functions
8 power.hh·File·Reference8 overloadset.hh·File·Reference
9 Various·implementations·of·the·power·function·for·run-time·and·static 
10 arguments.·More...9 #include·<utility>
 10 #include·<type_traits>
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 ·Classes 
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... 
20   
21 ·Namespaces13 ·Namespaces
22 namespace· Dune14 namespace· Dune
23  ··········Dune·namespace.15  ··········Dune·namespace.
24  16  
25 *****·Detailed·Description·***** 
26 Various·implementations·of·the·power·function·for·run-time·and·static 
27 arguments.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  
  
28 ===============================================================================26 ===============================================================================
29 ·····Generated·by [doxygen]·1.9.427 ·····Generated·by [doxygen]·1.9.4
29.4 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:·power.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, 57 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">power.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="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_POWER_HH</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_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_OVERLOADSET_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">#warning·The·header·power.hh·is·deprecated.·Use·power·from·math.hh·instead.</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;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="a00014.html">dune/common/typetraits.hh</a>&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</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="a00290.html">dune/common/math.hh</a>&gt;</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>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Impl·{</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">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>
 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>
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</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>
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>99 <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"><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#ga0d7dfc[·...·truncated·by·diffoscope;·len:·141,·SHA:·b2d5e2775f62899f51dea08363449f728f71d88cf12ac1386caf53b457afed6d·...·];</div>100 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··};</div>
88 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··};</div>101 <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>102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>}·<span·class="comment">//·end·namespace·Impl</span></div>
90 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</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>
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>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>
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>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[·...·truncated·by·diffoscope;·len:·19,·SHA:·071be384206864650301b693c5865d0589049ee91b911c8bc09efed8430c1906·...·]</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>
 111 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</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>
 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>
93 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{</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>
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>120 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">public</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> 
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>·</div>121 <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>
 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="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>
 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>
 132 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</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>
 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>
 143 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······<span·class="keywordflow">return</span>·Base::operator()(std::forward&lt;Args&gt;(args)...);</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>·</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>·</div>
 148 <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>·F0&gt;</div>
 149 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="keyword">class·</span>OrderedOverloadSet&lt;F0&gt;:·<span·class="keyword">public</span>·F0</div>
 150 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··{</div>
103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="preprocessor">#endif</span></div>151 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="keyword">public</span>:</div>
 152 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
 153 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·FF0&gt;</div>
 154 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····OrderedOverloadSet(FF0&amp;&amp;·f0)·:</div>
 155 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>······F0(<a·class="code·hl_namespace"·href="a00424.html">std</a>::forward&lt;FF0&gt;(f0))</div>
 156 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····{}</div>
 157 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
 158 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····<span·class="comment">//·Forward·to·operator()·of·F0.·If·it·cannot·be·called·with</span></div>
 159 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····<span·class="comment">//·the·given·arguments·a·static·assertion·will·fail.</span></div>
 160 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...··Args&gt;</div>
 161 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<span·class="keyword">operator</span>()(Args&amp;&amp;...·args)</div>
 162 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>····{</div>
Max diff block lines reached; 1152/25332 bytes (4.55%) of diff not shown.
4.54 KB
html2text {}
    
Offset 4, 68 lines modifiedOffset 4, 144 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 power.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_POWER_HH14 ·5#ifndef·DUNE_COMMON_OVERLOADSET_HH
15 ·6#define·DUNE_COMMON_POWER_HH15 ·6#define·DUNE_COMMON_OVERLOADSET_HH
16 ·716 ·7
17 ·8#warning·The·header·power.hh·is·deprecated.·Use·power·from·math.hh·instead. 
18 ·917 ·8#include·<utility>
 18 ·9#include·<type_traits>
19 ·14#include·<dune/common/math.hh>19 ·10#include·<dune/common/typetraits.hh>
 20 ·11
 21 ·12namespace·Dune·{
 22 ·13
 23 ·14namespace·Impl·{
20 ·1524 ·15
21 ·16namespace·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);25 ·16·template<typename...·F>
 26 ·17·class·OverloadSet
 27 ·18·:·public·F...
 28 ·19·{
 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
27 ·31·};39 ·30·};
28 ·3240 ·31
 41 ·32}·//·end·namespace·Impl
29 ·3342 ·33
30 ·40·template·<int·p> 
31 41·struct·Power43 ·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}
 50 ·65
 51 ·66
 52 ·67
 53 ·68namespace·Impl·{
 54 ·69
 55 ·70·template<class·F0,·class...·F>
 56 ·71·class·OrderedOverloadSet:·public·OrderedOverloadSet<F...>,·F0
32 ·42·{57 ·72·{
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 
40 ·50}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.
 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·{
 73 ·87·return·F0::operator()(std::forward<Args>(args)...);
 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·}
 86 ·99
 87 ·100·};
 88 ·101
 89 ·102·template<class·F0>
 90 ·103·class·OrderedOverloadSet<F0>:·public·F0
 91 ·104·{
 92 ·105·public:
 93 ·106
 94 ·107·template<class·FF0>
 95 ·108·OrderedOverloadSet(FF0&&·f0)·:
 96 ·109·F0(std::forward<FF0>(f0))
 97 ·110·{}
 98 ·111
 99 ·112·//·Forward·to·operator()·of·F0.·If·it·cannot·be·called·with
 100 ·113·//·the·given·arguments·a·static·assertion·will·fail.
 101 ·114·template<class...·Args>
 102 ·115·decltype(auto)·operator()(Args&&...·args)
 103 ·116·{
 104 ·117·static_assert(IsCallable<F0(Args&&...)>::value,
 105 ·118·"No·matching·overload·found·in·OrderedOverloadSet");
 106 ·119·return·F0::operator()(std::forward<Args>(args)...);
 107 ·120·}
 108 ·121·};
 109 ·122
 110 ·123}·//·end·namespace·Impl
 111 ·124
 112 ·125
Max diff block lines reached; 474/4630 bytes (10.24%) of diff not shown.
5.98 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:·alignedallocator.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, 38 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="#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">alignedallocator.hh·File·Reference</div></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>
73 </div><!--header-->72 </div><!--header-->
74 <div·class="contents">73 <div·class="contents">
75 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00170_source.html">mallocallocator.hh</a>&quot;</code><br·/> 
 74 <p>Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.··
 75 <a·href="#details">More...</a></p>
 76 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
 77 <code>#include·&lt;type_traits&gt;</code><br·/>
76 <code>#include·&lt;cstdlib&gt;</code><br·/>78 <code>#include·&lt;istream&gt;</code><br·/>
 79 <code>#include·&lt;<a·class="el"·href="a00107_source.html">dune/common/densevector.hh</a>&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 82 <code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/matvectraits.hh</a>&gt;</code><br·/>
77 </div>83 </div>
78 <p><a·href="a00155_source.html">Go·to·the·source·code·of·this·file.</a></p>84 <p><a·href="a00155_source.html">Go·to·the·source·code·of·this·file.</a></p>
79 <table·class="memberdecls">85 <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">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> 
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> 
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>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
89 Namespaces</h2></td></tr>87 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>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="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>
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 </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>
94 </div><!--·contents·-->94 </div></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>
100 </html>100 </html>
1.08 KB
html2text {}
    
Offset 4, 25 lines modifiedOffset 4, 28 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces 
8 alignedallocator.hh·File·Reference 
9 #include·"mallocallocator.hh"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...
10 #include·<cstdlib>11 #include·<cstddef>
 12 #include·<type_traits>
 13 #include·<istream>
 14 #include·<dune/common/densevector.hh>
 15 #include·<dune/common/fvector.hh>
 16 #include·<dune/common/typetraits.hh>
 17 #include·<dune/common/matvectraits.hh>
11 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
12 ·Classes 
13 ·class· Dune::AlignedAllocator<_T,_Alignment_> 
14  ·······Allocators·which·guarantee·alignment·of·the·memory.·More... 
15   
16 struct· Dune::AlignedAllocator<_T,_Alignment_>::rebind<_U_> 
17   
18 ·Namespaces19 ·Namespaces
19 namespace· Dune20 namespace· Dune
20  ··········Dune·namespace.21  ··········Dune·namespace.
21  22  
 23 *****·Detailed·Description·*****
 24 Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.
  
22 ===============================================================================25 ===============================================================================
23 ·····Generated·by [doxygen]·1.9.426 ·····Generated·by [doxygen]·1.9.4
53.1 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:·alignedallocator.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, 114 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">alignedallocator.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="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>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>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_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_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_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·&quot;<a·class="code"·href="a00170.html">mallocallocator.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>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>·</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"><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>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/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="a00302.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="a00014.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="a00389.html">dune/common/matvectraits.hh</a>&gt;</span></div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</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_clas[·...·truncated·by·diffoscope;·len:·50,·SHA:·334f72eb0145dfd1c9638eb7b25fdfa9fd03718871d7905db50512f9929e8b06·...·]·{</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>
87 <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="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K&gt;</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> 
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>92 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">class·</span>ScalarVectorView·:</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>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>
101 <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>
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>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>
104 <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>
105 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>101 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
106 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#else</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>
107 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</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>
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="l00051"·name="l00051"></a><span·class="lineno">···51</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="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">using·</span>reference·=·std::decay_t&lt;K&gt;&amp;;</div>
118 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</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>
119 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">public</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>
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>114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····{}</div>
125 <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="code·hl_variable"·href="a01268.html#a88a3488574a3f40fc04154021a361cd3">alignment</a>·=·fixAlignment(<span·class="keyword">sizeof</span>(<span·class="keywordtype">void</span>*));</div> 
127 <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>
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#a44f1fdb0e71c96552035684d7a91[·...·truncated·by·diffoscope;·len:·216,·SHA:·297d2a078190a3bef85817fe019cc27799c7869b31d7b9115ed95afa7ef45028·...·]</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>
129 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····{</div>118 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</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>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>
132 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>124 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 125 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····ScalarVectorView·(ScalarVectorView·&amp;&amp;other)·:</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>126 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······Base(),</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>127 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······dataP_(·other.dataP_·)</div>
139 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="preprocessor">#endif</span></div>128 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{}</div>
140 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>129 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
141 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······<span·class="comment">/*</span></div> 
142 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="comment">·······*·Everybody·else·gets·the·standard·treatment.</span></div> 
143 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="comment">·······*/</span></div> 
144 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······<a·class="code·hl_typedef"·href="a01268.html#a57f69930a746aaeeabcb894c293a101d">pointer</a>·ret·=·<span·class="keyword">static_cast&lt;</span><a·class="code·hl_typedef"·href="a01268.html#a57f69930a746aaeeabcb894c293a101d">pointer</a><span·class="keyword">&gt;</span>(std::aligned_alloc(<a·class="code·hl_variable"·href="a01268.html#a88a3488574a3f40fc04154021a361cd3">alignment</a>,·size));</div> 
145 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······<span·class="keywordflow">if</span>·(!ret)</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>
146 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>········<span·class="keywordflow">throw</span>·std::bad_alloc();</div> 
147 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> 
148 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······<span·class="keywordflow">return</span>·ret;</div> 
Max diff block lines reached; 4803/45397 bytes (10.58%) of diff not shown.
8.68 KB
html2text {}
    
Offset 4, 137 lines modifiedOffset 4, 215 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 alignedallocator.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_ALIGNED_ALLOCATOR_HH 
15 ·6#define·DUNE_ALIGNED_ALLOCATOR_HH14 ·5#ifndef·DUNE_COMMON_SCALARVECTORVIEW_HH
 15 ·6#define·DUNE_COMMON_SCALARVECTORVIEW_HH
16 ·716 ·7
17 ·8#include·"mallocallocator.hh" 
18 ·9#include·<cstdlib>17 ·8#include·<cstddef>
19 ·1018 ·9#include·<type_traits>
 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·Dune26 ·17namespace·Dune·{
 27 ·18
 28 ·19namespace·Impl·{
 29 ·20
 30 ·35·template<class·K>
 31 ·36·class·ScalarVectorView·:
 32 ·37·public·DenseVector<ScalarVectorView<K>>
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·{33 ·38·{
41 ·39·return·((Alignment==-1)·?·std::alignment_of<T>::value·:·Alignment)·>·align 
42 ·40·?·fixAlignment(align·<<·1)·:·align;34 ·39·K*·dataP_;
 35 ·40·using·Base·=·DenseVector<ScalarVectorView<K>>;
43 ·41·}36 ·41
 37 ·42·template·<class>
 38 ·43·friend·class·ScalarVectorView;
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 ·55 
59 ·56·public:39 ·44·public:
60 57·using·pointer·=·typename·MallocAllocator<T>::pointer;40 ·45
 41 ·47·constexpr·static·int·dimension·=·1;
 42 ·48
61 58·using·size_type·=·typename·MallocAllocator<T>::size_type;43 ·50·using·size_type·=·typename·Base::size_type;
62 59·template·<class·U>·struct·rebind·{ 
63 60·typedef·AlignedAllocator<U,Alignment>·other; 
64 ·61·}; 
65 ·62 
66 63·static·constexpr·int·alignment·=·fixAlignment(sizeof(void*));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·{}
67 ·6454 ·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·{}
 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)
 70 ·84·{
 71 ·85·assert(dataP_);
 72 ·86·assert(other.dataP_);
 73 ·87·*dataP_·=·*(other.dataP_);
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 
78 ·76·size_type·size·=·n·*·sizeof(T); 
79 ·77#endif 
80 ·78 
Max diff block lines reached; 1741/8869 bytes (19.63%) of diff not shown.
12.1 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:·typeutilities.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, 54 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="#typedef-members">Typedefs</a>··</div> 
73 ··<div·class="headertitle"><div·class="title">typeutilities.hh·File·Reference</div></div>71 <a·href="#func-members">Functions</a>··</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>Utilities·for·type·computations,·constraining·overloads,·...··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;cstddef&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;string&gt;</code><br·/>
79 <code>#include·&lt;type_traits&gt;</code><br·/> 
80 <code>#include·&lt;tuple&gt;</code><br·/> 
81 </div>78 </div>
82 <p><a·href="a00158_source.html">Go·to·the·source·code·of·this·file.</a></p>79 <p><a·href="a00158_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> 
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"> 
93 <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>
94 Namespaces</h2></td></tr>82 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>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>
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>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>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table><table·class="memberdecls">86 </table><table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
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>88 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>
 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>
104 <tr·class="separator:ga5cf0dfc6fe8998b21503cd81c6681afc"><td·class="memSeparator"·colspan="2">&#160;</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>
105 </table>107 </table>
106 <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>
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>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>
109 </div></div><!--·contents·-->111 </div></div><!--·contents·-->
110 <!--·start·footer·part·-->112 <!--·start·footer·part·-->
111 <hr·class="footer"/><address·class="footer"><small>113 <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.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
113 </small></address>115 </small></address>
114 </body>116 </body>
115 </html>117 </html>
2.07 KB
html2text {}
    
Offset 4, 38 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 path.hh·File·Reference
 9 Common·»·Utilities·»·Filesystem_Paths
 10 Utilities·for·handling·filesystem·paths.·More...
 11 #include·<string>
7 Classes·|·Namespaces·|·Typedefs 
8 typeutilities.hh·File·Reference 
9 Utilities·for·type·computations,·constraining·overloads,·...·More... 
10 #include·<cstddef> 
11 #include·<type_traits> 
12 #include·<tuple> 
13 Go_to_the_source_code_of_this_file.12 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   
21 ·Namespaces13 ·Namespaces
22 namespace· Dune14 namespace· Dune
23  ··········Dune·namespace.15  ··········Dune·namespace.
24  16  
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...17 ·Functions
 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
 35 ·············&p)
 36  ···········compute·a·relative·path·between·two·paths·More...
30  37  
31 *****·Detailed·Description·*****38 *****·Detailed·Description·*****
32 Utilities·for·type·computations,·constraining·overloads,·...39 Utilities·for·handling·filesystem·paths.
33 ··Author40 ··Author
34 ······Carsten·Gräser41 ·······Fahlke·jorri.nosp@m.t@jo.nosp@m.rrit..nosp@m.de
  
35 ===============================================================================42 ===============================================================================
36 ·····Generated·by [doxygen]·1.9.443 ·····Generated·by [doxygen]·1.9.4
20.1 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:·typeutilities.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, 73 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">typeutilities.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="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>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>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_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_TYPEUTILITIES_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;cstddef&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;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> 
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>·</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="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>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>
87 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>83 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</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> 
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>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>
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> 
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>86 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
116 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</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>
 89 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>
117 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</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>
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>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>
 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>
121 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</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>
 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>
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>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>
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·[·...·truncated·by·diffoscope;·len:·167,·SHA:·cb0d416cd5abab49b5583662ed5ea60af4e86cadbb83de2178484e45722fe70f·...·]</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[·...·truncated·by·diffoscope;·len:·77,·SHA:·25ce18c0665ff46d60115bf0479c153265453da0bf02a56a7d7cdea96c726cc2·...·]</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>
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>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>
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> 
127 </div><!--·fragment·--></div><!--·contents·-->108 </div><!--·fragment·--></div><!--·contents·-->
128 <!--·start·footer·part·-->109 <!--·start·footer·part·-->
129 <hr·class="footer"/><address·class="footer"><small>110 <hr·class="footer"/><address·class="footer"><small>
130 Generated·by&#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
131 </small></address>112 </small></address>
132 </body>113 </body>
133 </html>114 </html>
3.34 KB
html2text {}
    
Offset 4, 81 lines modifiedOffset 4, 68 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 typeutilities.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_COMMON_TYPEUTILITIES_HH14 ·5#ifndef·DUNE_COMMON_PATH_HH
15 ·6#define·DUNE_COMMON_TYPEUTILITIES_HH15 ·6#define·DUNE_COMMON_PATH_HH
16 ·716 ·7
17 ·8#include·<cstddef>17 ·8#include·<string>
 18 ·9
18 ·9#include·<type_traits> 
19 ·10#include·<tuple> 
20 ·11 
21 ·12 
22 ·13namespace·Dune·{19 ·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
 26 ·101
 27 ·109·bool·pathIndicatesDirectory(const·std::string&·p);
 28 ·110
 29 ·112
 30 ·151·std::string·prettyPath(const·std::string&·p,·bool·isDirectory);
 31 ·152
23 ·1432 ·154
 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 ·180
 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
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 Dune62 Dune
70 Dune·namespace.63 Dune·namespace.
71 Definition:·alignedallocator.hh:1364 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 
  
78 ===============================================================================65 ===============================================================================
79 ·····Generated·by [doxygen]·1.9.466 ·····Generated·by [doxygen]·1.9.4
9.64 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:·assertandreturn.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, 28 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;
 71 <a·href="#namespaces">Namespaces</a>·&#124;
70 <a·href="#define-members">Macros</a>··</div>72 <a·href="#define-members">Macros</a>·&#124;
71 ··<div·class="headertitle"><div·class="title">assertandreturn.hh·File·Reference</div></div>73 <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>
72 </div><!--header-->75 </div><!--header-->
73 <div·class="contents">76 <div·class="contents">
  
 77 <p>Simple·base·class·templates·for·functions.··
 78 <a·href="#details">More...</a></p>
74 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>79 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00137_source.html">dune/common/deprecated.hh</a>&gt;</code><br·/>
 81 <code>#include·&quot;<a·class="el"·href="a00014_source.html">typetraits.hh</a>&quot;</code><br·/>
75 </div>82 </div>
76 <p><a·href="a00161_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00161_source.html">Go·to·the·source·code·of·this·file.</a></p>
77 <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">
 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 </table><table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
79 Macros</h2></td></tr>104 Macros</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>105 <tr·class="memitem:aeca4539848c4c95eebbb2389446432c0"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00161.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">
 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: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>
82 <tr·class="separator:ga902aaece2c20a75cbf6daad4957ba069"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:gab09a4489130d8c57186ca1f50efd8287"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table>114 </table>
 115 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 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>
84 </div><!--·contents·-->130 </div><!--·contents·-->
85 <!--·start·footer·part·-->131 <!--·start·footer·part·-->
86 <hr·class="footer"/><address·class="footer"><small>132 <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.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
88 </small></address>134 </small></address>
89 </body>135 </body>
90 </html>136 </html>
1.61 KB
html2text {}
    
Offset 4, 19 lines modifiedOffset 4, 47 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·Reference 
9 #include·<cassert>7 Classes·|·Namespaces·|·Macros·|·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"
10 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  
 25 ·Namespaces
 26 namespace· Dune
 27  ··········Dune·namespace.
 28  
11 ·Macros29 ·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...30 #define DUNE_FUNCTION_HH
 31  
 32 ·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...
15  38  
 39 *****·Detailed·Description·*****
 40 Simple·base·class·templates·for·functions.
 41 *****·Macro·Definition·Documentation·*****
 42 *****·◆ DUNE_FUNCTION_HH·*****
 43 #define·DUNE_FUNCTION_HH
  
16 ===============================================================================44 ===============================================================================
17 ·····Generated·by [doxygen]·1.9.445 ·····Generated·by [doxygen]·1.9.4
31.7 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:·assertandreturn.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, 36 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">assertandreturn.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="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:·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_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_ASSERTANDRETURN_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> 
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> 
80 <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>
81 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#ifdef·NDEBUG</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="a00161.html#aeca4539848c4c95eebbb2389446432c0">···12</a></span><span·class="preprocessor">#define·DUNE_FUNCTION_HH</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> 
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>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;utility&gt;</span></div>
87 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</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="a00137.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="a00014.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>
88 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</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>
 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>
 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>
 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>
 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>
 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>
 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>
 131 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
 132 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··<span·class="keyword">namespace·</span>Impl·{</div>
 133 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>
 134 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<a·class="code·hl_define"·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">DUNE_NO_DEPRECATED_BEGIN</a></div>
 135 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Domain,·<span·class="keyword">typename</span>·Range,·<span·class="keyword">typename</span>·F&gt;</div>
 136 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··<span·class="keyword">class·</span>LambdaVirtualFunction·final</div>
 137 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01768.html">VirtualFunction</a>&lt;Domain,·Range&gt;</div>
 138 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··{</div>
 139 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··<span·class="keyword">public</span>:</div>
 140 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····LambdaVirtualFunction(F&amp;&amp;·f)</div>
 141 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>······:·f_(std::move(f))</div>
 142 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>······{}</div>
 143 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div>
 144 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····LambdaVirtualFunction(<span·class="keyword">const</span>·F&amp;·f)</div>
 145 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>······:·f_(f)</div>
 146 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>······{}</div>
 147 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div>
 148 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>····<span·class="keywordtype">void</span>·evaluate(<span·class="keyword">const</span>·Domain&amp;·x,·Range&amp;·y)<span·class="keyword">·const·override</span></div>
 149 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span><span·class="keyword">······</span>{</div>
 150 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>········y·=·f_(x);</div>
 151 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>······}</div>
 152 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div>
 153 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>··<span·class="keyword">private</span>:</div>
 154 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>····<span·class="keyword">const</span>·F·f_;</div>
 155 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>··};</div>
 156 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>··<a·class="code·hl_define"·href="a00406.html#ga664ae9266c2a074c71746e68aaa8eb6a">DUNE_NO_DEPRECATED_END</a></div>
 157 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div>
 158 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··}·<span·class="comment">/*·namespace·Impl·*/</span></div>
 159 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div>
 160 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Domain,·<span·class="keyword">typename</span>·Range,·<span·class="keyword">typename</span>·F&gt;</div>
 161 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>··[[deprecated(<span·class="stringliteral">&quot;Dune::LambdaVirtualFunction·is·deprecated·after·Dune·2.7.··&quot;</span></div>
 162 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>···············<span·class="stringliteral">&quot;Use·std::function·instead!&quot;</span>)]]</div>
 163 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>··Impl::LambdaVirtualFunction&lt;·Domain,·Range,·std::decay_t&lt;F&gt;·&gt;</div>
 164 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno"><a·class="line"·href="a00397.html#gab09a4489130d8c57186ca1f50efd8287">··153</a></span>··<a·class="code·hl_function"·href="a00397.html#gab09a4489130d8c57186ca1f50efd8287">makeVirtualFunction</a>(F&amp;&amp;·f)</div>
Max diff block lines reached; 271/26725 bytes (1.01%) of diff not shown.
5.53 KB
html2text {}
    
Offset 4, 33 lines modifiedOffset 4, 176 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 assertandreturn.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_ASSERTANDRETURN_HH 
15 ·6#define·DUNE_COMMON_ASSERTANDRETURN_HH 
16 ·7 
17 ·8#include·<cassert>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 ·18
 29 ·19namespace·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·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;
 41 ·44
 42 ·45·public:
 43 ·46
 44 48·typedef·RawRangeType·RangeType;
18 ·945 ·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·{
 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
19 ·1175 ·101
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),·X76 ·102·namespace·Impl·{
 77 ·103
 78 ·104·DUNE_NO_DEPRECATED_BEGIN
 79 ·105·template<typename·Domain,·typename·Range,·typename·F>
 80 ·106·class·LambdaVirtualFunction·final
 81 ·107·:·public·VirtualFunction<Domain,·Range>
 82 ·108·{
 83 ·109·public:
 84 ·110·LambdaVirtualFunction(F&&·f)
 85 ·111·:·f_(std::move(f))
 86 ·112·{}
 87 ·113
 88 ·114·LambdaVirtualFunction(const·F&·f)
 89 ·115·:·f_(f)
 90 ·116·{}
 91 ·117
 92 ·118·void·evaluate(const·Domain&·x,·Range&·y)·const·override
 93 ·119·{
 94 ·120·y·=·f_(x);
 95 ·121·}
 96 ·122
 97 ·123·private:
 98 ·124·const·F·f_;
 99 ·125·};
 100 ·126·DUNE_NO_DEPRECATED_END
 101 ·127
 102 ·128·}·/*·namespace·Impl·*/
 103 ·129
 104 ·149·template<typename·Domain,·typename·Range,·typename·F>
 105 ·150·[[deprecated("Dune::LambdaVirtualFunction·is·deprecated·after·Dune·2.7.·"
 106 ·151·"Use·std::function·instead!")]]
 107 ·152·Impl::LambdaVirtualFunction<·Domain,·Range,·std::decay_t<F>·>
 108 153·makeVirtualFunction(F&&·f)
 109 ·154·{
 110 ·155·return·{std::forward<F>(f)};
 111 ·156·}
 112 ·157
 113 ·160}·//·end·namespace
 114 ·161
25 ·23#endif115 ·162#endif
26 ·24 
27 ·25 
28 ·26 
29 ·27#endif·//·DUNE_COMMON_ASSERTANDRETURN_HH116 typetraits.hh
Max diff block lines reached; 116/5634 bytes (2.06%) of diff not shown.
21.8 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:·fmatrix.hh·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 65, 104 lines modifiedOffset 65, 44 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="#enum-members">Enumerations</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>73 ··<div·class="headertitle"><div·class="title">documentation.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·compile-time·given·number·of·rows·and·columns.··76 <p>Documentation·related·stuff.··
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·/> 
79 <code>#include·&lt;cstddef&gt;</code><br·/> 
80 <code>#include·&lt;iostream&gt;</code><br·/> 
81 <code>#include·&lt;algorithm&gt;</code><br·/> 
82 <code>#include·&lt;initializer_list&gt;</code><br·/> 
83 <code>#include·&lt;<a·class="el"·href="a00080_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/> 
84 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
85 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/fvector.hh</a>&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00053_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/precision.hh</a>&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00248_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/> 
89 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
90 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/matrixconcepts.hh</a>&gt;</code><br·/> 
91 <code>#include·&quot;<a·class="el"·href="a00218_source.html">fmatrixev.hh</a>&quot;</code><br·/> 
92 </div> 
93 <p><a·href="a00164_source.html">Go·to·the·source·code·of·this·file.</a></p>78 <p><a·href="a00164_source.html">Go·to·the·source·code·of·this·file.</a></p>
94 <table·class="memberdecls">79 <table·class="memberdecls">
95 <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>
96 Classes</h2></td></tr>81 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>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>
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>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>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 </table><table·class="memberdecls">85 </table><table·class="memberdecls">
105 <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>
106 Namespaces</h2></td></tr>87 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>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>
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>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>
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <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> 
112 </table><table·class="memberdecls">91 </table><table·class="memberdecls">
113 <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="enum-members"·name="enum-members"></a>
114 Functions</h2></td></tr>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>
115 <tr·class="memitem:a9f70ac3f14f482a99d4e01ada277d5c1"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</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>96 <tr·class="separator:a90bbc2f44b2002c6431570e453a822a0"><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: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> 
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> 
130 <tr·class="memitem:a8569be33ba4985b1ceda0e3bc05aadd8"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</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> 
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> 
158 </table>97 </table>
159 <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>
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>99 <div·class="textblock"><p·>Documentation·related·stuff.·</p>
161 </div></div><!--·contents·-->100 </div></div><!--·contents·-->
162 <!--·start·footer·part·-->101 <!--·start·footer·part·-->
163 <hr·class="footer"/><address·class="footer"><small>102 <hr·class="footer"/><address·class="footer"><small>
164 Generated·by&#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
165 </small></address>104 </small></address>
166 </body>105 </body>
167 </html>106 </html>
5.28 KB
html2text {}
    
Offset 4, 119 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·|·Functions7 Classes·|·Namespaces·|·Enumerations
8 fmatrix.hh·File·Reference8 documentation.hh·File·Reference
 9 Documentation·related·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> 
13 #include·<cstddef> 
14 #include·<iostream> 
15 #include·<algorithm> 
16 #include·<initializer_list> 
17 #include·<dune/common/boundschecking.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" 
26 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
27 ·Classes11 ·Classes
 12 struct· Dune::ImplementationDefined
 13  ·······Dummy·struct·used·for·documentation·purposes.·More...
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  14  
35 ·Namespaces15 ·Namespaces
36 namespace· Dune16 namespace· Dune
37  ··········Dune·namespace.17  ··········Dune·namespace.
38  18  
 19 ·Enumerations
 20 enum· {·Dune::implementationDefined·}
39 namespace· Dune::FMatrixHelp 
40   
41 ·Functions 
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   
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   
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... 
112  21  
113 *****·Detailed·Description·*****22 *****·Detailed·Description·*****
 23 Documentation·related·stuff.
114 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and 
115 compile-time·given·number·of·rows·and·columns. 
  
116 ===============================================================================24 ===============================================================================
117 ·····Generated·by [doxygen]·1.9.425 ·····Generated·by [doxygen]·1.9.4
760 KB
./usr/share/doc/libdune-common-doc/doxygen/a00164_source.html
    
Offset 21, 10366 lines modifiedOffset 21, 414 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 (407 lines added, 10359 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·2064·6f63·756d·656e·7461·7469·6f6e··n:·documentation
000001c0:·7572·6365·2046·696c·653c·2f74·6974·6c65··urce·File</title000001c0:·2e68·6820·536f·7572·6365·2046·696c·653c··.hh·Source·File<
000001d0:·3e0a·3c6c·696e·6b20·6872·6566·3d22·7461··>.<link·href="ta000001d0:·2f74·6974·6c65·3e0a·3c6c·696e·6b20·6872··/title>.<link·hr
000001e0:·6273·2e63·7373·2220·7265·6c3d·2273·7479··bs.css"·rel="sty000001e0:·6566·3d22·7461·6273·2e63·7373·2220·7265··ef="tabs.css"·re
000001f0:·6c65·7368·6565·7422·2074·7970·653d·2274··lesheet"·type="t000001f0:·6c3d·2273·7479·6c65·7368·6565·7422·2074··l="stylesheet"·t
00000200:·6578·742f·6373·7322·2f3e·0a3c·7363·7269··ext/css"/>.<scri00000200:·7970·653d·2274·6578·742f·6373·7322·2f3e··ype="text/css"/>
00000210:·7074·2074·7970·653d·2274·6578·742f·6a61··pt·type="text/ja00000210:·0a3c·7363·7269·7074·2074·7970·653d·2274··.<script·type="t
00000220:·7661·7363·7269·7074·2220·7372·633d·226a··vascript"·src="j00000220:·6578·742f·6a61·7661·7363·7269·7074·2220··ext/javascript"·
00000230:·7175·6572·792e·6a73·223e·3c2f·7363·7269··query.js"></scri00000230:·7372·633d·226a·7175·6572·792e·6a73·223e··src="jquery.js">
00000240:·7074·3e0a·3c73·6372·6970·7420·7479·7065··pt>.<script·type00000240:·3c2f·7363·7269·7074·3e0a·3c73·6372·6970··</script>.<scrip
00000250:·3d22·7465·7874·2f6a·6176·6173·6372·6970··="text/javascrip00000250:·7420·7479·7065·3d22·7465·7874·2f6a·6176··t·type="text/jav
00000260:·7422·2073·7263·3d22·6479·6e73·6563·7469··t"·src="dynsecti00000260:·6173·6372·6970·7422·2073·7263·3d22·6479··ascript"·src="dy
00000270:·6f6e·732e·6a73·223e·3c2f·7363·7269·7074··ons.js"></script00000270:·6e73·6563·7469·6f6e·732e·6a73·223e·3c2f··nsections.js"></
00000280:·3e0a·3c6c·696e·6b20·6872·6566·3d22·7365··>.<link·href="se00000280:·7363·7269·7074·3e0a·3c6c·696e·6b20·6872··script>.<link·hr
00000290:·6172·6368·2f73·6561·7263·682e·6373·7322··arch/search.css"00000290:·6566·3d22·7365·6172·6368·2f73·6561·7263··ef="search/searc
000002a0:·2072·656c·3d22·7374·796c·6573·6865·6574···rel="stylesheet000002a0:·682e·6373·7322·2072·656c·3d22·7374·796c··h.css"·rel="styl
000002b0:·2220·7479·7065·3d22·7465·7874·2f63·7373··"·type="text/css000002b0:·6573·6865·6574·2220·7479·7065·3d22·7465··esheet"·type="te
000002c0:·222f·3e0a·3c73·6372·6970·7420·7479·7065··"/>.<script·type000002c0:·7874·2f63·7373·222f·3e0a·3c73·6372·6970··xt/css"/>.<scrip
000002d0:·3d22·7465·7874·2f6a·6176·6173·6372·6970··="text/javascrip000002d0:·7420·7479·7065·3d22·7465·7874·2f6a·6176··t·type="text/jav
000002e0:·7422·2073·7263·3d22·7365·6172·6368·2f73··t"·src="search/s000002e0:·6173·6372·6970·7422·2073·7263·3d22·7365··ascript"·src="se
000002f0:·6561·7263·6864·6174·612e·6a73·223e·3c2f··earchdata.js"></000002f0:·6172·6368·2f73·6561·7263·6864·6174·612e··arch/searchdata.
00000300:·7363·7269·7074·3e0a·3c73·6372·6970·7420··script>.<script·00000300:·6a73·223e·3c2f·7363·7269·7074·3e0a·3c73··js"></script>.<s
00000310:·7479·7065·3d22·7465·7874·2f6a·6176·6173··type="text/javas00000310:·6372·6970·7420·7479·7065·3d22·7465·7874··cript·type="text
00000320:·6372·6970·7422·2073·7263·3d22·7365·6172··cript"·src="sear00000320:·2f6a·6176·6173·6372·6970·7422·2073·7263··/javascript"·src
00000330:·6368·2f73·6561·7263·682e·6a73·223e·3c2f··ch/search.js"></00000330:·3d22·7365·6172·6368·2f73·6561·7263·682e··="search/search.
00000340:·7363·7269·7074·3e0a·3c6c·696e·6b20·6872··script>.<link·hr00000340:·6a73·223e·3c2f·7363·7269·7074·3e0a·3c6c··js"></script>.<l
00000350:·6566·3d22·646f·7879·6765·6e2e·6373·7322··ef="doxygen.css"00000350:·696e·6b20·6872·6566·3d22·646f·7879·6765··ink·href="doxyge
00000360:·2072·656c·3d22·7374·796c·6573·6865·6574···rel="stylesheet00000360:·6e2e·6373·7322·2072·656c·3d22·7374·796c··n.css"·rel="styl
00000370:·2220·7479·7065·3d22·7465·7874·2f63·7373··"·type="text/css00000370:·6573·6865·6574·2220·7479·7065·3d22·7465··esheet"·type="te
00000380:·2220·2f3e·0a3c·2f68·6561·643e·0a3c·626f··"·/>.</head>.<bo00000380:·7874·2f63·7373·2220·2f3e·0a3c·2f68·6561··xt/css"·/>.</hea
00000390:·6479·3e0a·3c64·6976·2069·643d·2274·6f70··dy>.<div·id="top00000390:·643e·0a3c·626f·6479·3e0a·3c64·6976·2069··d>.<body>.<div·i
000003a0:·223e·3c21·2d2d·2064·6f20·6e6f·7420·7265··"><!--·do·not·re000003a0:·643d·2274·6f70·223e·3c21·2d2d·2064·6f20··d="top"><!--·do·
000003b0:·6d6f·7665·2074·6869·7320·6469·762c·2069··move·this·div,·i000003b0:·6e6f·7420·7265·6d6f·7665·2074·6869·7320··not·remove·this·
000003c0:·7420·6973·2063·6c6f·7365·6420·6279·2064··t·is·closed·by·d000003c0:·6469·762c·2069·7420·6973·2063·6c6f·7365··div,·it·is·close
000003d0:·6f78·7967·656e·2120·2d2d·3e0a·3c64·6976··oxygen!·-->.<div000003d0:·6420·6279·2064·6f78·7967·656e·2120·2d2d··d·by·doxygen!·--
000003e0:·2069·643d·2274·6974·6c65·6172·6561·223e···id="titlearea">000003e0:·3e0a·3c64·6976·2069·643d·2274·6974·6c65··>.<div·id="title
000003f0:·0a3c·7461·626c·6520·6365·6c6c·7370·6163··.<table·cellspac000003f0:·6172·6561·223e·0a3c·7461·626c·6520·6365··area">.<table·ce
00000400:·696e·673d·2230·2220·6365·6c6c·7061·6464··ing="0"·cellpadd00000400:·6c6c·7370·6163·696e·673d·2230·2220·6365··llspacing="0"·ce
00000410:·696e·673d·2230·223e·0a20·3c74·626f·6479··ing="0">.·<tbody00000410:·6c6c·7061·6464·696e·673d·2230·223e·0a20··llpadding="0">.·
00000420:·3e0a·203c·7472·2069·643d·2270·726f·6a65··>.·<tr·id="proje00000420:·3c74·626f·6479·3e0a·203c·7472·2069·643d··<tbody>.·<tr·id=
00000430:·6374·726f·7722·3e0a·2020·3c74·6420·6964··ctrow">.··<td·id00000430:·2270·726f·6a65·6374·726f·7722·3e0a·2020··"projectrow">.··
00000440:·3d22·7072·6f6a·6563·7461·6c69·676e·223e··="projectalign">00000440:·3c74·6420·6964·3d22·7072·6f6a·6563·7461··<td·id="projecta
00000450:·0a20·2020·3c64·6976·2069·643d·2270·726f··.···<div·id="pro00000450:·6c69·676e·223e·0a20·2020·3c64·6976·2069··lign">.···<div·i
00000460:·6a65·6374·6e61·6d65·223e·6475·6e65·2d63··jectname">dune-c00000460:·643d·2270·726f·6a65·6374·6e61·6d65·223e··d="projectname">
00000470:·6f6d·6d6f·6e3c·7370·616e·2069·643d·2270··ommon<span·id="p00000470:·6475·6e65·2d63·6f6d·6d6f·6e3c·7370·616e··dune-common<span
00000480:·726f·6a65·6374·6e75·6d62·6572·223e·2623··rojectnumber">&#00000480:·2069·643d·2270·726f·6a65·6374·6e75·6d62···id="projectnumb
00000490:·3136·303b·322e·392e·303c·2f73·7061·6e3e··160;2.9.0</span>00000490:·6572·223e·2623·3136·303b·322e·392e·303c··er">&#160;2.9.0<
000004a0:·0a20·2020·3c2f·6469·763e·0a20·203c·2f74··.···</div>.··</t000004a0:·2f73·7061·6e3e·0a20·2020·3c2f·6469·763e··/span>.···</div>
000004b0:·643e·0a20·3c2f·7472·3e0a·203c·2f74·626f··d>.·</tr>.·</tbo000004b0:·0a20·203c·2f74·643e·0a20·3c2f·7472·3e0a··.··</td>.·</tr>.
000004c0:·6479·3e0a·3c2f·7461·626c·653e·0a3c·2f64··dy>.</table>.</d000004c0:·203c·2f74·626f·6479·3e0a·3c2f·7461·626c···</tbody>.</tabl
000004d0:·6976·3e0a·3c21·2d2d·2065·6e64·2068·6561··iv>.<!--·end·hea000004d0:·653e·0a3c·2f64·6976·3e0a·3c21·2d2d·2065··e>.</div>.<!--·e
000004e0:·6465·7220·7061·7274·202d·2d3e·0a3c·212d··der·part·-->.<!-000004e0:·6e64·2068·6561·6465·7220·7061·7274·202d··nd·header·part·-
000004f0:·2d20·4765·6e65·7261·7465·6420·6279·2044··-·Generated·by·D000004f0:·2d3e·0a3c·212d·2d20·4765·6e65·7261·7465··->.<!--·Generate
00000500:·6f78·7967·656e·2031·2e39·2e34·202d·2d3e··oxygen·1.9.4·-->00000500:·6420·6279·2044·6f78·7967·656e·2031·2e39··d·by·Doxygen·1.9
00000510:·0a3c·7363·7269·7074·2074·7970·653d·2274··.<script·type="t00000510:·2e34·202d·2d3e·0a3c·7363·7269·7074·2074··.4·-->.<script·t
00000520:·6578·742f·6a61·7661·7363·7269·7074·223e··ext/javascript">00000520:·7970·653d·2274·6578·742f·6a61·7661·7363··ype="text/javasc
00000530:·0a2f·2a20·406c·6963·656e·7365·206d·6167··./*·@license·mag00000530:·7269·7074·223e·0a2f·2a20·406c·6963·656e··ript">./*·@licen
00000540:·6e65·743a·3f78·743d·7572·6e3a·6274·6968··net:?xt=urn:btih00000540:·7365·206d·6167·6e65·743a·3f78·743d·7572··se·magnet:?xt=ur
00000550:·3a64·3364·3961·3961·3635·3935·3532·3166··:d3d9a9a6595521f00000550:·6e3a·6274·6968·3a64·3364·3961·3961·3635··n:btih:d3d9a9a65
00000560:·3936·3636·6135·6539·3463·6338·3330·6461··9666a5e94cc830da00000560:·3935·3532·3166·3936·3636·6135·6539·3463··95521f9666a5e94c
00000570:·6238·3362·3635·3639·3926·616d·703b·646e··b83b65699&amp;dn00000570:·6338·3330·6461·6238·3362·3635·3639·3926··c830dab83b65699&
00000580:·3d65·7870·6174·2e74·7874·204d·4954·202a··=expat.txt·MIT·*00000580:·616d·703b·646e·3d65·7870·6174·2e74·7874··amp;dn=expat.txt
00000590:·2f0a·7661·7220·7365·6172·6368·426f·7820··/.var·searchBox·00000590:·204d·4954·202a·2f0a·7661·7220·7365·6172···MIT·*/.var·sear
000005a0:·3d20·6e65·7720·5365·6172·6368·426f·7828··=·new·SearchBox(000005a0:·6368·426f·7820·3d20·6e65·7720·5365·6172··chBox·=·new·Sear
000005b0:·2273·6561·7263·6842·6f78·222c·2022·7365··"searchBox",·"se000005b0:·6368·426f·7828·2273·6561·7263·6842·6f78··chBox("searchBox
000005c0:·6172·6368·222c·2753·6561·7263·6827·2c27··arch",'Search','000005c0:·222c·2022·7365·6172·6368·222c·2753·6561··",·"search",'Sea
000005d0:·2e68·746d·6c27·293b·0a2f·2a20·406c·6963··.html');./*·@lic000005d0:·7263·6827·2c27·2e68·746d·6c27·293b·0a2f··rch','.html');./
000005e0:·656e·7365·2d65·6e64·202a·2f0a·3c2f·7363··ense-end·*/.</sc000005e0:·2a20·406c·6963·656e·7365·2d65·6e64·202a··*·@license-end·*
000005f0:·7269·7074·3e0a·3c73·6372·6970·7420·7479··ript>.<script·ty000005f0:·2f0a·3c2f·7363·7269·7074·3e0a·3c73·6372··/.</script>.<scr
00000600:·7065·3d22·7465·7874·2f6a·6176·6173·6372··pe="text/javascr00000600:·6970·7420·7479·7065·3d22·7465·7874·2f6a··ipt·type="text/j
00000610:·6970·7422·2073·7263·3d22·6d65·6e75·6461··ipt"·src="menuda00000610:·6176·6173·6372·6970·7422·2073·7263·3d22··avascript"·src="
00000620:·7461·2e6a·7322·3e3c·2f73·6372·6970·743e··ta.js"></script>00000620:·6d65·6e75·6461·7461·2e6a·7322·3e3c·2f73··menudata.js"></s
00000630:·0a3c·7363·7269·7074·2074·7970·653d·2274··.<script·type="t00000630:·6372·6970·743e·0a3c·7363·7269·7074·2074··cript>.<script·t
00000640:·6578·742f·6a61·7661·7363·7269·7074·2220··ext/javascript"·00000640:·7970·653d·2274·6578·742f·6a61·7661·7363··ype="text/javasc
00000650:·7372·633d·226d·656e·752e·6a73·223e·3c2f··src="menu.js"></00000650:·7269·7074·2220·7372·633d·226d·656e·752e··ript"·src="menu.
00000660:·7363·7269·7074·3e0a·3c73·6372·6970·7420··script>.<script·00000660:·6a73·223e·3c2f·7363·7269·7074·3e0a·3c73··js"></script>.<s
00000670:·7479·7065·3d22·7465·7874·2f6a·6176·6173··type="text/javas00000670:·6372·6970·7420·7479·7065·3d22·7465·7874··cript·type="text
00000680:·6372·6970·7422·3e0a·2f2a·2040·6c69·6365··cript">./*·@lice00000680:·2f6a·6176·6173·6372·6970·7422·3e0a·2f2a··/javascript">./*
00000690:·6e73·6520·6d61·676e·6574·3a3f·7874·3d75··nse·magnet:?xt=u00000690:·2040·6c69·6365·6e73·6520·6d61·676e·6574···@license·magnet
000006a0:·726e·3a62·7469·683a·6433·6439·6139·6136··rn:btih:d3d9a9a6000006a0:·3a3f·7874·3d75·726e·3a62·7469·683a·6433··:?xt=urn:btih:d3
000006b0:·3539·3535·3231·6639·3636·3661·3565·3934··595521f9666a5e94000006b0:·6439·6139·6136·3539·3535·3231·6639·3636··d9a9a6595521f966
000006c0:·6363·3833·3064·6162·3833·6236·3536·3939··cc830dab83b65699000006c0:·3661·3565·3934·6363·3833·3064·6162·3833··6a5e94cc830dab83
000006d0:·2661·6d70·3b64·6e3d·6578·7061·742e·7478··&amp;dn=expat.tx000006d0:·6236·3536·3939·2661·6d70·3b64·6e3d·6578··b65699&amp;dn=ex
000006e0:·7420·4d49·5420·2a2f·0a24·2866·756e·6374··t·MIT·*/.$(funct000006e0:·7061·742e·7478·7420·4d49·5420·2a2f·0a24··pat.txt·MIT·*/.$
000006f0:·696f·6e28·2920·7b0a·2020·696e·6974·4d65··ion()·{.··initMe000006f0:·2866·756e·6374·696f·6e28·2920·7b0a·2020··(function()·{.··
00000700:·6e75·2827·272c·7472·7565·2c66·616c·7365··nu('',true,false00000700:·696e·6974·4d65·6e75·2827·272c·7472·7565··initMenu('',true
00000710:·2c27·7365·6172·6368·2e70·6870·272c·2753··,'search.php','S00000710:·2c66·616c·7365·2c27·7365·6172·6368·2e70··,false,'search.p
00000720:·6561·7263·6827·293b·0a20·2024·2864·6f63··earch');.··$(doc00000720:·6870·272c·2753·6561·7263·6827·293b·0a20··hp','Search');.·
00000730:·756d·656e·7429·2e72·6561·6479·2866·756e··ument).ready(fun00000730:·2024·2864·6f63·756d·656e·7429·2e72·6561···$(document).rea
00000740:·6374·696f·6e28·2920·7b20·696e·6974·5f73··ction()·{·init_s00000740:·6479·2866·756e·6374·696f·6e28·2920·7b20··dy(function()·{·
00000750:·6561·7263·6828·293b·207d·293b·0a7d·293b··earch();·});.});00000750:·696e·6974·5f73·6561·7263·6828·293b·207d··init_search();·}
00000760:·0a2f·2a20·406c·6963·656e·7365·2d65·6e64··./*·@license-end00000760:·293b·0a7d·293b·0a2f·2a20·406c·6963·656e··);.});./*·@licen
00000770:·202a·2f0a·3c2f·7363·7269·7074·3e0a·3c64···*/.</script>.<d00000770:·7365·2d65·6e64·202a·2f0a·3c2f·7363·7269··se-end·*/.</scri
00000780:·6976·2069·643d·226d·6169·6e2d·6e61·7622··iv·id="main-nav"00000780:·7074·3e0a·3c64·6976·2069·643d·226d·6169··pt>.<div·id="mai
00000790:·3e3c·2f64·6976·3e0a·3c21·2d2d·2077·696e··></div>.<!--·win00000790:·6e2d·6e61·7622·3e3c·2f64·6976·3e0a·3c21··n-nav"></div>.<!
000007a0:·646f·7720·7368·6f77·696e·6720·7468·6520··dow·showing·the·000007a0:·2d2d·2077·696e·646f·7720·7368·6f77·696e··--·window·showin
000007b0:·6669·6c74·6572·206f·7074·696f·6e73·202d··filter·options·-000007b0:·6720·7468·6520·6669·6c74·6572·206f·7074··g·the·filter·opt
000007c0:·2d3e·0a3c·6469·7620·6964·3d22·4d53·6561··->.<div·id="MSea000007c0:·696f·6e73·202d·2d3e·0a3c·6469·7620·6964··ions·-->.<div·id
000007d0:·7263·6853·656c·6563·7457·696e·646f·7722··rchSelectWindow"000007d0:·3d22·4d53·6561·7263·6853·656c·6563·7457··="MSearchSelectW
000007e0:·0a20·2020·2020·6f6e·6d6f·7573·656f·7665··.·····onmouseove000007e0:·696e·646f·7722·0a20·2020·2020·6f6e·6d6f··indow".·····onmo
000007f0:·723d·2272·6574·7572·6e20·7365·6172·6368··r="return·search000007f0:·7573·656f·7665·723d·2272·6574·7572·6e20··useover="return·
00000800:·426f·782e·4f6e·5365·6172·6368·5365·6c65··Box.OnSearchSele00000800:·7365·6172·6368·426f·782e·4f6e·5365·6172··searchBox.OnSear
00000810:·6374·5368·6f77·2829·220a·2020·2020·206f··ctShow()".·····o00000810:·6368·5365·6c65·6374·5368·6f77·2829·220a··chSelectShow()".
00000820:·6e6d·6f75·7365·6f75·743d·2272·6574·7572··nmouseout="retur00000820:·2020·2020·206f·6e6d·6f75·7365·6f75·743d·······onmouseout=
00000830:·6e20·7365·6172·6368·426f·782e·4f6e·5365··n·searchBox.OnSe00000830:·2272·6574·7572·6e20·7365·6172·6368·426f··"return·searchBo
00000840:·6172·6368·5365·6c65·6374·4869·6465·2829··archSelectHide()00000840:·782e·4f6e·5365·6172·6368·5365·6c65·6374··x.OnSearchSelect
00000850:·220a·2020·2020·206f·6e6b·6579·646f·776e··".·····onkeydown00000850:·4869·6465·2829·220a·2020·2020·206f·6e6b··Hide()".·····onk
00000860:·3d22·7265·7475·726e·2073·6561·7263·6842··="return·searchB00000860:·6579·646f·776e·3d22·7265·7475·726e·2073··eydown="return·s
00000870:·6f78·2e4f·6e53·6561·7263·6853·656c·6563··ox.OnSearchSelec00000870:·6561·7263·6842·6f78·2e4f·6e53·6561·7263··earchBox.OnSearc
00000880:·744b·6579·2865·7665·6e74·2922·3e0a·3c2f··tKey(event)">.</00000880:·6853·656c·6563·744b·6579·2865·7665·6e74··hSelectKey(event
00000890:·6469·763e·0a0a·3c21·2d2d·2069·6672·616d··div>..<!--·ifram00000890:·2922·3e0a·3c2f·6469·763e·0a0a·3c21·2d2d··)">.</div>..<!--
000008a0:·6520·7368·6f77·696e·6720·7468·6520·7365··e·showing·the·se000008a0:·2069·6672·616d·6520·7368·6f77·696e·6720···iframe·showing·
000008b0:·6172·6368·2072·6573·756c·7473·2028·636c··arch·results·(cl000008b0:·7468·6520·7365·6172·6368·2072·6573·756c··the·search·resul
000008c0:·6f73·6564·2062·7920·6465·6661·756c·7429··osed·by·default)000008c0:·7473·2028·636c·6f73·6564·2062·7920·6465··ts·(closed·by·de
000008d0:·202d·2d3e·0a3c·6469·7620·6964·3d22·4d53···-->.<div·id="MS000008d0:·6661·756c·7429·202d·2d3e·0a3c·6469·7620··fault)·-->.<div·
000008e0:·6561·7263·6852·6573·756c·7473·5769·6e64··earchResultsWind000008e0:·6964·3d22·4d53·6561·7263·6852·6573·756c··id="MSearchResul
000008f0:·6f77·223e·0a3c·6966·7261·6d65·2073·7263··ow">.<iframe·src000008f0:·7473·5769·6e64·6f77·223e·0a3c·6966·7261··tsWindow">.<ifra
00000900:·3d22·6a61·7661·7363·7269·7074·3a76·6f69··="javascript:voi00000900:·6d65·2073·7263·3d22·6a61·7661·7363·7269··me·src="javascri
00000910:·6428·3029·2220·6672·616d·6562·6f72·6465··d(0)"·frameborde00000910:·7074·3a76·6f69·6428·3029·2220·6672·616d··pt:void(0)"·fram
Max diff block lines reached; -1/743340 bytes (-0.00%) of diff not shown.
34.3 KB
html2text {}
    
Offset 4, 1065 lines modifiedOffset 4, 41 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 fmatrix.hh7 documentation.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
Diff chunk too large, falling back to line-by-line diff (18 lines added, 816 lines removed)
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_HH14 ·5
15 ·6#define·DUNE_FMATRIX_HH15 ·6#ifndef·DUNE_COMMON_DOCUMENTATION_HH
16 ·716 ·7#define·DUNE_COMMON_DOCUMENTATION_HH
17 ·8#include·<cmath>17 ·8
18 ·9#include·<cstddef>18 ·13namespace·Dune·{
19 ·10#include·<iostream>19 ·14
20 ·11#include·<algorithm>20 42·struct·ImplementationDefined·{};
21 ·12#include·<initializer_list>21 ·43
22 ·1322 55·enum·{·implementationDefined·};
23 ·14#include·<dune/common/boundschecking.hh>23 ·56
24 ·15#include·<dune/common/exceptions.hh>24 ·57}
25 ·16#include·<dune/common/fvector.hh>25 ·58
26 ·17#include·<dune/common/densematrix.hh>26 ·59
27 ·18#include·<dune/common/precision.hh>27 ·60#endif·//·DUNE_COMMON_DOCUMENTATION_HH
28 ·19#include·<dune/common/promotiontraits.hh>28 Dune::implementationDefined
29 ·20#include·<dune/common/typetraits.hh>29 @·implementationDefined
30 ·21#include·<dune/common/matrixconcepts.hh>30 Dummy·integral·value·used·for·documentation·purposes.
31 ·2231 Definition:·documentation.hh:55
32 ·23namespace·Dune 
33 ·24{ 
34 ·25 
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(); 
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_]; 
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_; 
69 ·59·}; 
70 ·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; 
87 ·88 
88 ·89·//·each·row·is·implemented·by·a·field·vector 
89 90·typedef·FieldVector<K,COLS>·row_type; 
90 ·91 
91 92·typedef·row_type·&row_reference; 
92 93·typedef·const·row_type·&const_row_reference; 
93 ·94 
94 95·typedef·std::array<row_type,ROWS>·container_type; 
95 96·typedef·K·value_type; 
96 97·typedef·typename·container_type::size_type·size_type; 
97 ·98·}; 
98 ·99 
99 ·100·template<·class·K,·int·ROWS,·int·COLS·> 
100 101·struct·FieldTraits<·FieldMatrix<K,ROWS,COLS>·> 
101 ·102·{ 
102 103·typedef·typename·FieldTraits<K>::field_type·field_type; 
103 104·typedef·typename·FieldTraits<K>::real_type·real_type; 
104 ·105·}; 
105 ·106 
106 ·115·template<class·K,·int·ROWS,·int·COLS> 
107 116·class·FieldMatrix·:·public·DenseMatrix<·FieldMatrix<K,ROWS,COLS>·> 
108 ·117·{ 
109 ·118·std::array<·FieldVector<K,COLS>,·ROWS·>·_data; 
110 ·119·typedef·DenseMatrix<_FieldMatrix<K,ROWS,COLS>·>·Base; 
111 ·120·public: 
112 ·121 
113 123·constexpr·static·int·rows·=·ROWS; 
114 125·constexpr·static·int·cols·=·COLS; 
115 ·126 
116 127·typedef·typename·Base::size_type·size_type; 
117 128·typedef·typename·Base::row_type·row_type; 
118 ·129 
119 130·typedef·typename·Base::row_reference·row_reference; 
120 131·typedef·typename·Base::const_row_reference·const_row_reference; 
121 ·132 
122 ·133·//=====·constructors 
123 136·constexpr·FieldMatrix()·=·default; 
124 ·137 
125 140·FieldMatrix(std::initializer_list<Dune::FieldVector<K,_cols>·>·const·&l)·{ 
Max diff block lines reached; 9418/35149 bytes (26.79%) of diff not shown.
6.48 KB
./usr/share/doc/libdune-common-doc/doxygen/a00167.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:·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, 42 lines modifiedOffset 63, 28 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="#func-members">Functions</a>··</div>70 <a·href="#define-members">Macros</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>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">
  
75 <p>infrastructure·for·supporting·operator-&gt;()·on·both·references·and·proxies·· 
76 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>74 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>
78 <code>#include·&lt;utility&gt;</code><br·/> 
79 </div>75 </div>
80 <p><a·href="a00167_source.html">Go·to·the·source·code·of·this·file.</a></p>76 <p><a·href="a00167_source.html">Go·to·the·source·code·of·this·file.</a></p>
81 <table·class="memberdecls">77 <table·class="memberdecls">
82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> 
83 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> 
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> 
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>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
89 Functions</h2></td></tr>79 Macros</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>
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> 
93 <tr·class="separator:gab204e4c1df410966214b242af99406a1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:ga902aaece2c20a75cbf6daad4957ba069"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 </table>83 </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> 
97 </div></div><!--·contents·-->84 </div><!--·contents·-->
98 <!--·start·footer·part·-->85 <!--·start·footer·part·-->
99 <hr·class="footer"/><address·class="footer"><small>86 <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.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
101 </small></address>88 </small></address>
102 </body>89 </body>
103 </html>90 </html>
1.15 KB
html2text {}
    
Offset 4, 30 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 assertandreturn.hh·File·Reference
 9 #include·<cassert>
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> 
14 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
15 ·Namespaces 
16 namespace· Dune 
17  ··········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...
18  15  
19 ·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... 
24   
25 *****·Detailed·Description·***** 
26 infrastructure·for·supporting·operator->()·on·both·references·and·proxies 
  
27 ===============================================================================16 ===============================================================================
28 ·····Generated·by [doxygen]·1.9.417 ·····Generated·by [doxygen]·1.9.4
20.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a00167_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:·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, 107 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">proxymemberaccess.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="a00167.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="a00167.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_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_PROXYMEMBERACCESS_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="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>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>
80 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</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> 
82 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</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="l00019"·name="l00019"></a><span·class="lineno">···19</span>··<span·class="keyword">namespace·</span>Impl·{</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="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>86 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</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>87 <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>88 <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> 
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> 
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> 
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="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> 
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> 
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> 
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> 
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> 
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> 
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> 
132 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····&gt;::type</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> 
134 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</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> 
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> 
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> 
142 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··<span·class="comment">//·it·into·a·member_access_proxy_holder·instance.</span></div> 
143 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div> 
144 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··<span·class="keyword">inline</span>·<span·class="keyword">typename</span>·std::enable_if&lt;</div> 
145 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····!std::is_lvalue_reference&lt;T&gt;::value,</div> 
146 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····Impl::member_access_proxy_holder&lt;T&gt;</div> 
147 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····&gt;::type</div> 
148 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··<a·class="code·hl_function"·href="a00406.html#gab204e4c1df410966214b242af99406a1">handle_proxy_member_access</a>(T&amp;&amp;·target)</div> 
149 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>··{</div> 
150 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>····<span·class="keywordflow">return</span>·{std::forward&lt;T&gt;(target)};</div> 
151 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>··}</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><span·class="preprocessor">#endif·</span><span·class="comment">//·DOXYGEN</span></div> 
154 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> 
155 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>}·<span·class="comment">//·namespace·Dune</span></div> 
156 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div> 
157 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_PROXYMEMBERACCESS_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>
158 <div·class="ttc"·id="aa00406_html_gab204e4c1df410966214b242af99406a1"><div·class="ttname"><a·href="a00406.html#gab204e4c1df410966214b242af99406a1">Dune::handle_proxy_member_access</a></div><div·class="ttdeci">pointer_or_proxy_holder·handle_proxy_member_access(T·&amp;&amp;t)</div><div·class="ttdoc">Transparent·support·for·providing·member·access·to·both·lvalues·and·rvalues·(temporary·proxies).</div></div> 
159 <div·class="ttc"·id="aa00424_html"><div·class="ttname"><a·href="a00424.html">std</a></div><div·class="ttdoc">STL·namespace.</div></div> 
160 <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> 
161 </div><!--·fragment·--></div><!--·contents·-->90 </div><!--·fragment·--></div><!--·contents·-->
162 <!--·start·footer·part·-->91 <!--·start·footer·part·-->
163 <hr·class="footer"/><address·class="footer"><small>92 <hr·class="footer"/><address·class="footer"><small>
164 Generated·by&#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
165 </small></address>94 </small></address>
166 </body>95 </body>
167 </html>96 </html>
Max diff block lines reached; -1/17037 bytes (-0.01%) of diff not shown.
3.37 KB
html2text {}
    
Offset 4, 112 lines modifiedOffset 4, 33 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 proxymemberaccess.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_PROXYMEMBERACCESS_HH 
15 ·6#define·DUNE_COMMON_PROXYMEMBERACCESS_HH14 ·5#ifndef·DUNE_COMMON_ASSERTANDRETURN_HH
 15 ·6#define·DUNE_COMMON_ASSERTANDRETURN_HH
16 ·716 ·7
 17 ·8#include·<cassert>
 18 ·9
 19 ·11
 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
17 ·14#include·<type_traits> 
18 ·15#include·<utility> 
19 ·16 
20 ·17namespace·Dune·{ 
21 ·18 
22 ·19·namespace·Impl·{ 
23 ·20 
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·{27 ·25
29 ·2628 ·26
 29 ·27#endif·//·DUNE_COMMON_ASSERTANDRETURN_HH
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 ·44 
48 ·45 
49 ·46#ifdef·DOXYGEN 
50 ·47 
51 ·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·} 
76 ·103 
77 ·104·//·This·version·matches·rvalues·(the·C++·type·deduction·rules·state·that 
78 ·105·//·the·T&&·signature·deduces·to·a·non-reference·iff·the·argument·is·an 
79 rvalue). 
80 ·106·//·In·this·case,·we·have·to·capture·the·rvalue·in·a·new·object·to·make 
81 sure·it 
82 ·107·//·is·kept·alive·for·the·duration·of·the·member·access.·For·this·purpose, 
83 we·move 
84 ·108·//·it·into·a·member_access_proxy_holder·instance. 
85 ·109·template<typename·T> 
86 ·110·inline·typename·std::enable_if< 
87 ·111·!std::is_lvalue_reference<T>::value, 
88 ·112·Impl::member_access_proxy_holder<T> 
89 ·113·>::type 
90 ·114·handle_proxy_member_access(T&&·target) 
91 ·115·{ 
92 ·116·return·{std::forward<T>(target)}; 
93 ·117·} 
94 ·118 
95 ·119#endif·//·DOXYGEN 
96 ·120 
97 ·121}·//·namespace·Dune 
98 ·122 
99 ·123#endif·//·DUNE_COMMON_PROXYMEMBERACCESS_HH 
100 Dune::handle_proxy_member_access 
101 pointer_or_proxy_holder·handle_proxy_member_access(T·&&t) 
102 Transparent·support·for·providing·member·access·to·both·lvalues·and·rvalues 
103 (temporary·proxies). 
104 std 
105 STL·namespace. 
106 Dune 
107 Dune·namespace. 
108 Definition:·alignedallocator.hh:13 
  
109 ===============================================================================30 ===============================================================================
110 ·····Generated·by [doxygen]·1.9.431 ·····Generated·by [doxygen]·1.9.4
11.7 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:·mallocallocator.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 64, 56 lines modifiedOffset 64, 69 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">mallocallocator.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">parametertree.hh·File·Reference</div></div>
74 </div><!--header-->73 </div><!--header-->
75 <div·class="contents">74 <div·class="contents">
  
76 <p>Allocators·that·use·malloc/free.··75 <p>A·hierarchical·structure·of·string·parameters.··
77 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
78 <div·class="textblock"><code>#include·&lt;exception&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>
79 <code>#include·&lt;cstdlib&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·/>
80 <code>#include·&lt;new&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·/>
81 <code>#include·&lt;utility&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="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 92 <code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
 93 <code>#include·&lt;<a·class="el"·href="a00323_source.html">dune/common/classname.hh</a>&gt;</code><br·/>
82 </div>94 </div>
83 <p><a·href="a00170_source.html">Go·to·the·source·code·of·this·file.</a></p>95 <p><a·href="a00170_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">96 <table·class="memberdecls">
85 <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>
86 Classes</h2></td></tr>98 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>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>
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>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>
89 <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">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>
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>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>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">116 </table><table·class="memberdecls">
93 <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>
94 Namespaces</h2></td></tr>118 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>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="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>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>121 <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="func-members"·name="func-members"></a> 
100 Functions</h2></td></tr> 
101 <tr·class="memitem:a0b225faa806a6ba0744fd93ce17b447a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&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> 
104 <tr·class="separator:a0b225faa806a6ba0744fd93ce17b447a"><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>122 </table>
110 <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>
111 <div·class="textblock"><p·>Allocators·that·use·malloc/free.·</p>124 <div·class="textblock"><p·>A·hierarchical·structure·of·string·parameters.·</p>
112 </div></div><!--·contents·-->125 </div></div><!--·contents·-->
113 <!--·start·footer·part·-->126 <!--·start·footer·part·-->
114 <hr·class="footer"/><address·class="footer"><small>127 <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.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
116 </small></address>129 </small></address>
117 </body>130 </body>
118 </html>131 </html>
2.19 KB
html2text {}
    
Offset 4, 41 lines modifiedOffset 4, 56 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 mallocallocator.hh·File·Reference 
9 Allocators·that·use·malloc/free.·More... 
10 #include·<exception>8 parametertree.hh·File·Reference
 9 A·hierarchical·structure·of·string·parameters.·More...
 10 #include·<array>
11 #include·<cstdlib>11 #include·<cstddef>
 12 #include·<iostream>
 13 #include·<istream>
 14 #include·<iterator>
 15 #include·<locale>
12 #include·<new>16 #include·<map>
13 #include·<utility>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>
 25 #include·<dune/common/fvector.hh>
 26 #include·<dune/common/classname.hh>
14 Go_to_the_source_code_of_this_file.27 Go_to_the_source_code_of_this_file.
15 ·Classes28 ·Classes
16 ·class· Dune::MallocAllocator<_T_> 
17  ·······Allocators·implementation·which·simply·calls·malloc/free.·More...29 ·class· Dune::ParameterTree
 30  ·······Hierarchical·structure·of·string·parameters.·More...
18  31  
19 struct· Dune::MallocAllocator<_T_>::rebind<_U_>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_>_>
20  46  
21 ·Namespaces47 ·Namespaces
22 namespace· Dune48 namespace· Dune
23  ··········Dune·namespace.49  ··········Dune·namespace.
24  50  
25 ·Functions 
26 template<class·T·> 
27 constexpr·bool Dune::operator==·(const·MallocAllocator<·T·>·&,·const 
28 ················MallocAllocator<·T·>·&) 
29  ··············check·whether·allocators·are·equivalent·More... 
30   
31 template<class·T·> 
32 constexpr·bool Dune::operator!=·(const·MallocAllocator<·T·>·&,·const 
33 ················MallocAllocator<·T·>·&) 
34  ··············check·whether·allocators·are·not·equivalent·More... 
35   
36 *****·Detailed·Description·*****51 *****·Detailed·Description·*****
37 Allocators·that·use·malloc/free.52 A·hierarchical·structure·of·string·parameters.
  
38 ===============================================================================53 ===============================================================================
39 ·····Generated·by [doxygen]·1.9.454 ·····Generated·by [doxygen]·1.9.4
101 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:·mallocallocator.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, 138 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">mallocallocator.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="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_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_PARAMETERTREE_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_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="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;exception&gt;</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="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstdlib&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>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;new&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>
 86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;sstream&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>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>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</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="a00341.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="a00302.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="a00323.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>
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>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>
84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</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> 
97 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····};</div> 
98 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>98 <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>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>
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>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>
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>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>
103 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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>
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> 
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>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>
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> 
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>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>112 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</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>
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>114 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</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> 
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>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>
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>117 <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>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>
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>120 <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>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>
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>123 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</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> 
Max diff block lines reached; 59637/86192 bytes (69.19%) of diff not shown.
17.0 KB
html2text {}
    
Offset 4, 197 lines modifiedOffset 4, 406 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 mallocallocator.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_MALLOC_ALLOCATOR_HH 
15 ·6#define·DUNE_MALLOC_ALLOCATOR_HH14 ·5#ifndef·DUNE_PARAMETERTREE_HH
 15 ·6#define·DUNE_PARAMETERTREE_HH
16 ·716 ·7
17 ·8#include·<exception>17 ·12#include·<array>
18 ·9#include·<cstdlib>18 ·13#include·<cstddef>
 19 ·14#include·<iostream>
 20 ·15#include·<istream>
 21 ·16#include·<iterator>
 22 ·17#include·<locale>
19 ·10#include·<new>23 ·18#include·<map>
20 ·11#include·<utility> 
21 ·1224 ·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>
 33 ·28#include·<dune/common/fvector.hh>
 34 ·29#include·<dune/common/classname.hh>
 35 ·30
22 ·17namespace·Dune36 ·31namespace·Dune·{
23 ·18{ 
24 ·23·template·<class·T> 
25 24·class·MallocAllocator·{37 ·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
26 ·25·public:45 ·43·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·{} 
42 ·4446 ·44
 47 47·typedef·std::vector<std::string>·KeyVector;
43 45·pointer·address(reference·x)·const 
44 ·46·{ 
45 ·47·return·&x; 
46 ·48·}48 ·48
 49 ·51·ParameterTree();
47 49·const_pointer·address(const_reference·x)·const 
48 ·50·{ 
49 ·51·return·&x; 
50 ·52·}50 ·52
51 ·5351 ·53
 52 ·61·bool·hasKey(const·std::string&·key)·const;
 53 ·62
 54 ·63
 55 ·71·bool·hasSub(const·std::string&·sub)·const;
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 ·7256 ·72
 57 ·73
 58 ·82·std::string&·operator[](const·std::string&·key);
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·}59 ·83
78 ·8460 ·84
 61 ·94·const·std::string&·operator[](const·std::string&·key)·const;
 62 ·95
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·{ 
87 ·95·p->~T(); 
88 ·96·}63 ·96
 64 ·104·void·report(std::ostream&·stream·=·std::cout,
 65 ·105·const·std::string&·prefix·=·"")·const;
89 ·97·}; 
90 ·98 
91 ·100·template<class·T> 
Max diff block lines reached; 13965/17404 bytes (80.24%) of diff not shown.
5.73 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:·conditional.hh·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, 35 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="#func-members">Functions</a>··</div>70 <a·href="#define-members">Macros</a>··</div>
72 ··<div·class="headertitle"><div·class="title">conditional.hh·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>
 76 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 77 </div>
75 <p><a·href="a00173_source.html">Go·to·the·source·code·of·this·file.</a></p>78 <p><a·href="a00173_source.html">Go·to·the·source·code·of·this·file.</a></p>
76 <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="func-members"·name="func-members"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
84 Functions</h2></td></tr>81 Macros</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#ga75d4ba5883cb39e7ec7927891a12615e">More...</a><br·/></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> 
88 <tr·class="separator:aa7df1a64bf1697e91502bce842535577"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:ga75d4ba5883cb39e7ec7927891a12615e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 </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>
90 </div><!--·contents·-->88 </div></div><!--·contents·-->
91 <!--·start·footer·part·-->89 <!--·start·footer·part·-->
92 <hr·class="footer"/><address·class="footer"><small>90 <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.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
94 </small></address>92 </small></address>
95 </body>93 </body>
96 </html>94 </html>
869 B
html2text {}
    
Offset 4, 22 lines modifiedOffset 4, 22 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Namespaces·|·Functions7 Macros
8 conditional.hh·File·Reference8 boundschecking.hh·File·Reference
 9 Macro·for·wrapping·boundary·checks.·More...
 10 #include·<dune/common/exceptions.hh>
9 Go_to_the_source_code_of_this_file.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...
10 ·Namespaces 
11 namespace· Dune 
12  ··········Dune·namespace. 
13   
14 ·Functions 
15 template<typename·T1·,·typename·T2·> 
16 const·T1 Dune::cond·(bool·b,·const·T1·&v1,·const·T2·&v2) 
17  ········conditional·evaluate·More... 
18  16  
 17 *****·Detailed·Description·*****
 18 Macro·for·wrapping·boundary·checks.
  
19 ===============================================================================19 ===============================================================================
20 ·····Generated·by [doxygen]·1.9.420 ·····Generated·by [doxygen]·1.9.4
9.88 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:·conditional.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 62, 36 lines modifiedOffset 62, 42 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">boundschecking.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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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">//·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_CONDITIONAL_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>
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>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>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>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00341.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="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#ifndef·DUNE_ASSERT_BOUNDS</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>
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> 
83 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····}</div> 
84 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>80 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</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>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="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</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>
87 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_CONDITIONAL_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>
 95 <div·class="ttc"·id="aa00341_html"><div·class="ttname"><a·href="a00341.html">exceptions.hh</a></div><div·class="ttdoc">A·few·common·exception·classes.</div></div>
88 <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_aa7df1a64bf1697e91502bce842535577"><div·class="ttname"><a·href="a00425.html#aa7df1a64bf1697e91502bce842535577">Dune::cond</a></div><div·class="ttdeci">const·T1·cond(bool·b,·const·T1·&amp;v1,·const·T2·&amp;v2)</div><div·class="ttdoc">conditional·evaluate</div><div·class="ttdef"><b>Definition:</b>·conditional.hh:28</div></div> 
90 </div><!--·fragment·--></div><!--·contents·-->96 </div><!--·fragment·--></div><!--·contents·-->
91 <!--·start·footer·part·-->97 <!--·start·footer·part·-->
92 <hr·class="footer"/><address·class="footer"><small>98 <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.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
94 </small></address>100 </small></address>
95 </body>101 </body>
96 </html>102 </html>
1.47 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 conditional.hh7 boundschecking.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file9 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
10 LICENSE.md·in·module·root10 LICENSE.md·in·module·root
11 ·2//·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_HH12 ·3#ifndef·DUNE_BOUNDSCHECKING_HH
 13 ·4#define·DUNE_BOUNDSCHECKING_HH
14 ·514 ·5
15 ·6namespace·Dune15 ·6#include·<dune/common/exceptions.hh>
16 ·7{16 ·7
17 ·8 
18 ·27·template<typename·T1,·typename·T2> 
19 28·const·T1·cond(bool·b,·const·T1·&·v1,·const·T2·&·v2) 
20 ·29·{ 
21 ·30·return·(b·?·v1·:·v2); 
22 ·31·} 
23 ·32 
24 ·33}·//·end·namespace·Dune 
25 ·34 
26 ·35#endif·//·DUNE_COMMON_CONDITIONAL_HH 
27 Dune 
28 Dune·namespace. 
29 Definition:·alignedallocator.hh:13 
30 Dune::cond 
31 const·T1·cond(bool·b,·const·T1·&v1,·const·T2·&v2) 
32 conditional·evaluate 
33 Definition:·conditional.hh:2817 ·19#ifndef·DUNE_ASSERT_BOUNDS
 18 ·20#if·defined(DUNE_CHECK_BOUNDS)·||·defined(DOXYGEN)
 19 ·21
 20 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
9.68 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:·function.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 64, 76 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="#define-members">Macros</a>·&#124; 
73 <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>72 ··<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>
75 </div><!--header-->73 </div><!--header-->
76 <div·class="contents">74 <div·class="contents">
  
77 <p>Simple·base·class·templates·for·functions.··75 <p>Utility·class·for·storing·and·resetting·stream·attributes.··
78 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
79 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;ios&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/deprecated.hh</a>&gt;</code><br·/> 
81 <code>#include·&quot;<a·class="el"·href="a00386_source.html">typetraits.hh</a>&quot;</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>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
86 Classes</h2></td></tr>82 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>83 <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">Base·class·template·for·function·classes.··<a·href="a01760.html#details">More...</a><br·/></td></tr>84 <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> 
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>85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 </table><table·class="memberdecls">86 </table><table·class="memberdecls">
97 <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>
98 Namespaces</h2></td></tr>88 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>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>
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>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>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <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="a00176.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"> 
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: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> 
113 <tr·class="separator:gab09a4489130d8c57186ca1f50efd8287"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 </table>92 </table>
115 <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·>Utility·class·for·storing·and·resetting·stream·attributes.·</p>
 95 <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·-->96 </div></div><!--·contents·-->
131 <!--·start·footer·part·-->97 <!--·start·footer·part·-->
132 <hr·class="footer"/><address·class="footer"><small>98 <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.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
134 </small></address>100 </small></address>
135 </body>101 </body>
136 </html>102 </html>
1.69 KB
html2text {}
    
Offset 4, 47 lines modifiedOffset 4, 28 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
8 function.hh·File·Reference8 ios_state.hh·File·Reference
9 Common9 Common
10 Simple·base·class·templates·for·functions.·More...10 Utility·class·for·storing·and·resetting·stream·attributes.·More...
11 #include·<utility>11 #include·<ios>
12 #include·<dune/common/deprecated.hh> 
13 #include·"typetraits.hh" 
14 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
15 ·Classes13 ·Classes
 14 class· Dune::ios_base_all_saver
 15  ······Utility·class·for·storing·and·resetting·stream·attributes.·More...
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  16  
25 ·Namespaces17 ·Namespaces
26 namespace· Dune18 namespace· Dune
27  ··········Dune·namespace.19  ··········Dune·namespace.
28  20  
29 ·Macros 
30 #define DUNE_FUNCTION_HH 
31   
32 ·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   
39 *****·Detailed·Description·*****21 *****·Detailed·Description·*****
 22 Utility·class·for·storing·and·resetting·stream·attributes.
 23 ··Author
 24 ······Markus·Blatt
40 Simple·base·class·templates·for·functions. 
41 *****·Macro·Definition·Documentation·***** 
42 *****·◆ DUNE_FUNCTION_HH·***** 
43 #define·DUNE_FUNCTION_HH 
  
44 ===============================================================================25 ===============================================================================
45 ·····Generated·by [doxygen]·1.9.426 ·····Generated·by [doxygen]·1.9.4
36.1 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:·function.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 62, 135 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">function.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="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_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_IOS_STATE_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_IOS_STATE_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> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</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>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;ios&gt;</span></div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno"><a·class="line"·href="a00176.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="l00009"·name="l00009"></a><span·class="lineno">····9</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>·</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="a00101.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="a00386.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>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>
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> 
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> 
96 <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>
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>83 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</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#gaab42b8e2cf5e10c794a7957e003edd76">state_type</a>;</div>
101 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>85 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</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>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>
103 <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>
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#ab05c710b26671cefdfac5a1a403a[·...·truncated·by·diffoscope;·len:·20,·SHA:·735148b516b25c84302008505d9f12d0d8312e1ee13d6ff1d42e7cd6384716ed·...·];</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>
105 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</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>
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> 
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>91 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</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>
115 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>97 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··};</div>
116 <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>·</div>
 99 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</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>100 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</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">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> 
131 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> 
132 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··<span·class="keyword">namespace·</span>Impl·{</div> 
133 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> 
134 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<a·class="code·hl_define"·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">DUNE_NO_DEPRECATED_BEGIN</a></div> 
135 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Domain,·<span·class="keyword">typename</span>·Range,·<span·class="keyword">typename</span>·F&gt;</div> 
136 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··<span·class="keyword">class·</span>LambdaVirtualFunction·final</div> 
137 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01768.html">VirtualFunction</a>&lt;Domain,·Range&gt;</div> 
138 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··{</div> 
139 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··<span·class="keyword">public</span>:</div> 
140 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····LambdaVirtualFunction(F&amp;&amp;·f)</div> 
141 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>······:·f_(std::move(f))</div> 
142 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>······{}</div> 
143 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div> 
144 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····LambdaVirtualFunction(<span·class="keyword">const</span>·F&amp;·f)</div> 
145 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>······:·f_(f)</div> 
146 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>······{}</div> 
147 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div> 
148 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>····<span·class="keywordtype">void</span>·evaluate(<span·class="keyword">const</span>·Domain&amp;·x,·Range&amp;·y)<span·class="keyword">·const·override</span></div> 
149 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span><span·class="keyword">······</span>{</div> 
150 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>········y·=·f_(x);</div> 
151 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>······}</div> 
152 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div> 
153 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>··<span·class="keyword">private</span>:</div> 
154 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>····<span·class="keyword">const</span>·F·f_;</div> 
155 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>··};</div> 
156 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>··<a·class="code·hl_define"·href="a00406.html#ga664ae9266c2a074c71746e68aaa8eb6a">DUNE_NO_DEPRECATED_END</a></div> 
157 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div> 
158 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··}·<span·class="comment">/*·namespace·Impl·*/</span></div> 
159 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div> 
160 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Domain,·<span·class="keyword">typename</span>·Range,·<span·class="keyword">typename</span>·F&gt;</div> 
161 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>··[[deprecated(<span·class="stringliteral">&quot;Dune::LambdaVirtualFunction·is·deprecated·after·Dune·2.7.··&quot;</span></div> 
162 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>···············<span·class="stringliteral">&quot;Use·std::function·instead!&quot;</span>)]]</div> 
Max diff block lines reached; 4057/30308 bytes (13.39%) of diff not shown.
6.33 KB
html2text {}
    
Offset 4, 176 lines modifiedOffset 4, 66 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 function.hh7 ios_state.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_IOS_STATE_HH
 15 ·6#define·DUNE_COMMON_IOS_STATE_HH
 16 ·7
 17 ·8#include·<ios>
 18 ·9
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 ·18 
29 ·19namespace·Dune·{19 ·10namespace·Dune·{
 20 33·class·ios_base_all_saver
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·Function 
36 ·41·{21 ·34·{
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 ·44 
42 ·45·public:22 ·35·public:
43 ·46 
44 48·typedef·RawRangeType·RangeType;23 37·typedef·std::ios_base·state_type;
 24 ·38
 25 ·48·ios_base_all_saver(state_type&·ios_);
45 ·4926 ·49
 27 ·53·~ios_base_all_saver();
 28 ·54
 29 ·61·void·restore();
 30 ·62
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 
75 ·101 
76 ·102·namespace·Impl·{ 
77 ·103 
78 ·104·DUNE_NO_DEPRECATED_BEGIN 
79 ·105·template<typename·Domain,·typename·Range,·typename·F> 
80 ·106·class·LambdaVirtualFunction·final 
81 ·107·:·public·VirtualFunction<Domain,·Range> 
82 ·108·{ 
83 ·109·public: 
84 ·110·LambdaVirtualFunction(F&&·f) 
85 ·111·:·f_(std::move(f)) 
86 ·112·{} 
87 ·113 
88 ·114·LambdaVirtualFunction(const·F&·f) 
89 ·115·:·f_(f) 
90 ·116·{} 
91 ·117 
92 ·118·void·evaluate(const·Domain&·x,·Range&·y)·const·override 
93 ·119·{ 
94 ·120·y·=·f_(x); 
95 ·121·} 
96 ·122 
97 ·123·private:31 ·63·private:
98 ·124·const·F·f_;32 ·65·state_type&·ios;
 33 ·67·state_type::fmtflags·oldflags;
 34 ·69·std::streamsize·oldprec;
 35 ·71·std::streamsize·oldwidth;
99 ·125·};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
Max diff block lines reached; 1546/6462 bytes (23.92%) of diff not shown.
18.6 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:·transpose.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 63, 55 lines modifiedOffset 63, 86 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">transpose.hh·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">poolallocator.hh·File·Reference</div></div>
73 </div><!--header-->74 </div><!--header-->
74 <div·class="contents">75 <div·class="contents">
  
 76 <p>An·stl-compliant·pool·allocator.··
 77 <a·href="#details">More...</a></p>
75 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;numeric&gt;</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·/>
76 <code>#include·&lt;functional&gt;</code><br·/>82 <code>#include·&lt;new&gt;</code><br·/>
77 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/> 
78 <code>#include·&lt;<a·class="el"·href="a00164_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/> 
79 <code>#include·&lt;<a·class="el"·href="a00248_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a00149_source.html">dune/common/referencehelper.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00191_source.html">dune/common/dynmatrix.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/matrixconcepts.hh</a>&gt;</code><br·/> 
83 </div>83 </div>
84 <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>
85 <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="a02392.html">Dune::Pool&lt;·T,·s·&gt;</a></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>
 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="a02396.html">Dune::PoolAllocator&lt;·T,·s·&gt;</a></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>
 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>
 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>
 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>
 100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 </table><table·class="memberdecls">
86 <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>
87 Namespaces</h2></td></tr>103 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>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>
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>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>
90 <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: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>
 109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table><table·class="memberdecls">110 </table><table·class="memberdecls">
92 <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>
93 Functions</h2></td></tr>112 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>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>
97 <tr·class="separator:ad090bea53c1598805a721f989ffea309"><td·class="memSeparator"·colspan="2">&#160;</td></tr>118 <tr·class="separator:gaf0e4942c0493dceaf371ba9f0ec29ab6"><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>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>
 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>
101 <tr·class="separator:a15675202af9ce6f9282065c808f24a82"><td·class="memSeparator"·colspan="2">&#160;</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>
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>136 <tr·class="separator:ga6795aefd733bd618db889c6f15f1552f"><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>137 </table>
 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>
111 </div><!--·contents·-->141 </div></div><!--·contents·-->
112 <!--·start·footer·part·-->142 <!--·start·footer·part·-->
113 <hr·class="footer"/><address·class="footer"><small>143 <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.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
115 </small></address>145 </small></address>
116 </body>146 </body>
117 </html>147 </html>
3.45 KB
html2text {}
    
Offset 4, 44 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·|·Functions7 Classes·|·Namespaces·|·Functions
8 transpose.hh·File·Reference8 poolallocator.hh·File·Reference
 9 An·stl-compliant·pool·allocator.·More...
 10 #include·<numeric>
 11 #include·<typeinfo>
 12 #include·<iostream>
9 #include·<cstddef>13 #include·<cassert>
 14 #include·<new>
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> 
17 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
 16 ·Classes
 17 ·class· Dune::Pool<_T,_s_>
 18  ·······A·memory·pool·of·objects.·More...
 19  
 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  
18 ·Namespaces30 ·Namespaces
19 namespace· Dune31 namespace· Dune
20  ··········Dune·namespace.32  ··········Dune·namespace.
21  33  
 34 namespace· std
 35  ··········STL·namespace.
 36  
22 ·Functions37 ·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·>·&)
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  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·>·&)
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  45  
33 template<class·Matrix·> 
34 auto Dune::transpose·(const·std::reference_wrapper<·Matrix·>·&matrix) 
35  ····Create·a·wrapper·modelling·the·transposed·matrix.·More...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)
36  49  
37 template<class·Matrix·> 
38 auto Dune::transposedView·(const·Matrix·&matrix) 
39  ····Create·a·view·modelling·the·transposed·matrix.·More...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)
40  69  
 70 *****·Detailed·Description·*****
 71 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
  
41 ===============================================================================76 ===============================================================================
42 ·····Generated·by [doxygen]·1.9.477 ·····Generated·by [doxygen]·1.9.4
147 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:·transpose.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, 240 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">transpose.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="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_COMMON_TRANSPOSE_HH</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_TRANSPOSE_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>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>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&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><span·class="preprocessor">#include·&lt;functional&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> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.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="a00164.html">dune/common/fmatrix.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="a00248.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="a00149.html">dune/common/referencehelper.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="a00191.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="a00224.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>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><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="preprocessor">#ifndef·DOXYGEN</span></div>
89 <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><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>
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Impl·{</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>
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</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>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="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>{</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="l00027"·name="l00027"></a><span·class="lineno">···27</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">class</span>·M&gt;</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>
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>95 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">class·</span>Pool;</div>
102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··{</div>96 <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>····<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>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>
104 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··};</div>100 <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>101 <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>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>
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>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>
109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>119 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>}</div>
110 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>120 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</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> 
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">public</span>:</div> 
120 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</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> 
123 <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>
124 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</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>
125 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</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">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="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> 
Max diff block lines reached; 100873/125959 bytes (80.08%) of diff not shown.
24.0 KB
html2text {}
    
Offset 4, 280 lines modifiedOffset 4, 599 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 transpose.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_COMMON_TRANSPOSE_HH14 ·5#ifndef·DUNE_COMMON_POOLALLOCATOR_HH
15 ·6#define·DUNE_COMMON_TRANSPOSE_HH15 ·6#define·DUNE_COMMON_POOLALLOCATOR_HH
16 ·716 ·7
 17 ·12#include·<numeric>
 18 ·13#include·<typeinfo>
 19 ·14#include·<iostream>
 20 ·15#include·<cassert>
 21 ·16#include·<new>
17 ·8#include·<cstddef> 
18 ·9#include·<functional> 
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 ·1722 ·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
27 ·18namespace·Dune·{30 ·25namespace·Dune
28 ·19 
29 ·20namespace·Impl·{ 
30 ·21 
31 ·22 
32 ·23 
33 ·24·template<class·M,·bool·=·IsStaticSizeMatrix<M>::value> 
34 ·25·struct·TransposedDenseMatrixTraits 
35 ·26·{31 ·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
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·};39 ·34}
45 ·3540 ·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;
 49 ·44·}
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 ·4550 ·45
57 ·46·template<class·WM> 
58 ·47·class·TransposedMatrixWrapperMixin<WM,·true>51 ·46·template<class·T,·std::size_t·S>
 52 ·47·inline·ostream&·operator<<(ostream&·os,·Dune::PoolAllocator<T,S>&·pool)
59 ·48·{53 ·48·{
60 ·49·public: 
61 ·50 
62 ·52·constexpr·static·int·rows·=·WM::cols; 
63 ·54·constexpr·static·int·cols·=·WM::rows; 
64 ·55·}; 
65 ·5654 ·49·os<<pool.memoryPool_<<std::endl;
 55 ·50·return·os;
 56 ·51·}
 57 ·52·*/
 58 ·53}
 59 ·54
 60 ·55
 61 ·56namespace·Dune
66 ·5762 ·57{
 63 ·88·template<class·T,·std::size_t·s>
 64 89·class·Pool
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>. 
Max diff block lines reached; 19932/24506 bytes (81.34%) of diff not shown.
50.3 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:·iteratorfacades.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 65, 99 lines modifiedOffset 65, 195 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">iteratorfacades.hh·File·Reference</div></div>74 ··<div·class="headertitle"><div·class="title">math.hh·File·Reference</div></div>
74 </div><!--header-->75 </div><!--header-->
75 <div·class="contents">76 <div·class="contents">
  
76 <p>This·file·implements·iterator·facade·classes·for·writing·stl·conformant·iterators.··77 <p>Some·useful·basic·math·stuff.··
77 <a·href="#details">More...</a></p>78 <a·href="#details">More...</a></p>
78 <div·class="textblock"><code>#include·&lt;iterator&gt;</code><br·/>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·/>
79 <code>#include·&lt;type_traits&gt;</code><br·/>82 <code>#include·&lt;type_traits&gt;</code><br·/>
80 <code>#include·&quot;<a·class="el"·href="a00386_source.html">typetraits.hh</a>&quot;</code><br·/>83 <code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/>
81 </div>84 </div>
82 <p><a·href="a00182_source.html">Go·to·the·source·code·of·this·file.</a></p>85 <p><a·href="a00182_source.html">Go·to·the·source·code·of·this·file.</a></p>
83 <table·class="memberdecls">86 <table·class="memberdecls">
84 <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>
85 Classes</h2></td></tr>88 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>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>
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>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>
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 <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>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>
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>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>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <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>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>
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>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>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 </table><table·class="memberdecls">105 </table><table·class="memberdecls">
96 <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>
97 Namespaces</h2></td></tr>107 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>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>
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>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>
100 <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: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>
 118 Macros</h2></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="a00182.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="a00182.html#a8a492f8cc06481d5f3b0d514e344dcfa">DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR</a>(function)</td></tr>
 122 <tr·class="separator:a8a492f8cc06481d5f3b0d514e344dcfa"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls">123 </table><table·class="memberdecls">
102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>124 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
103 Functions</h2></td></tr>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>
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>129 <tr·class="separator:a3e1ea51d0034cae5c0f206c0bdae2c9d"><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>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>
131 <tr·class="separator:ga9052c16ab85627534c5c3eb9ebed7d87"><td·class="memSeparator"·colspan="2">&#160;</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>
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> 
Max diff block lines reached; 4788/37588 bytes (12.74%) of diff not shown.
13.5 KB
html2text {}
    
Offset 4, 141 lines modifiedOffset 4, 156 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 iteratorfacades.hh·File·Reference 
9 This·file·implements·iterator·facade·classes·for·writing·stl·conformant 
10 iterators.·More... 
11 #include·<iterator>8 math.hh·File·Reference
 9 Some·useful·basic·math·stuff.·More...
 10 #include·<cmath>
 11 #include·<complex>
 12 #include·<limits>
12 #include·<type_traits>13 #include·<type_traits>
13 #include·"typetraits.hh"14 #include·<dune/common/typeutilities.hh>
14 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
15 ·Classes16 ·Classes
16 class· Dune::ForwardIteratorFacade<_T,_V,_R,_D_> 
17  ······Base·class·for·stl·conformant·forward·iterators.·More...17 struct· Dune::StandardMathematicalConstants<_T_>
 18  ·······Standard·implementation·of·MathematicalConstants.·More...
18  19  
19 class· Dune::BidirectionalIteratorFacade<_T,_V,_R,_D_> 
20  ······Facade·class·for·stl·conformant·bidirectional·iterators.·More...20 struct· Dune::MathematicalConstants<_Field_>
 21  ·······Provides·commonly·used·mathematical·constants.·More...
21  22  
22 class· Dune::RandomAccessIteratorFacade<_T,_V,_R,_D_> 
23  ······Base·class·for·stl·conformant·forward·iterators.·More...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
24  33  
25 ·Namespaces34 ·Namespaces
26 namespace· Dune35 namespace· Dune
27  ··········Dune·namespace.36  ··········Dune·namespace.
28  37  
 38 namespace· Dune::MathOverloads
 39  ··········namespace·for·customization·of·math·functions·with·Dune-Semantics
 40  
 41 namespace· Dune::MathImpl
 42  
 43 ·Macros
 44 #define DUNE_COMMON_MATH_ISFUNCTION(function,·stdfunction)
 45  
 46 #define DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR(function)
 47  
29 ·Functions48 ·Functions
 49 template<class·Base·,·class·Exponent·>
 50 ·······constexpr·Base Dune::power·(Base·m,·Exponent·p)
 51  ·····················Power·method·for·integer·exponents.·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... 
37  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...
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  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...
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  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...
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  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...
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  
 73 template<class·T·,·T·n>
 74 static·constexpr·auto Dune::binomial·(std::integral_constant<·T,·n·>,·std::
 75 ·······················integral_constant<·T,·n·>)·noexcept
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  76  
Max diff block lines reached; 1488/13756 bytes (10.82%) of diff not shown.
186 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:·iteratorfacades.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 62, 435 lines modifiedOffset 62, 330 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">math.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">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</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>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_MATH_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_MATH_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;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>
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="l00015"·name="l00015"></a><span·class="lineno">···15</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>82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</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="a00386.html">typetraits.hh</a>&quot;</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="a00257.html">dune/common/typeutilities.hh</a>&gt;</span></div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</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>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>
 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>
 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>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div>90 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</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:·23,·SHA:·9a42170e17f9642bdc588bd86f0667246f89792c1fa7443cbba4ab8364981d18·...·]</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#aae1[·...·truncated·by·diffoscope;·len:·39,·SHA:·26acfaf3217acb8ea878f55d07e1cb768a60df3c4d54b781c1eef20e7f933cb1·...·]</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>
 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>
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>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>
87 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</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>
88 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</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>
 162 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 163 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno"><a·class="line"·href="a00425.html#a2dd634f0f1043459fc810cb763999214">··131</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#a2dd634f0f1043459fc810cb763999214">binomial</a>·(<span·class="keyword">const</span>·T&amp;·n,·<span·class="keyword">const</span>·T&amp;·k)·<span·class="keyword">noexcept</span></div>
 164 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>··{</div>
 165 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>····<span·class="keyword">static_assert</span>(std::numeric_limits&lt;T&gt;::is_integer,·<span·class="stringliteral">&quot;`binomial(n,·k)`·has·to·be·called·with·an·integer·type.&quot;</span>);</div>
 166 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div>
 167 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>····<span·class="keywordflow">if</span>(·k·&lt;·0·||·k·&gt;·n·)</div>
89 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>··<span·class="keyword">public</span>:</div>168 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>······<span·class="keywordflow">return</span>·0;</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> 
Max diff block lines reached; 123323/158778 bytes (77.67%) of diff not shown.
30.6 KB
html2text {}
    
Offset 4, 617 lines modifiedOffset 4, 400 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 iteratorfacades.hh7 math.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_MATH_HH
 15 ·6#define·DUNE_MATH_HH
16 ·716 ·7
17 ·8#include·<iterator>17 ·12#include·<cmath>
 18 ·13#include·<complex>
 19 ·14#include·<limits>
18 ·9#include·<type_traits>20 ·15#include·<type_traits>
19 ·10 
20 ·11#include·"typetraits.hh" 
21 ·1221 ·16
 22 ·17#include·<dune/common/typeutilities.hh>
 23 ·18
22 ·13namespace·Dune24 ·19namespace·Dune
23 ·14{ 
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;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;
41 ·18666 ·86
42 190·typedef·D·DifferenceType; 
43 ·191 
44 195·typedef·R·Reference;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·};
45 ·19683 ·106
46 198·Reference·operator*()·const 
47 ·199·{ 
48 ·200·return·static_cast<DerivedType·const*>(this)->dereference();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·}
Max diff block lines reached; 25933/31261 bytes (82.96%) of diff not shown.
30.6 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:·poolallocator.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 65, 84 lines modifiedOffset 65, 178 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">poolallocator.hh·File·Reference</div></div>74 ··<div·class="headertitle"><div·class="title">hash.hh·File·Reference</div></div>
74 </div><!--header-->75 </div><!--header-->
75 <div·class="contents">76 <div·class="contents">
  
76 <p>An·stl-compliant·pool·allocator.··77 <p>Support·for·calculating·hash·values·of·objects.··
77 <a·href="#details">More...</a></p>78 <a·href="#details">More...</a></p>
78 <div·class="textblock"><code>#include·&lt;numeric&gt;</code><br·/>79 <div·class="textblock"><code>#include·&lt;functional&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/typetraits.hh</a>&gt;</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·/> 
83 </div>81 </div>
84 <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>
85 <table·class="memberdecls">83 <table·class="memberdecls">
86 <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>
87 Classes</h2></td></tr>85 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="a02392.html">Dune::Pool&lt;·T,·s·&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>
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>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>
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="a02396.html">Dune::PoolAllocator&lt;·T,·s·&gt;</a></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> 
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> 
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> 
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> 
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls">89 </table><table·class="memberdecls">
102 <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>
103 Namespaces</h2></td></tr>91 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>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>
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>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>
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</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>95 </table><table·class="memberdecls">
 96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
 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="a00185.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="a00185.html#a19447db8894b6d86b6b7ef0218694820">More...</a><br·/></td></tr>
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</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="a00185.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="a00185.html#ad88c05071e8aafc3796b6d6238900697">More...</a><br·/></td></tr>
 103 <tr·class="separator:ad88c05071e8aafc3796b6d6238900697"><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="a00185.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="a00185.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">More...</a><br·/></td></tr>
 106 <tr·class="separator:a48ea57ba3831fb7e8bbea1d8e1d27f4f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table><table·class="memberdecls">107 </table><table·class="memberdecls">
111 <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>
112 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>
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>113 <tr·class="separator:aa4f0199c109bde1698fb5279a414d01a"><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>114 <tr·class="memitem:a6e45658b7c63f546c3c0897608d9d23d"><td·class="memTemplParams"·colspan="2">template&lt;typename·It·&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·PoolAll[·...·truncated·by·diffoscope;·len:·73,·SHA:·3dd55b4c4affe37565332656d69f3647f82b6176dca76e3cb7e2b1553e95219d·...·])</td></tr>115 <tr·class="memitem:a6e45658b7c63f546c3c0897608d9d23d"><td·class="memTemplItemLeft"·align="right"·valign="top">std::size_t&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a6e45658b7c63f546c3c0897608d9d23d">Dune::hash_range</a>·(It·first[·...·truncated·by·diffoscope;·len:·9,·SHA:·c175d322444493e7298d62cfe5d4bef9025f9db4750a94e0f39bda6447ceae6b·...·])</td></tr>
 116 <tr·class="memdesc:a6e45658b7c63f546c3c0897608d9d23d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Hashes·all·elements·in·the·range·[first,last)·and·returns·the·combined·hash.··<a·href="a00425.html#a6e45658b7c63f546c3c0897608d9d23d">More...</a><br·/></td></tr>
121 <tr·class="separator:gab6358d63f2012e81c5066d6c6d9cb94a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>117 <tr·class="separator:a6e45658b7c63f546c3c0897608d9d23d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 118 <tr·class="memitem:ab09a051cb1381c71f6c91032cd2ba754"><td·class="memTemplParams"·colspan="2">template&lt;typename·It·&gt;·</td></tr>
 119 <tr·class="memitem:ab09a051cb1381c71f6c91032cd2ba754"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ab09a051cb1381c71f6c91032cd2ba754">Dune::hash_range</a>·(std::size_t·&amp;seed,·It·first,·It·last)</td></tr>
 120 <tr·class="memdesc:ab09a051cb1381c71f6c91032cd2ba754"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Hashes·all·elements·in·the·range·[first,last)·and·combines·the·hashes·in-place·with·seed.··<a·href="a00425.html#ab09a051cb1381c71f6c91032cd2ba754">More...</a><br·/></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>121 <tr·class="separator:ab09a051cb1381c71f6c91032cd2ba754"><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> 
137 </table>122 </table>
138 <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>
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>124 <div·class="textblock"><p·>Support·for·calculating·hash·values·of·objects.·</p>
 125 <p·>This·file·provides·the·functor·<a·class="el"·href="a01856.html"·title="Functor·for·hashing·objects·of·type·T.">Dune::hash</a>·to·calculate·hash·values·and·some·infrastructure·to·simplify·extending·<a·class="el"·href="a01856.html"·title="Functor·for·hashing·objects·of·type·T.">Dune::hash</a>·for·user-defined·types,·independent·of·the·actual·underlying·implementation.·</p>
 126 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>
 127 <a·id="a19447db8894b6d86b6b7ef0218694820"·name="a19447db8894b6d86b6b7ef0218694820"></a>
 128 <h2·class="memtitle"><span·class="permalink"><a·href="#a19447db8894b6d86b6b7ef0218694820">&#9670;&nbsp;</a></span>DUNE_DEFINE_HASH</h2>
  
 129 <div·class="memitem">
 130 <div·class="memproto">
 131 ······<table·class="memname">
 132 ········<tr>
 133 ··········<td·class="memname">#define·DUNE_DEFINE_HASH</td>
 134 ··········<td>(</td>
 135 ··········<td·class="paramtype">&#160;</td>
 136 ··········<td·class="paramname">template_args,·</td>
 137 ········</tr>
 138 ········<tr>
Max diff block lines reached; 243/24339 bytes (1.00%) of diff not shown.
6.71 KB
html2text {}
    
Offset 4, 79 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·|·Functions7 Classes·|·Namespaces·|·Macros·|·Functions
 8 hash.hh·File·Reference
 9 Support·for·calculating·hash·values·of·objects.·More...
 10 #include·<functional>
 11 #include·<dune/common/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> 
15 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
16 ·Classes13 ·Classes
 14 struct· Dune::hash<_T_>
 15  ·······Functor·for·hashing·objects·of·type·T.·More...
17 ·class· Dune::Pool<_T,_s_> 
18  ·······A·memory·pool·of·objects.·More... 
19   
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  16  
30 ·Namespaces17 ·Namespaces
31 namespace· Dune18 namespace· Dune
32  ··········Dune·namespace.19  ··········Dune·namespace.
33  20  
34 namespace· std 
35  ··········STL·namespace.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...
 25  
 26 #define DUNE_HASH_TEMPLATE_ARGS(...)
 27  ·······Wrapper·macro·for·the·template·arguments·in·DUNE_DEFINE_HASH.·More...
 28  
 29 #define DUNE_HASH_TYPE(...)
 30  ·······Wrapper·macro·for·the·type·to·be·hashed·in·DUNE_DEFINE_HASH.·More...
36  31  
37 ·Functions32 ·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·>·&)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...
41  37  
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·>·&)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...
45  42  
 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...
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  47  
70 *****·Detailed·Description·*****48 *****·Detailed·Description·*****
71 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·Blatt49 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.
 53 *****·Macro·Definition·Documentation·*****
 54 *****·◆ DUNE_DEFINE_HASH·*****
 55 #define·DUNE_DEFINE_HASH·(· template_args,
 56 ··························· type 
 57 ·························)
 58 Defines·the·required·struct·specialization·to·make·type·hashable·via·Dune::
 59 hash.
 60 In·order·to·calculate·the·hash,·operator()·of·the·generated·specialization·will
 61 return·the·result·of·an·unqualified·call·to·the·global·function·hash_value
 62 (const·type&).·As·the·call·is·not·qualified,·the·function·will·be·found·using
 63 argument-dependent·lookup,·allowing·implementors·to·conveniently·place·it
 64 inside·the·class·body.
 65 Consider·the·following·type:
 66 namespace·ns·{
 67 template<typename·A,·int·i>
 68 class·Foo
 69 {
 70 ...
 71 };
 72 }
 73 In·order·to·add·support·for·Dune::hash,·you·need·to·extend·the·definition·like
 74 this:
 75 namespace·ns·{
Max diff block lines reached; 116/6850 bytes (1.69%) of diff not shown.
153 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:·poolallocator.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, 461 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">poolallocator.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="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><span·class="preprocessor">#ifndef·DUNE_COMMON_POOLALLOCATOR_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_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_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="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>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="preprocessor">#include·&lt;<a·class="code"·href="a00014.html">dune/common/typetraits.hh</a>&gt;</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>·</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="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//·********************************************************************************</span></div>
85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//·forward·declarations.</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>
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> 
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> 
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>·</div>85 <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>86 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#ifdef·DOXYGEN</span></div>
 87 <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>
96 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>89 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</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>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>
 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>
100 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</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>
 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>
101 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>103 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</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> 
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>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="a00185.html#a19447db8894b6d86b6b7ef0218694820">··100</a></span><span·class="preprocessor">#define·DUNE_DEFINE_HASH(template_args,type)</span></div>
120 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</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> 
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">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> 
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> 
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> 
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">struct·</span>Reference</div> 
136 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····{</div>106 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
137 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>······Reference·*next_;</div> 
138 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····};</div>107 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>
139 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>108 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
140 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="keyword">public</span>:</div>109 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a00185.html#ad88c05071e8aafc3796b6d6238900697">··109</a></span><span·class="preprocessor">#define·DUNE_HASH_TEMPLATE_ARGS(...)</span></div>
141 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>110 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>
142 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a02392.html#ac19df4f78d13ff43b53772bbfb84e4d7">··108</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a02392.html#ac19df4f78d13ff43b53772bbfb84e4d7">MemberType</a>;</div> 
143 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> 
144 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a02392.html#a95d3fdca48ff0119e3556adf171a6507">··113</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a02392.html#a95d3fdca48ff0119e3556adf171a6507">unionSize</a>·=·(<span·class="keyword">sizeof</span>(<a·class="code·hl_typedef"·href="a02392.html#ac19df4f78d13ff43b53772bbfb84e4d7">MemberType</a>)·&lt;·<span·class="keyword">sizeof</span>(Reference))·?</div> 
145 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>······································<span·class="keyword">sizeof</span>(Reference)·:·<span·class="keyword">sizeof</span>(<a·class="code·hl_typedef"·href="a02392.html#ac19df4f78d13ff43b53772bbfb84e4d7">MemberType</a>);</div> 
146 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div>111 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>
147 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="a02392.html#a788ce046d5fe7b7cde0609f9e0cd4d99">··120</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a02392.html#a788ce046d5fe7b7cde0609f9e0cd4d99">size</a>·=·(<span·class="keyword">sizeof</span>(<a·class="code·hl_typedef"·href="a02392.html#ac19df4f78d13ff43b53772bbfb84e4d7">MemberType</a>)·&lt;=·s·&amp;&amp;·<span·class="keyword">sizeof</span>(Reference)·&lt;=·s)·?</div> 
148 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·································s·:·<a·class="code·hl_variable"·href="a02392.html#a95d3fdca48ff0119e3556adf171a6507">unionSize</a>;</div>112 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="a00185.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>
149 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div>117 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div>
150 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno"><a·class="line"·href="a02392.html#a101d9e6dc458eaab23252d384a86115f">··127</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="cod[·...·truncated·by·diffoscope;·len:·276,·SHA:·badf9073e7adf14fb40b094da285faaa483dec3326194e98420c890ae551cbb9·...·]</div>118 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span><span·class="comment">//·********************************************************************************</span></div>
Max diff block lines reached; 74502/130622 bytes (57.04%) of diff not shown.
25.3 KB
html2text {}
    
Offset 4, 599 lines modifiedOffset 4, 332 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 poolallocator.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_COMMON_POOLALLOCATOR_HH14 ·5#ifndef·DUNE_COMMON_HASH_HH
15 ·6#define·DUNE_COMMON_POOLALLOCATOR_HH15 ·6#define·DUNE_COMMON_HASH_HH
16 ·716 ·7
 17 ·8#include·<functional>
 18 ·9
 19 ·10#include·<dune/common/typetraits.hh>
 20 ·11
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 ·2421 ·24/
30 ·25namespace·Dune22 /
 23 ********************************************************************************
 24 ·25//·Doxygen·documentation
31 ·26{25 ·26/
 26 /
 27 ********************************************************************************
32 ·2728 ·27
 29 ·28#ifdef·DOXYGEN
 30 ·29
 31 ·30namespace·Dune·{
 32 ·31
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 ·3333 ·33
 34 ·38·template<typename·T>
 35 39·struct·hash
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·{36 ·40·{
47 ·42·os<<"pool="<<&pool<<"·allocated_="<<pool.allocated_; 
48 ·43·return·os;37 ·41
 38 43·std::size_t·operator()(const·T&·t)·const
49 ·44·}39 ·44·{
50 ·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;40 ·45·return·hash(t);
 41 ·46·}
 42 ·47
 43 ·48·};
 44 ·49
 45 ·50}
56 ·51·}46 ·51
57 ·52·*/ 
58 ·53}47 ·53
 48 100#define·DUNE_DEFINE_HASH(template_args,type)
59 ·54 
60 ·55 
61 ·56namespace·Dune 
62 ·57{ 
63 ·88·template<class·T,·std::size_t·s> 
64 89·class·Pool 
65 ·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 
75 ·101·{49 ·101
 50 ·102
76 ·102·Reference·*next_; 
77 ·103·}; 
78 ·10451 ·104
79 ·105·public:52 109#define·DUNE_HASH_TEMPLATE_ARGS(...)
80 ·10653 ·110
81 108·typedef·T·MemberType; 
82 ·109 
83 113·constexpr·static·int·unionSize·=·(sizeof(MemberType)·<·sizeof(Reference))·? 
84 ·114·sizeof(Reference)·:·sizeof(MemberType); 
85 ·11554 ·112
86 120·constexpr·static·int·size·=·(sizeof(MemberType)·<=·s·&&·sizeof(Reference) 
87 <=·s)·? 
88 ·121·s·:·unionSize;55 117#define·DUNE_HASH_TYPE(...)
 56 ·118
 57 ·119#else·//·DOXYGEN·-·hide·all·the·ugly·implementation
 58 ·120
 59 ·121
89 ·12260 ·122
90 127·constexpr·static·int·alignment·=·std::lcm(alignof(MemberType),·alignof 
91 (Reference));61 ·123/
 62 /
 63 ********************************************************************************
 64 ·124//·C++11·support
 65 ·125/
 66 /
 67 ********************************************************************************
92 ·12868 ·126
93 135·constexpr·static·int·alignedSize·=·(unionSize·%·alignment·==·0)·? 
94 ·136·unionSize·: 
Max diff block lines reached; 19535/25835 bytes (75.61%) of diff not shown.
10.4 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:·gmpfield.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 64, 54 lines modifiedOffset 64, 56 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">gmpfield.hh·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">mallocallocator.hh·File·Reference</div></div>
73 </div><!--header-->74 </div><!--header-->
74 <div·class="contents">75 <div·class="contents">
  
75 <p>Wrapper·for·the·GNU·multiprecision·(GMP)·library.··76 <p>Allocators·that·use·malloc/free.··
76 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;exception&gt;</code><br·/>
78 <code>#include·&lt;string&gt;</code><br·/>79 <code>#include·&lt;cstdlib&gt;</code><br·/>
79 <code>#include·&lt;type_traits&gt;</code><br·/> 
80 <code>#include·&lt;gmpxx.h&gt;</code><br·/>80 <code>#include·&lt;new&gt;</code><br·/>
 81 <code>#include·&lt;utility&gt;</code><br·/>
81 <code>#include·&lt;<a·class="el"·href="a00248_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
83 </div>82 </div>
84 <p><a·href="a00188_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00188_source.html">Go·to·the·source·code·of·this·file.</a></p>
85 <table·class="memberdecls">84 <table·class="memberdecls">
86 <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>
87 Classes</h2></td></tr>86 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>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>
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>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>
90 <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">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>
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>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls">92 </table><table·class="memberdecls">
102 <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>
103 Namespaces</h2></td></tr>94 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>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>
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>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>
106 <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">
 99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 100 Functions</h2></td></tr>
 101 <tr·class="memitem:a0b225faa806a6ba0744fd93ce17b447a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&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>
 104 <tr·class="separator:a0b225faa806a6ba0744fd93ce17b447a"><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>
107 </table>109 </table>
108 <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>
109 <div·class="textblock"><p·>Wrapper·for·the·GNU·multiprecision·(GMP)·library.·</p>111 <div·class="textblock"><p·>Allocators·that·use·malloc/free.·</p>
110 </div></div><!--·contents·-->112 </div></div><!--·contents·-->
111 <!--·start·footer·part·-->113 <!--·start·footer·part·-->
112 <hr·class="footer"/><address·class="footer"><small>114 <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.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
114 </small></address>116 </small></address>
115 </body>117 </body>
116 </html>118 </html>
1.95 KB
html2text {}
    
Offset 4, 42 lines modifiedOffset 4, 41 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 gmpfield.hh·File·Reference 
9 Wrapper·for·the·GNU·multiprecision·(GMP)·library.·More... 
10 #include·<iostream>8 mallocallocator.hh·File·Reference
 9 Allocators·that·use·malloc/free.·More...
 10 #include·<exception>
11 #include·<string>11 #include·<cstdlib>
 12 #include·<new>
 13 #include·<utility>
12 #include·<type_traits> 
13 #include·<gmpxx.h> 
14 #include·<dune/common/promotiontraits.hh> 
15 #include·<dune/common/typetraits.hh> 
16 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
17 ·Classes15 ·Classes
 16 ·class· Dune::MallocAllocator<_T_>
 17  ·······Allocators·implementation·which·simply·calls·malloc/free.·More...
18 ·class· Dune::GMPField<_precision_> 
19  ·······Number·class·for·high·precision·floating·point·number·using·the·GMP 
20 ·········library·mpf_class·implementation.·More... 
21  18  
 19 struct· Dune::MallocAllocator<_T_>::rebind<_U_>
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  20  
33 ·Namespaces21 ·Namespaces
34 namespace· Dune22 namespace· Dune
35  ··········Dune·namespace.23  ··········Dune·namespace.
36  24  
 25 ·Functions
 26 template<class·T·>
 27 constexpr·bool Dune::operator==·(const·MallocAllocator<·T·>·&,·const
 28 ················MallocAllocator<·T·>·&)
 29  ··············check·whether·allocators·are·equivalent·More...
 30  
 31 template<class·T·>
 32 constexpr·bool Dune::operator!=·(const·MallocAllocator<·T·>·&,·const
 33 ················MallocAllocator<·T·>·&)
 34  ··············check·whether·allocators·are·not·equivalent·More...
 35  
37 *****·Detailed·Description·*****36 *****·Detailed·Description·*****
38 Wrapper·for·the·GNU·multiprecision·(GMP)·library.37 Allocators·that·use·malloc/free.
  
39 ===============================================================================38 ===============================================================================
40 ·····Generated·by [doxygen]·1.9.439 ·····Generated·by [doxygen]·1.9.4
54.5 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:·gmpfield.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 62, 119 lines modifiedOffset 62, 138 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">gmpfield.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="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_GMPFIELD_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_GMPFIELD_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="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="l00012"·name="l00012"></a><span·class="lineno">···12</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;cstdlib&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="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;new&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="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;utility&gt;</span></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="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·HAVE_GMP·||·DOXYGEN</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="preprocessor">#include·&lt;gmpxx.h&gt;</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="a00248.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="a00386.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> 
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>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>
90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</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>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>
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>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>
94 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····:·<span·class="keyword">public</span>·mpf_class</div>87 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">public</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="keyword">typedef</span>·mpf_class·Base;</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#a4ad7a4e3301a2a80d24203ba42b33[·...·truncated·by·diffoscope;·len:·18,·SHA:·b6a2ec18ac5181b97e294aba217706c5ece04cec2b1a84d1621e117ea86b574e·...·];</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>97 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····};</div>
98 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">public</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>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>
102 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</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"><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>
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>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>
106 <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>
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:·29,·SHA:·9b511102ec5480ccd4b738d96bce636a1cd35c5f12d0098623bb58c74c5e4704·...·]</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>
108 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······:·Base(str,precision)</div>110 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keywordflow">return</span>·&amp;x;</div>
109 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····{}</div>111 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····}</div>
110 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</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>
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="l00057"·name="l00057"></a><span·class="lineno">···57</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</span>·T·&amp;v·)</div> 
116 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······:·Base(·v,precision·)</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>
117 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····{}</div>118 <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>
118 <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>
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> 
121 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">····</span>{</div>124 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</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>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">deallo[·...·truncated·by·diffoscope;·len:·217,·SHA:·7e031a23aa3f38357dbad1b3a44605ae8d26b87c6282b13c0bca0fcf9f891748·...·]</div>
123 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····}</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>
124 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>128 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····}</div>
125 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··};</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>
126 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</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>
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>133 <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>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>
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">int</span>·precision2·&gt;</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>136 <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="c[·...·truncated·by·diffoscope;·len:·49,·SHA:·5e2e001d542908316f92c4ee5040bd78b6ea72ea30a72199b230d3da411cfa99·...·];</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>
136 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··};</div>138 <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>139 <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>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>
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:·94,·SHA:·188c0d8b386a4be14a0de714b9cace6c5fff9a5f3767147080ecd846b32dd917·...·]</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">constr[·...·truncated·by·diffoscope;·len:·126,·SHA:·ed5238925b470cfe3183ea056b7e3273c247c0d62e414cc2231d7034c6c6c749·...·]</div>
140 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··{</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>
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="l00090"·name="l00090"></a><span·class="lineno">···90</span>····}</div>
Max diff block lines reached; 10800/46625 bytes (23.16%) of diff not shown.
8.88 KB
html2text {}
    
Offset 4, 148 lines modifiedOffset 4, 197 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 gmpfield.hh7 mallocallocator.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_HH14 ·5#ifndef·DUNE_MALLOC_ALLOCATOR_HH
 15 ·6#define·DUNE_MALLOC_ALLOCATOR_HH
16 ·716 ·7
17 ·12#include·<iostream>17 ·8#include·<exception>
 18 ·9#include·<cstdlib>
18 ·13#include·<string>19 ·10#include·<new>
 20 ·11#include·<utility>
 21 ·12
19 ·14#include·<type_traits> 
20 ·15 
21 ·16#if·HAVE_GMP·||·DOXYGEN 
22 ·17 
23 ·18#include·<gmpxx.h> 
24 ·19 
25 ·20#include·<dune/common/promotiontraits.hh> 
26 ·21#include·<dune/common/typetraits.hh> 
27 ·22 
28 ·23namespace·Dune22 ·17namespace·Dune
 23 ·18{
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,24 ·23·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·()·const25 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·{}
 42 ·44
 43 45·pointer·address(reference·x)·const
60 ·68·{44 ·46·{
61 ·69·return·this->get_d();45 ·47·return·&x;
 46 ·48·}
 47 49·const_pointer·address(const_reference·x)·const
 48 ·50·{
 49 ·51·return·&x;
 50 ·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);
62 ·70·}67 ·71·}
 68 ·72
 69 74·size_type·max_size()·const·noexcept
 70 ·75·{
 71 ·76·return·size_type(-1)·/·sizeof(T);
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·};72 ·77·}
70 ·7873 ·78
 74 80·void·construct(pointer·p,·const·T&·val)
71 ·79·template<·unsigned·int·precision1,·unsigned·int·precision2·> 
72 80·struct·PromotionTraits<GMPField<precision1>,·GMPField<precision2>> 
73 ·81·{75 ·81·{
 76 ·82·::new((void*)p)T(val);
74 82·typedef·GMPField<(precision1·>·precision2·?·precision1·:·precision2)> 
75 PromotedType; 
76 ·83·};77 ·83·}
Max diff block lines reached; 5812/9070 bytes (64.08%) of diff not shown.
8.63 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:·dynmatrix.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, 51 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">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 <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·matrix·with·dynamic·numbers·of·rows·and·columns.··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;iostream&gt;</code><br·/>79 <code>#include·&lt;utility&gt;</code><br·/>
80 <code>#include·&lt;initializer_list&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00080_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>80 <code>#include·&lt;<a·class="el"·href="a00251_source.html">dune/common/indices.hh</a>&gt;</code><br·/>
83 <code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/dynvector.hh</a>&gt;</code><br·/> 
84 <code>#include·&lt;<a·class="el"·href="a00053_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/> 
85 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>81 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 82 <code>#include·&lt;<a·class="el"·href="a00287_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>
86 </div>83 </div>
87 <p><a·href="a00191_source.html">Go·to·the·source·code·of·this·file.</a></p>84 <p><a·href="a00191_source.html">Go·to·the·source·code·of·this·file.</a></p>
88 <table·class="memberdecls">85 <table·class="memberdecls">
89 <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>
90 Classes</h2></td></tr>87 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>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>
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>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>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table><table·class="memberdecls">91 </table><table·class="memberdecls">
99 <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>
100 Namespaces</h2></td></tr>93 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>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>
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>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>
103 <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>
104 </table>103 </table>
105 <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>
106 <div·class="textblock"><p·>This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.·</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>
107 </div></div><!--·contents·-->107 </div></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>
113 </html>113 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
1.63 KB
html2text {}
    
Offset 4, 39 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 tuplevector.hh·File·Reference
 9 Provides·the·TupleVector·class·that·augments·std::tuple·by·operator[].·More...
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>10 #include·<tuple>
 11 #include·<utility>
14 #include·<iostream> 
15 #include·<initializer_list> 
16 #include·<dune/common/boundschecking.hh> 
17 #include·<dune/common/exceptions.hh>12 #include·<dune/common/indices.hh>
18 #include·<dune/common/dynvector.hh> 
19 #include·<dune/common/densematrix.hh> 
20 #include·<dune/common/typetraits.hh>13 #include·<dune/common/typetraits.hh>
 14 #include·<dune/common/std/type_traits.hh>
21 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
22 ·Classes16 ·Classes
 17 class· Dune::TupleVector<_T_>
 18  ······A·class·augmenting·std::tuple·by·element·access·via·operator[].·More...
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  19  
30 ·Namespaces20 ·Namespaces
31 namespace· Dune21 namespace· Dune
32  ··········Dune·namespace.22  ··········Dune·namespace.
33  23  
 24 ·Functions
 25 template<class...·T>
 26 constexpr·auto Dune::makeTupleVector·(T·&&...·t)
 27  
34 *****·Detailed·Description·*****28 *****·Detailed·Description·*****
35 This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.29 Provides·the·TupleVector·class·that·augments·std::tuple·by·operator[].
 30 ··Author
 31 ······Carsten·Gräser
  
36 ===============================================================================32 ===============================================================================
37 ·····Generated·by [doxygen]·1.9.433 ·····Generated·by [doxygen]·1.9.4
65.9 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:·dynmatrix.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, 189 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">dynmatrix.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="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>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>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_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_TUPLEVECTOR_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_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;iostream&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>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><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00080.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="a00143.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;<a·class="code"·href="a00251.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="a00014.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="a00236.html">dune/common/dynvector.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="a00287.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="a00053.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="a00386.html">dune/common/typetraits.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>
 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>
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="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="l00020"·name="l00020"></a><span·class="lineno">···20</span>{</div>88 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>89 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</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>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>
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>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>
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>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>
96 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div>94 <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#ab086d3113b035[·...·truncated·by·diffoscope;·len:·37,·SHA:·a07bff4b89bde1f06dcd469413b04a10bd0044eda650c2c06c45b06bc80ab159·...·];</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>
98 <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>
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#a3b63fa35f7a0ce0a293896a6a894486a">row_type</a>;</div> 
100 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</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</a>·&amp;<a·class="code·hl_typedef"·href="a01504.html#aee0cd6d08dc8451f8b8c91da766dce79">const_row_reference</a>;</div> 
103 <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>
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_typede[·...·truncated·by·diffoscope;·len:·69,·SHA:·38bb77a8bf8e15043c3b96ceb84f3dbac37957163b12b5a3bcf1915469873a59·...·];</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>
 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>
107 <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>
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>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K·&gt;</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>
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</[·...·truncated·by·diffoscope;·len:·12,·SHA:·994bff0841eda67bd0f6cb9b67ca213847c67977413f5d509dbaecf5675142ca·...·]&gt;</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="l00050"·name="l00050"></a><span·class="lineno">···50</span>··{</div>110 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</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> 
115 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</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>
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> 
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"·href="a01400.html">DenseMatrix</a>&lt;·DynamicMatrix&lt;K&gt;·&gt;</div> 
118 <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>
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> 
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> 
121 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">public</span>:</div>114 <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>
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>117 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··{</div>
126 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<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<[·...·truncated·by·diffoscope;·len:·9,·SHA:·0e530f06f8a126ca729f853f3f73ec52858387afb3b5ff4eb2186039effc1491·...·]</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>
128 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>120 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</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>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>
131 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····{}</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>
132 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</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>
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> 
135 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····{}</div>128 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··{</div>
136 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</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>
137 <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>
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> 
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">co[·...·truncated·by·diffoscope;·len:·20,·SHA:·0fe29f1945f0ee6354da2f0b6b4ca092838f664a8019b770f5856b9ce1ebb720·...·]</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>
 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>
142 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······*<span·class="keyword">this</span>·=·rhs;</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>
143 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····}</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</[·...·truncated·by·diffoscope;·len:·20,·SHA:·61be200f3d53437a53ef7af3ee90352ac76ebebd490f9d9ed065bcd7bcc530f2·...·]</div>
144 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</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>
145 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="comment">//====·resize·related·methods</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>
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#acba467254[·...·truncated·by·diffoscope;·len:·428,·SHA:·ac3c6befb969fa186d90ba7baa069ee1cb9d50515bf8e571dbe37917c900fb60·...·]</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>
Max diff block lines reached; 14346/55846 bytes (25.69%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
11.2 KB
html2text {}
    
Offset 4, 282 lines modifiedOffset 4, 126 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 dynmatrix.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_DYNMATRIX_HH 
15 ·6#define·DUNE_DYNMATRIX_HH14 ·5#ifndef·DUNE_COMMON_TUPLEVECTOR_HH
 15 ·6#define·DUNE_COMMON_TUPLEVECTOR_HH
16 ·716 ·7
17 ·8#include·<cmath>17 ·8#include·<tuple>
 18 ·9#include·<utility>
 19 ·10
18 ·9#include·<cstddef> 
19 ·10#include·<iostream> 
20 ·11#include·<initializer_list> 
21 ·12 
22 ·13#include·<dune/common/boundschecking.hh> 
23 ·14#include·<dune/common/exceptions.hh>20 ·11#include·<dune/common/indices.hh>
24 ·15#include·<dune/common/dynvector.hh> 
25 ·16#include·<dune/common/densematrix.hh> 
26 ·17#include·<dune/common/typetraits.hh>21 ·12#include·<dune/common/typetraits.hh>
27 ·1822 ·13#include·<dune/common/std/type_traits.hh>
 23 ·14
 24 ·15
 25 ·16
28 ·19namespace·Dune26 ·23namespace·Dune
29 ·20{27 ·24{
30 ·21 
31 ·31·template<·class·K·>·class·DynamicMatrix; 
32 ·3228 ·25
 29 ·26
 30 ·27
33 ·33·template<·class·K·>31 ·33template<class...·T>
34 34·struct·DenseMatVecTraits<·DynamicMatrix<K>·>32 34class·TupleVector·:·public·std::tuple<T...>
35 ·35·{33 ·35{
36 36·typedef·DynamicMatrix<K>·derived_type;34 ·36·using·Base·=·std::tuple<T...>;
37 ·3735 ·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; 
42 ·42 
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 ·47 
48 ·48·template<·class·K·>36 ·38·template<class...·TT>
 37 ·39·using·TupleConstructorDetector·=·decltype(Base(std::declval<TT&&>()...));
 38 ·40
49 49·struct·FieldTraits<·DynamicMatrix<K>·> 
50 ·50·{ 
51 51·typedef·typename·FieldTraits<K>::field_type·field_type; 
52 52·typedef·typename·FieldTraits<K>::real_type·real_type; 
53 ·53·}; 
54 ·54 
55 ·59·template<class·K>39 ·41·template<class...·TT>
56 60·class·DynamicMatrix·:·public·DenseMatrix<·DynamicMatrix<K>·> 
57 ·61·{ 
58 ·62·std::vector<·DynamicVector<K>·>·_data; 
59 ·63·typedef·DenseMatrix<_DynamicMatrix<K>·>·Base;40 ·42·using·hasTupleConstructor·=·Dune::Std::
 41 is_detected<TupleConstructorDetector,·TT...>;
 42 ·43
 43 ·44
60 ·64·public:44 ·45public:
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;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·{}
 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
64 ·6857 ·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)·)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>&)
70 ·76·{}63 ·76·{
71 ·77 
72 80·DynamicMatrix·(std::initializer_list<DynamicVector<K>>·const·&ll) 
73 ·81·:·_data(ll)64 ·77·return·std::get<i>(*this);
 65 ·78·}
 66 ·79
 67 81·static·constexpr·std::size_t·size()
74 ·82·{}68 ·82·{
75 ·8369 ·83·return·std::tuple_size<Base>::value;
76 ·8470 ·84·}
 71 ·85};
 72 ·86
 73 ·87
 74 ·88
77 ·85·template·<class·T,75 ·89template<class...·T>
 76 90constexpr·auto·makeTupleVector(T&&...·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 ·9177 ·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
Max diff block lines reached; 5564/11468 bytes (48.52%) of diff not shown.
10.5 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:·diagonalmatrix.hh·File·Reference</title>8 <title>dune-common:·parametertree.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, 76 lines modifiedOffset 62, 27 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> 
71 ··<div·class="headertitle"><div·class="title">diagonalmatrix.hh·File·Reference</div></div>68 ··<div·class="headertitle"><div·class="title">parametertree.cc·File·Reference</div></div>
72 </div><!--header-->69 </div><!--header-->
73 <div·class="contents">70 <div·class="contents">
  
74 <p>This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.·· 
75 <a·href="#details">More...</a></p> 
76 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>71 <div·class="textblock"><code>#include·&lt;cstdlib&gt;</code><br·/>
77 <code>#include·&lt;cassert&gt;</code><br·/> 
78 <code>#include·&lt;cmath&gt;</code><br·/> 
79 <code>#include·&lt;complex&gt;</code><br·/> 
80 <code>#include·&lt;cstddef&gt;</code><br·/> 
81 <code>#include·&lt;initializer_list&gt;</code><br·/> 
82 <code>#include·&lt;iostream&gt;</code><br·/>72 <code>#include·&lt;iostream&gt;</code><br·/>
 73 <code>#include·&lt;ostream&gt;</code><br·/>
 74 <code>#include·&lt;string&gt;</code><br·/>
 75 <code>#include·&lt;sstream&gt;</code><br·/>
 76 <code>#include·&lt;fstream&gt;</code><br·/>
83 <code>#include·&lt;memory&gt;</code><br·/>77 <code>#include·&lt;set&gt;</code><br·/>
 78 <code>#include·&lt;algorithm&gt;</code><br·/>
84 <code>#include·&lt;<a·class="el"·href="a00080_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/> 
85 <code>#include·&lt;<a·class="el"·href="a00053_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>79 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
87 <code>#include·&lt;<a·class="el"·href="a00164_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/>80 <code>#include·&lt;<a·class="el"·href="a00170_source.html">dune/common/parametertree.hh</a>&gt;</code><br·/>
88 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/fvector.hh</a>&gt;</code><br·/> 
89 <code>#include·&lt;<a·class="el"·href="a00041_source.html">dune/common/genericiterator.hh</a>&gt;</code><br·/> 
90 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
91 </div> 
92 <p><a·href="a00194_source.html">Go·to·the·source·code·of·this·file.</a></p> 
93 <table·class="memberdecls"> 
94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
95 Classes</h2></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="a01460.html">Dune::DiagonalMatrix&lt;·K,·n·&gt;</a></td></tr> 
97 <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> 
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="a01464.html">Dune::FieldTraits&lt;·DiagonalMatrix&lt;·K,·n·&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="a01452.html">Dune::DiagonalMatrixWrapper&lt;·DiagonalMatrixType·&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="a01444.html">Dune::DiagonalRowVectorConst&lt;·K,·n·&gt;</a></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="a01448.html">Dune::DiagonalRowVector&lt;·K,·n·&gt;</a></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">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> 
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="a01472.html">Dune::const_reference&lt;·DiagonalRowVectorConst&lt;·K,·n·&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="a01476.html">Dune::mutable_reference&lt;·DiagonalRowVector&lt;·K,·n·&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="a01480.html">Dune::mutable_reference&lt;·DiagonalRowVectorConst&lt;·K,·n·&gt;·&gt;</a></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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01456.html">Dune::ContainerWrapperIterator&lt;·CW,·T,·R·&gt;</a></td></tr> 
116 <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> 
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="a01484.html">Dune::DenseMatrixAssigner&lt;·DenseMatrix,·DiagonalMatrix&lt;·field,·N·&gt;·&gt;</a></td></tr> 
119 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
120 </table><table·class="memberdecls"> 
121 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> 
122 Namespaces</h2></td></tr> 
123 <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="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="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
126 </table> 
127 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
128 <div·class="textblock"><p·>This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.·</p> 
129 </div></div><!--·contents·-->81 </div></div><!--·contents·-->
130 <!--·start·footer·part·-->82 <!--·start·footer·part·-->
131 <hr·class="footer"/><address·class="footer"><small>83 <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.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
133 </small></address>85 </small></address>
134 </body>86 </body>
135 </html>87 </html>
1.92 KB
html2text {}
    
Offset 4, 60 lines modifiedOffset 4, 21 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 parametertree.cc·File·Reference
7 Classes·|·Namespaces 
8 diagonalmatrix.hh·File·Reference 
9 This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.·More... 
10 #include·<algorithm> 
11 #include·<cassert> 
12 #include·<cmath> 
13 #include·<complex> 
14 #include·<cstddef>8 #include·<cstdlib>
15 #include·<initializer_list> 
16 #include·<iostream>9 #include·<iostream>
 10 #include·<ostream>
 11 #include·<string>
 12 #include·<sstream>
 13 #include·<fstream>
17 #include·<memory>14 #include·<set>
 15 #include·<algorithm>
18 #include·<dune/common/boundschecking.hh> 
19 #include·<dune/common/densematrix.hh> 
20 #include·<dune/common/exceptions.hh>16 #include·<dune/common/exceptions.hh>
21 #include·<dune/common/fmatrix.hh> 
22 #include·<dune/common/fvector.hh> 
23 #include·<dune/common/genericiterator.hh> 
24 #include·<dune/common/typetraits.hh>17 #include·<dune/common/parametertree.hh>
25 Go_to_the_source_code_of_this_file. 
26 ·Classes 
27 ·class· Dune::DiagonalMatrix<_K,_n_> 
28  ·······A·diagonal·matrix·of·static·size.·More... 
29   
30 struct· Dune::FieldTraits<_DiagonalMatrix<_K,_n_>_> 
31   
32 ·class· Dune::DiagonalMatrixWrapper<_DiagonalMatrixType_> 
33   
34 ·class· Dune::DiagonalRowVectorConst<_K,_n_> 
35   
36 ·class· Dune::DiagonalRowVector<_K,_n_> 
37   
38 struct· Dune::const_reference<_DiagonalRowVector<_K,_n_>_> 
39   
40 struct· Dune::const_reference<_DiagonalRowVectorConst<_K,_n_>_> 
41   
42 struct· Dune::mutable_reference<_DiagonalRowVector<_K,_n_>_> 
43   
44 struct· Dune::mutable_reference<_DiagonalRowVectorConst<_K,_n_>_> 
45   
46 ·class· Dune::ContainerWrapperIterator<_CW,_T,_R_> 
47  ·······Iterator·class·for·sparse·vector-like·containers.·More... 
48   
49 struct· Dune::DenseMatrixAssigner<_DenseMatrix,_DiagonalMatrix<_field,_N_>_> 
50   
51 ·Namespaces 
52 namespace· Dune 
53  ··········Dune·namespace. 
54   
55 *****·Detailed·Description·***** 
56 This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size. 
  
57 ===============================================================================18 ===============================================================================
58 ·····Generated·by [doxygen]·1.9.419 ·····Generated·by [doxygen]·1.9.4
16.1 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:·typelist.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 63, 87 lines modifiedOffset 63, 43 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="#typedef-members">Typedefs</a>·&#124;71 <a·href="#typedef-members">Typedefs</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">typelist.hh·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">to_unique_ptr.hh·File·Reference</div></div>
75 </div><!--header-->74 </div><!--header-->
76 <div·class="contents">75 <div·class="contents">
77 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/>
78 <code>#include·&lt;tuple&gt;</code><br·/> 
79 <code>#include·&lt;utility&gt;</code><br·/> 
80 </div>77 </div>
81 <p><a·href="a00197_source.html">Go·to·the·source·code·of·this·file.</a></p>78 <p><a·href="a00197_source.html">Go·to·the·source·code·of·this·file.</a></p>
82 <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> 
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="a03028.html">Dune::MetaType&lt;·T·&gt;</a></td></tr> 
86 <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> 
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="a03032.html">Dune::IsTypeList&lt;·T·&gt;</a></td></tr> 
89 <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> 
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="a03036.html">Dune::IsTypeList&lt;·TypeList&lt;·T...·&gt;·&gt;</a></td></tr> 
92 <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> 
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="a03040.html">Dune::IsEmptyTypeList&lt;·T·&gt;</a></td></tr> 
95 <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> 
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="a03044.html">Dune::TypeListSize&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="a03048.html">Dune::TypeListSize&lt;·TypeList&lt;·T...·&gt;·&gt;</a></td></tr> 
100 <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> 
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="a03052.html">Dune::TypeListElement&lt;·i,·T·&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="a03056.html">Dune::TypeListElement&lt;·i,·TypeList&lt;·T...·&gt;·&gt;</a></td></tr> 
105 <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> 
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="namespaces"·name="namespaces"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
109 Namespaces</h2></td></tr>81 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>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>
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>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>
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 </table><table·class="memberdecls">85 </table><table·class="memberdecls">
114 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
115 Typedefs</h2></td></tr>87 Typedefs</h2></td></tr>
116 <tr·class="memitem:ga7e18d05cb5d1e95f0e7c7409ffe9689f"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr>88 <tr·class="memitem:a9bbde85cc655ad122680398fef8fa5cd"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
117 <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> 
118 <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>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::un[·...·truncated·by·diffoscope;·len:·19,·SHA:·6d54312073f0bec4d2c7d2ae897363d3d2494beea2953bf3874b541e2be04a97·...·]</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>
119 <tr·class="separator:ga7e18d05cb5d1e95f0e7c7409ffe9689f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:a9bbde85cc655ad122680398fef8fa5cd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
120 <tr·class="memitem:ae06816da928c17285e09ccb74357648b"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·i,·class·T·&gt;·</td></tr> 
121 <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> 
122 <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> 
123 <tr·class="separator:ae06816da928c17285e09ccb74357648b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
124 <tr·class="memitem:a05190548d101a946d1cab292cff5fdb9"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·class...·&gt;·class·Target,·class·TL·&gt;·</td></tr> 
125 <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> 
126 <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> 
127 <tr·class="separator:a05190548d101a946d1cab292cff5fdb9"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
128 <tr·class="memitem:a7f31a234ebc9fa02660570324eabde1a"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·class...·&gt;·class·Target,·class...·T&gt;·</td></tr> 
129 <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> 
130 <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> 
131 <tr·class="separator:a7f31a234ebc9fa02660570324eabde1a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
132 <tr·class="memitem:ab8e5f27ee5ff462d88e7eb109f143263"><td·class="memTemplParams"·colspan="2">template&lt;class·NonUniqueTypeList·&gt;·</td></tr> 
133 <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> 
134 <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> 
135 <tr·class="separator:ab8e5f27ee5ff462d88e7eb109f143263"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
136 </table><table·class="memberdecls">92 </table><table·class="memberdecls">
137 <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>
138 Functions</h2></td></tr>94 Functions</h2></td></tr>
139 <tr·class="memitem:a595be06b36830646a9a348d33b7c51c1"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr>95 <tr·class="memitem:a6eaf1fedf356f1f09c981cd6863fbb7b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·class...·Args&gt;·</td></tr>
140 <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> 
141 <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.ht[·...·truncated·by·diffoscope;·len:·55,·SHA:·7efc5613d1ec2f9118b9cf7e6c9e95add635e3e62c404b4929a72e0a634d7028·...·]</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::make[·...·truncated·by·diffoscope;·len:·38,·SHA:·179f86bec6dbf1cd5ed401ca4f6d22d03eb0970a47f2a6ddf6cd566e85c2e5c1·...·]</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>
142 <tr·class="separator:a595be06b36830646a9a348d33b7c51c1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:a6eaf1fedf356f1f09c981cd6863fbb7b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
143 </table>99 </table>
144 </div><!--·contents·-->100 </div><!--·contents·-->
145 <!--·start·footer·part·-->101 <!--·start·footer·part·-->
146 <hr·class="footer"/><address·class="footer"><small>102 <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.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
148 </small></address>104 </small></address>
149 </body>105 </body>
2.54 KB
html2text {}
    
Offset 4, 72 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·|·Typedefs·|·Functions7 Namespaces·|·Typedefs·|·Functions
 8 to_unique_ptr.hh·File·Reference
 9 #include·<memory>
8 typelist.hh·File·Reference 
9 #include·<type_traits> 
10 #include·<tuple> 
11 #include·<utility> 
12 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
13 ·Classes 
14 struct· Dune::MetaType<_T_> 
15  ·······A·type·that·refers·to·another·type.·More... 
16   
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   
36 ·Namespaces11 ·Namespaces
37 namespace· Dune12 namespace· Dune
38  ··········Dune·namespace.13  ··········Dune·namespace.
39  14  
40 ·Typedefs15 ·Typedefs
41 template<class...·T>16 template<class·T·>
 17 using Dune::ToUniquePtr·=·std::unique_ptr<·T·>
 18  ·····Alias·for·std::unique_ptr·introduced·as·transition·wrapper.·More...
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  19  
64 ·Functions20 ·Functions
65 template<class...·T> 
66 constexpr·auto Dune::uniqueTypeList·(TypeList<·T...·>·list) 
67  ··············Remove·duplicates·from·a·Dune::TypeList.·More...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...
68  25  
  
69 ===============================================================================26 ===============================================================================
70 ·····Generated·by [doxygen]·1.9.427 ·····Generated·by [doxygen]·1.9.4
36.6 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:·typelist.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 62, 142 lines modifiedOffset 62, 46 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">typelist.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="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:·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> 
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;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="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_TO_UNIQUE_PTR_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="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>
 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>
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>
 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>
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><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>
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> 
88 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</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> 
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> 
91 <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> 
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> 
96 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> 
97 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</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>
98 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a03036.html">··108</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03032.html">IsTypeList</a>&lt;<a·class="code·hl_typedef"·href="a00404.html#ga7e18d05cb5d1e[·...·truncated·by·diffoscope;·len:·70,·SHA:·2a5d6e014a57261986e28e09a394dbc75d2d3210fc9d540367065e980cdf2285·...·];</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">ToUniquePt[·...·truncated·by·diffoscope;·len:·47,·SHA:·ab573cbee27857384de3997fd8962d915f9ca8d144a2fc60724297912bdf086d·...·];</div>
99 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</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>
100 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> 
101 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> 
102 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
103 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno"><a·class="line"·href="a03040.html">··121</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03040.html">IsEmptyTypeList</a>·:·std::is_same&lt;T,·TypeList&lt;&gt;·&gt;·{};</div> 
104 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div> 
105 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div> 
106 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div>90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··{</div>
107 <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>·T&gt;</div> 
108 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno"><a·class="line"·href="a03044.html">··126</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03044.html">TypeListSize</a>·{};</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>
109 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div>93 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
110 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·T&gt;</div> 
111 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno"><a·class="line"·href="a03048.html">··137</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03044.html">TypeListSize</a>&lt;<a·class="code·hl_typedef"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList</a>&lt;T...&gt;&gt;·:·std::integral_constant&lt;std::size_t,·sizeof...(T)&gt;·{};</div> 
112 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>·</div> 
113 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>·</div> 
114 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>·</div> 
115 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>··<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·i,·<span·class="keyword">class</span>·T&gt;</div> 
116 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno"><a·class="line"·href="a03052.html">··142</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03052.html">TypeListElement</a>·{};</div> 
117 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>·</div> 
118 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>··<span·class="keyword">template</span>&lt;std::size_t·i,·<span·class="keyword">class</span>...·T&gt;</div> 
119 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno"><a·class="line"·href="a03056.html">··150</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03052.html">TypeListElement</a>&lt;i,·<a·class="code·hl_typedef"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList</a>&lt;T...&gt;&gt;</div> 
120 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>··{</div> 
121 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno"><a·class="line"·href="a03056.html#a9fb580f946834896c389e6c04d27675f">··157</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a03056.html#a9fb580f946834896c389e6c04d27675f">type</a>·=·<span·class="keyword">typename</span>·std::tuple_element&lt;i,·std::tuple&lt;T...&gt;&gt;::type;</div> 
122 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>·</div> 
123 <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno"><a·class="line"·href="a03056.html#ae91efdaa72ed01633da2f8fa2185408a">··164</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a03056.html#ae91efdaa72ed01633da2f8fa2185408a">Type</a>·=·<a·class="code·hl_typedef"·href="a03056.html#a9fb580f946834896c389e6c04d27675f">type</a>;</div> 
124 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno">··165</span>··};</div> 
125 <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>·</div> 
126 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>··<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·i,·<span·class="keyword">class</span>·T&gt;</div> 
127 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno"><a·class="line"·href="a00425.html#ae06816da928c17285e09ccb74357648b">··171</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00425.html#ae06816da928c17285e09ccb74357648b">TypeListEntry_t</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a03052.html">TypeListElement&lt;i,·T&gt;::type</a>;</div> 
128 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>·</div> 
129 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno">··173</span>··<span·class="keyword">namespace·</span>Impl·{</div> 
130 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>·</div> 
131 <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno">··175</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...&gt;·<span·class="keyword">class·</span>Target,·<span·class="keyword">class·</span>ToDoList,·<span·class="keyword">class</span>...·Processed&gt;</div> 
132 <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</span>····<span·class="keyword">struct·</span>UniqueTypesHelper;</div> 
133 <div·class="line"><a·id="l00177"·name="l00177"></a><span·class="lineno">··177</span>·</div> 
134 <div·class="line"><a·id="l00178"·name="l00178"></a><span·class="lineno">··178</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...&gt;·<span·class="keyword">class·</span>Target,·<span·class="keyword">class</span>...·Processed&gt;</div> 
135 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno">··179</span>····<span·class="keyword">struct·</span>UniqueTypesHelper&lt;Target,·<a·class="code·hl_typedef"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList</a>&lt;&gt;,·Processed...&gt;</div> 
136 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno">··180</span>····{</div> 
137 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</span>······<span·class="keyword">using·</span>type·=·Target&lt;Processed...&gt;;</div> 
138 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno">··182</span>····};</div> 
139 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>·</div> 
140 <div·class="line"><a·id="l00184"·name="l00184"></a><span·class="lineno">··184</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...&gt;·<span·class="keyword">class·</span>Target,·<span·class="keyword">class·</span>T0,·<span·class="keyword">class</span>...·T,·<span·class="keyword">class</span>...·Processed&gt;</div> 
141 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno">··185</span>····<span·class="keyword">struct·</span>UniqueTypesHelper&lt;Target,·<a·class="code·hl_typedef"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList</a>&lt;T0,·T...&gt;,·Processed...&gt;</div> 
142 <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span>····{</div> 
143 <div·class="line"><a·id="l00187"·name="l00187"></a><span·class="lineno">··187</span>······<span·class="keyword">using·</span>type·=·std::conditional_t&lt;</div> 
144 <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno">··188</span>········std::disjunction&lt;std::is_same&lt;T0,·Processed&gt;...&gt;::value,</div> 
145 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>········<span·class="keyword">typename</span>·UniqueTypesHelper&lt;Target,·<a·class="code·hl_typedef"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList</a>&lt;T...&gt;,·Processed...&gt;::type,</div> 
146 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>········<span·class="keyword">typename</span>·UniqueTypesHelper&lt;Target,·<a·class="code·hl_typedef"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList</a>&lt;T...&gt;,·T0,·Processed...&gt;::type&gt;;</div> 
147 <div·class="line"><a·id="l00191"·name="l00191"></a><span·class="lineno">··191</span>····};</div> 
148 <div·class="line"><a·id="l00192"·name="l00192"></a><span·class="lineno">··192</span>·</div> 
149 <div·class="line"><a·id="l00193"·name="l00193"></a><span·class="lineno">··193</span>····<span·class="comment">//·Helper·for·unpacking·Dune::TypeList</span></div> 
150 <div·class="line"><a·id="l00194"·name="l00194"></a><span·class="lineno">··194</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...&gt;·<span·class="keyword">class·</span>Target,·<span·class="keyword">class·</span>TL&gt;</div> 
151 <div·class="line"><a·id="l00195"·name="l00195"></a><span·class="lineno">··195</span>····<span·class="keyword">struct·</span>UnpackTypeList;</div> 
152 <div·class="line"><a·id="l00196"·name="l00196"></a><span·class="lineno">··196</span>·</div> 
153 <div·class="line"><a·id="l00197"·name="l00197"></a><span·class="lineno">··197</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...&gt;·<span·class="keyword">class·</span>Target,·<span·class="keyword">class</span>...·T&gt;</div> 
154 <div·class="line"><a·id="l00198"·name="l00198"></a><span·class="lineno">··198</span>····<span·class="keyword">struct·</span>UnpackTypeList&lt;Target,·<a·class="code·hl_namespace"·href="a00425.html">Dune</a>::<a·class="code·hl_typedef"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList</a>&lt;T...&gt;&gt;</div> 
155 <div·class="line"><a·id="l00199"·name="l00199"></a><span·class="lineno">··199</span>····{</div> 
156 <div·class="line"><a·id="l00200"·name="l00200"></a><span·class="lineno">··200</span>······<span·class="keyword">using·</span>type·=·Target&lt;T...&gt;;</div> 
157 <div·class="line"><a·id="l00201"·name="l00201"></a><span·class="lineno">··201</span>····};</div> 
158 <div·class="line"><a·id="l00202"·name="l00202"></a><span·class="lineno">··202</span>·</div> 
159 <div·class="line"><a·id="l00203"·name="l00203"></a><span·class="lineno">··203</span>··}·<span·class="comment">//·namespace·Impl</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>
160 <div·class="line"><a·id="l00204"·name="l00204"></a><span·class="lineno">··204</span>·</div> 
161 <div·class="line"><a·id="l00209"·name="l00209"></a><span·class="lineno">··209</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...&gt;·<span·class="keyword">class·</span>Target,·<span·class="keyword">class·</span>TL&gt;</div> 
162 <div·class="line"><a·id="l00210"·name="l00210"></a><span·class="lineno"><a·class="line"·href="a00425.html#a05190548d101a946d1cab292cff5fdb9">··210</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00425.html#a05190548d101a946d1cab292cff5fdb9">UnpackTypeList_t</a>·=·<span·class="keyword">typename</span>·Impl::UnpackTypeList&lt;Target,·TL&gt;::type;</div> 
163 <div·class="line"><a·id="l00211"·name="l00211"></a><span·class="lineno">··211</span>·</div> 
164 <div·class="line"><a·id="l00219"·name="l00219"></a><span·class="lineno">··219</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...&gt;·<span·class="keyword">class·</span>Target,·<span·class="keyword">class</span>...·T&gt;</div> 
Max diff block lines reached; 5358/31101 bytes (17.23%) of diff not shown.
6.14 KB
html2text {}
    
Offset 4, 183 lines modifiedOffset 4, 51 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 typelist.hh7 to_unique_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_TYPELIST_HH 
15 ·6#define·DUNE_COMMON_TYPELIST_HH 
16 ·7 
17 ·8#include·<type_traits> 
18 ·9#include·<tuple> 
19 ·10#include·<utility> 
20 ·1114 ·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
21 ·12namespace·Dune·{23 ·13namespace·Dune
 24 ·14{
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>...>; 
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 
41 ·120·template<class·T>25 ·17·template·<class·T>
 26 18·using·ToUniquePtr·[[deprecated]]·=·std::unique_ptr<T>;
42 121·struct·IsEmptyTypeList·:·std::is_same<T,·TypeList<>·>·{}; 
43 ·122 
44 ·123 
45 ·124 
46 ·125·template<class·T> 
47 126·struct·TypeListSize·{}; 
48 ·127 
49 ·136·template<class...·T> 
50 137·struct·TypeListSize<TypeList<T...>>·:·std::integral_constant<std::size_t, 
51 sizeof...(T)>·{}; 
52 ·138 
53 ·13927 ·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
54 ·140 
55 ·141·template<std::size_t·i,·class·T> 
56 142·struct·TypeListElement·{}; 
57 ·143 
58 ·149·template<std::size_t·i,·class...·T> 
59 150·struct·TypeListElement<i,·TypeList<T...>> 
60 ·151·{ 
61 157·using·type·=·typename·std::tuple_element<i,·std::tuple<T...>>::type; 
62 ·158 
63 164·using·Type·=·type; 
64 ·165·}; 
65 ·166 
66 ·170·template<std::size_t·i,·class·T> 
67 171·using·TypeListEntry_t·=·typename·TypeListElement<i,_T>::type; 
68 ·172 
69 ·173·namespace·Impl·{ 
70 ·174 
71 ·175·template<template<class...>·class·Target,·class·ToDoList,·class... 
72 Processed> 
73 ·176·struct·UniqueTypesHelper; 
74 ·177 
75 ·178·template<template<class...>·class·Target,·class...·Processed> 
76 ·179·struct·UniqueTypesHelper<Target,·TypeList<>,·Processed...> 
77 ·180·{ 
78 ·181·using·type·=·Target<Processed...>; 
79 ·182·}; 
80 ·183 
81 ·184·template<template<class...>·class·Target,·class·T0,·class...·T,·class... 
82 Processed> 
83 ·185·struct·UniqueTypesHelper<Target,·TypeList<T0,·T...>,·Processed...> 
84 ·186·{ 
85 ·187·using·type·=·std::conditional_t< 
86 ·188·std::disjunction<std::is_same<T0,·Processed>...>::value, 
87 ·189·typename·UniqueTypesHelper<Target,·TypeList<T...>,·Processed...>::type, 
88 ·190·typename·UniqueTypesHelper<Target,·TypeList<T...>,·T0,·Processed...>:: 
89 type>; 
90 ·191·}; 
91 ·192 
92 ·193·//·Helper·for·unpacking·Dune::TypeList 
93 ·194·template<template<class...>·class·Target,·class·TL> 
94 ·195·struct·UnpackTypeList; 
95 ·196 
96 ·197·template<template<class...>·class·Target,·class...·T> 
97 ·198·struct·UnpackTypeList<Target,·Dune::TypeList<T...>> 
98 ·199·{ 
99 ·200·using·type·=·Target<T...>; 
100 ·201·}; 
101 ·202 
102 ·203·}·//·namespace·Impl 
103 ·204 
104 ·209·template<template<class...>·class·Target,·class·TL> 
105 210·using·UnpackTypeList_t·=·typename·Impl::UnpackTypeList<Target,·TL>::type; 
106 ·211 
107 ·219·template<template<class...>·class·Target,·class...·T> 
108 220·using·UniqueTypes_t·=·typename·Impl::UniqueTypesHelper<Target, 
109 TypeList<T...>>::type; 
110 ·221 
Max diff block lines reached; 2050/6266 bytes (32.72%) of diff not shown.
23.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a00200.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:·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 63, 64 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;
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">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>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·/>
 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="a00023_source.html">dune/common/hybridutilities.hh</a>&gt;</code><br·/>
 83 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 84 </div>
76 <p><a·href="a00200_source.html">Go·to·the·source·code·of·this·file.</a></p>85 <p><a·href="a00200_source.html">Go·to·the·source·code·of·this·file.</a></p>
77 <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">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">
78 <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>
79 Namespaces</h2></td></tr>150 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>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>
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>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>
82 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>153 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table><table·class="memberdecls">154 </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="a00200.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="a00200.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>155 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
91 Functions</h2></td></tr>156 Functions</h2></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,·i[·...·truncated·by·diffoscope;·len:·30,·SHA:·ca8d670f8c1efa8aa973188c6e507ac7a3ab4a8dd3f570a5afb48c91e82e7440·...·]</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>
93 <tr·class="separator:aa76832a917330622cdf531c2e6375f4c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>160 <tr·class="separator:gaeeffbe0f382283c9a2314a3947e54be9"><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>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>
96 <tr·class="separator:a3b55a8ff91fc039845da40a86486a007"><td·class="memSeparator"·colspan="2">&#160;</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>
Max diff block lines reached; 1555/19381 bytes (8.02%) of diff not shown.
4.73 KB
html2text {}
    
Offset 4, 38 lines modifiedOffset 4, 110 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 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>
 15 #include·<dune/common/hybridutilities.hh>
 16 #include·<dune/common/typetraits.hh>
9 Go_to_the_source_code_of_this_file.17 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  
10 ·Namespaces78 ·Namespaces
11 namespace· Dune79 namespace· Dune
12  ··········Dune·namespace.80  ··········Dune·namespace.
13  81  
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 ·Functions82 ·Functions
21 void Dune::doAssertCallOnce·(const·char·*file,·int·line,·const·char·*function)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  
 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...)))
22  104  
 105 *****·Detailed·Description·*****
 106 Contains·utility·classes·which·can·be·used·with·std::tuple.
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   
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. 
  
Max diff block lines reached; 35/4822 bytes (0.73%) of diff not shown.
94.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a00200_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:·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, 50 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">stdthread.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="a00200.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="a00200.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_STDTHREAD_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_COMMON_STDTHREAD_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="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;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="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>
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>·</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"[·...·truncated·by·diffoscope;·len:·147,·SHA:·ba32cef212993822de6667100f5945b11d598b2ea810ed8ddfb29ebe4258ccd1·...·]</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="a00023.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="a00014.html">dune/common/typetraits.hh</a>&gt;</span></div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</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>
85 <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>
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>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>
88 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</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>
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> 
94 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>93 <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="a00200.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>94 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
98 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>}·<span·class="comment">//·namespace·Dune</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>
 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>
 97 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</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_const&lt;T&gt;::type&amp;·<a·class="code·hl_typedef"·href="a00403.html#gaf3eb742968041769424b84691408fb73">ParameterType</a>;</div>
99 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>101 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··};</div>
 102 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</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>
 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>
 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>
 117 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··};</div>
 118 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</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>
 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>
 137 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··{</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#gae36d1b293a8e0e6a505be040434331e9">Type</a>;</div>
 139 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</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>
 161 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>··}</div>
 162 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span><span·class="preprocessor">#endif</span></div>
Max diff block lines reached; 5947/80132 bytes (7.42%) of diff not shown.
16.4 KB
html2text {}
    
Offset 4, 54 lines modifiedOffset 4, 517 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 stdthread.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_COMMON_STDTHREAD_HH 
16 ·7#define·DUNE_COMMON_STDTHREAD_HH15 ·6#ifndef·DUNE_TUPLE_UTILITY_HH
 16 ·7#define·DUNE_TUPLE_UTILITY_HH
17 ·817 ·8
 18 ·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>
 24 ·15#include·<dune/common/typetraits.hh>
 25 ·16
18 ·9namespace·Dune26 ·17namespace·Dune·{
19 ·10{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·{
 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;
 41 ·53·};
 42 ·54
 43 ·55·template<class·T>
 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 ·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
 59 ·78·template<class·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;
20 ·1174 ·117
21 ·12·//·used·internally·by·assertCallOnce·for·the·actual·check 
22 ·13·void·doAssertCallOnce(const·char·*file,·int·line,·const·char·*function);75 ·118·template<template·<class>·class·TE,·class...·Args>
 76 119·struct·ForEachType<TE,·std::tuple<Args...>·>
 77 ·120·{
 78 121·typedef·std::tuple<typename·TE<Args>::Type...>·Type;
 79 ·122·};
 80 ·123
 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·}
 108 ·145#endif
23 ·14109 ·146
24 ·17 
25 35·inline·void·assertCallOnce(const·char·*file·=·nullptr,·int·line·=·-1, 
26 ·36·const·char·*function·=·nullptr)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);
 115 ·190·}
 116 ·191
 117 ·224·template<template<class>·class·TE,·class...·Args>
 118 225·class·TransformTupleFunctor
 119 ·226·{
 120 ·227·mutable·std::tuple<Args&...>·tup;
 121 ·228
 122 ·229·template<class·T,·std::size_t...·I>
Max diff block lines reached; 2498/16812 bytes (14.86%) of diff not shown.
9.29 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:·bitsetvector.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 65, 58 lines modifiedOffset 65, 39 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">bitsetvector.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">singleton.hh·File·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.··75 <p>Useful·wrapper·for·creating·singletons.··
76 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
77 <div·class="textblock"><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="a00080_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00041_source.html">dune/common/genericiterator.hh</a>&gt;</code><br·/> 
83 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00377_source.html">dune/common/visibility.hh</a>&gt;</code><br·/>
84 </div>78 </div>
85 <p><a·href="a00203_source.html">Go·to·the·source·code·of·this·file.</a></p>79 <p><a·href="a00203_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="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> 
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="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> 
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="a01332.html">Dune::const_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&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="a01336.html">Dune::const_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&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="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>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>
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>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>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 </table><table·class="memberdecls">86 </table><table·class="memberdecls">
107 <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>
108 Namespaces</h2></td></tr>88 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>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>
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>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>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 </table>92 </table>
113 <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>
114 <div·class="textblock"><p·>Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.·</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>
115 </div></div><!--·contents·-->96 </div></div><!--·contents·-->
116 <!--·start·footer·part·-->97 <!--·start·footer·part·-->
117 <hr·class="footer"/><address·class="footer"><small>98 <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.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
119 </small></address>100 </small></address>
120 </body>101 </body>
121 </html>102 </html>
1.85 KB
html2text {}
    
Offset 5, 49 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 bitsetvector.hh·File·Reference9 singleton.hh·File·Reference
 10 Useful·wrapper·for·creating·singletons.·More...
10 Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans. 
11 More... 
12 #include·<vector> 
13 #include·<bitset> 
14 #include·<iostream> 
15 #include·<algorithm> 
16 #include·<dune/common/boundschecking.hh> 
17 #include·<dune/common/genericiterator.hh>11 #include·<dune/common/visibility.hh>
18 #include·<dune/common/exceptions.hh> 
19 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
20 ·Classes13 ·Classes
 14 class· Dune::Singleton<_T_>
 15  ······An·adapter·to·turn·a·class·into·a·singleton.·More...
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... 
24   
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... 
28   
29 struct· Dune::const_reference<_BitSetVectorReference<_block_size,_Alloc_>_> 
30   
31 struct· Dune::const_reference<_BitSetVectorConstReference<_block_size,_Alloc_> 
32 ·········> 
33   
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... 
41  16  
42 ·Namespaces17 ·Namespaces
43 namespace· Dune18 namespace· Dune
44  ··········Dune·namespace.19  ··········Dune·namespace.
45  20  
46 *****·Detailed·Description·*****21 *****·Detailed·Description·*****
47 Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.22 Useful·wrapper·for·creating·singletons.
 23 Inspired·by·the·article·CodeGuru:_A_Leak-Free_Singleton_class
  
48 ===============================================================================24 ===============================================================================
49 ·····Generated·by [doxygen]·1.9.425 ·····Generated·by [doxygen]·1.9.4
175 KB
./usr/share/doc/libdune-common-doc/doxygen/a00203_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:·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, 653 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">bitsetvector.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="a00203.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="a00203.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_SINGLETON_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_SINGLETON_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> 
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><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;algorithm&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="a00080.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="a00041.html">dune/common/genericiterator.hh</a>&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="a00377.html">dune/common/visibility.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="a00143.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>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</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>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>
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> 
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="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> 
94 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{</div>81 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>{</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>
95 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">protected</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>
96 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>88 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</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> 
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> 
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>·</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>89 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</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="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="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
113 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="comment">//·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>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>
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>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="a00377.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<span·class="keyword">static</span>·T&amp;·<a·class="code·hl_function"·href="a02840.html#ac74959a5e2b2dfecd5406a931dc45aa0">instance</a>()</div>
124 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>95 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····{</div>
125 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><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>96 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······<span·class="keyword">static</span>·T·instance_;</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>97 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keywordflow">return</span>·instance_;</div>
130 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</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>
 101 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>}·<span·class="comment">//·namespace·Dune</span></div>
131 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>102 <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> 
151 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> 
152 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a01328.html#addd5977eecfa87e396fee617e8b55392">··103</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01328.html#addd5977eecfa87e396fee617e8b55392">any</a>()<span·class="keyword">·const</span></div> 
153 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="keyword">····</span>{</div> 
154 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01328.html#ace0db548954a0423a0440a39af1a1cc1">count</a>();</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>·</div> 
157 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a01328.html#ad732ab8a912109a534404162eb27528f">··109</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01328.html#ad732ab8a912109a534404162eb27528f">none</a>()<span·class="keyword">·const</span></div> 
158 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="keyword">····</span>{</div> 
159 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>······<span·class="keywordflow">return</span>·!·<a·class="code·hl_function"·href="a01328.html#addd5977eecfa87e396fee617e8b55392">any</a>();</div> 
160 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····}</div> 
Max diff block lines reached; 36589/149348 bytes (24.50%) of diff not shown.
29.1 KB
html2text {}
    
Offset 4, 940 lines modifiedOffset 4, 68 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 bitsetvector.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·-*-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_BLOCK_BITFIELD_HH 
15 ·6#define·DUNE_BLOCK_BITFIELD_HH14 ·5#ifndef·DUNE_SINGLETON_HH
 15 ·6#define·DUNE_SINGLETON_HH
16 ·716 ·7
17 ·12#include·<vector> 
18 ·13#include·<bitset> 
19 ·14#include·<iostream> 
20 ·15#include·<algorithm> 
21 ·16 
22 ·17#include·<dune/common/boundschecking.hh> 
23 ·18#include·<dune/common/genericiterator.hh>17 ·8#include·<dune/common/visibility.hh>
 18 ·9
24 ·19#include·<dune/common/exceptions.hh> 
25 ·20 
26 ·21namespace·Dune·{19 ·17namespace·Dune
 20 ·18{
 21 ·54·template<class·T>
 22 55·class·Singleton
 23 ·56·{
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:24 ·57·protected:
 25 ·58·/*·@brief·Protected·constructor.·*/
 26 59·Singleton()·=·default;
 27 ·60
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_) 
43 ·47·{ 
44 ·48·DUNE_ASSERT_BOUNDS(blockBitField_.size()·>·static_cast<size_t> 
45 (block_number_)); 
46 ·49·} 
47 ·50 
48 52·BitSetVectorConstReference&·operator=(const·BitSetVectorConstReference·&·b); 
49 ·53 
50 ·54·public:28 ·61·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 ·6229 ·62
59 64·bitset·operator<<(size_type·n)·const30 63·Singleton(const·Singleton&)·=·delete;
 31 64·void·operator=(const·Singleton&)·=·delete;
60 ·65·{32 ·65
 33 70·DUNE_EXPORT·static·T&·instance()
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·{34 ·71·{
 35 ·72·static·T·instance_;
 36 ·73·return·instance_;
68 ·74·bitset·b·=·*this; 
69 ·75·b·>>=·n; 
70 ·76·return·b; 
71 ·77·}37 ·74·}
 38 ·75·};
 39 ·76
 40 ·77}·//·namespace·Dune
72 ·7841 ·78
 42 ·79#endif
 43 visibility.hh
 44 Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.
 45 DUNE_EXPORT
 46 #define·DUNE_EXPORT
 47 Export·a·symbol·as·part·of·the·public·ABI.
 48 Definition:·visibility.hh:20
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 
93 103·bool·any()·const 
94 ·104·{ 
95 ·105·return·count(); 
96 ·106·} 
97 ·107 
98 109·bool·none()·const 
99 ·110·{ 
100 ·111·return·!·any(); 
101 ·112·} 
102 ·113 
103 115·bool·all()·const 
Max diff block lines reached; 14009/29779 bytes (47.04%) of diff not shown.
23.1 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:·fvector.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, 83 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">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">bigunsignedint.hh·File·Reference</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>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;array&gt;</code><br·/>79 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 80 <code>#include·&lt;iostream&gt;</code><br·/>
79 <code>#include·&lt;cmath&gt;</code><br·/>81 <code>#include·&lt;limits&gt;</code><br·/>
80 <code>#include·&lt;cstddef&gt;</code><br·/>82 <code>#include·&lt;cstdint&gt;</code><br·/>
81 <code>#include·&lt;cstdlib&gt;</code><br·/>83 <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;type_traits&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="a00386_source.html">typetraits.hh</a>&quot;</code><br·/> 
88 <code>#include·&quot;<a·class="el"·href="a00143_source.html">exceptions.hh</a>&quot;</code><br·/>85 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
89 <code>#include·&quot;<a·class="el"·href="a00083_source.html">ftraits.hh</a>&quot;</code><br·/> 
90 <code>#include·&quot;<a·class="el"·href="a00125_source.html">densevector.hh</a>&quot;</code><br·/> 
91 <code>#include·&quot;<a·class="el"·href="a00080_source.html">boundschecking.hh</a>&quot;</code><br·/> 
92 <code>#include·&lt;<a·class="el"·href="a00290_source.html">dune/common/math.hh</a>&gt;</code><br·/>86 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/hash.hh</a>&gt;</code><br·/>
93 <code>#include·&lt;<a·class="el"·href="a00248_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/> 
94 </div>87 </div>
95 <p><a·href="a00206_source.html">Go·to·the·source·code·of·this·file.</a></p>88 <p><a·href="a00206_source.html">Go·to·the·source·code·of·this·file.</a></p>
96 <table·class="memberdecls">89 <table·class="memberdecls">
97 <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>
98 Classes</h2></td></tr>91 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>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>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <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>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>
102 <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>
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>99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 </table><table·class="memberdecls">100 </table><table·class="memberdecls">
114 <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>
115 Namespaces</h2></td></tr>102 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>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>
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>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>
118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <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>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>
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>107 <tr·class="memdesc:a00424"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">STL·namespace.·<br·/></td></tr>
121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
122 </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">
123 <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>
124 Functions</h2></td></tr>116 Functions</h2></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>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>
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>119 <tr·class="separator:ga49e9aab7260e82c77e7fd410ecb339c1"><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>·[·...·truncated·by·diffoscope;·len:·112,·SHA:·21964edfb2675d6368f5e00389cd2143996bb60f3bb6b8587de9bb4ec61cd224·...·]</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>
136 <tr·class="separator:abe1edb9dee17e22e019dcc99fda44e7f"><td·class="memSeparator"·colspan="2">&#160;</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>
 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>
 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>
 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>
Max diff block lines reached; 667/19074 bytes (3.50%) of diff not shown.
4.38 KB
html2text {}
    
Offset 4, 75 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 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... 
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>10 #include·<algorithm>
 11 #include·<iostream>
 12 #include·<limits>
 13 #include·<cstdint>
 14 #include·<cstdlib>
21 #include·"typetraits.hh"15 #include·<type_traits>
 16 #include·<dune/common/exceptions.hh>
22 #include·"exceptions.hh" 
23 #include·"ftraits.hh" 
24 #include·"densevector.hh" 
25 #include·"boundschecking.hh" 
26 #include·<dune/common/math.hh>17 #include·<dune/common/hash.hh>
27 #include·<dune/common/promotiontraits.hh> 
28 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
29 ·Classes19 ·Classes
 20 ·class· Dune::bigunsignedint<_k_>
 21  ·······Portable·very·large·unsigned·integers.·More...
30 struct· Dune::DenseMatVecTraits<_FieldVector<_K,_SIZE_>_> 
31   
32 struct· Dune::FieldTraits<_FieldVector<_K,_SIZE_>_> 
33  22  
 23 struct· Dune::IsNumber<_bigunsignedint<_k_>_>
 24  ·······Declare·big·unsigned·int·is·a·number.·More...
34 struct· Dune::IsFieldVectorSizeCorrect<_C,_SIZE_> 
35  ·······TMP·to·check·the·size·of·a·DenseVectors·statically,·if·possible. 
36 ·········More... 
37  25  
 26 struct· std::numeric_limits<_Dune::bigunsignedint<_k_>_>
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  27  
45 ·Namespaces28 ·Namespaces
46 namespace· Dune29 namespace· Dune
47  ··········Dune·namespace.30  ··········Dune·namespace.
48  31  
49 namespace· Dune::MathOverloads 
50  ··········namespace·for·customization·of·math·functions·with·Dune-Semantics32 namespace· std
 33  ··········STL·namespace.
 34  
 35 ·Macros
 36 #define DUNE_BINOP(OP)
51  37  
52 ·Functions38 ·Functions
53 template<class·K·,·int·SIZE> 
54 auto Dune::MathOverloads::isFinite·(const·FieldVector<·K,·SIZE·>·&b, 
55 ······PriorityTag<·2·>,·ADLTag)39 template<int·k>
 40 ·····std::ostream·& Dune::operator<<·(std::ostream·&s,·const·bigunsignedint<·k
 41 ·····················>·&x)
56  42  
57 template<class·K·,·int·SIZE> 
58 bool Dune::MathOverloads::isInf·(const·FieldVector<·K,·SIZE·>·&b,·PriorityTag< 
59 ······2·>,·ADLTag)43 template<int·k>
 44 bigunsignedint<·k·> Dune::operator+·(const·bigunsignedint<·k·>·&x,·std::
 45 ·····················uintmax_t·y)
60  46  
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)47 template<int·k>
 48 bigunsignedint<·k·> Dune::operator-·(const·bigunsignedint<·k·>·&x,·std::
 49 ·····················uintmax_t·y)
64  50  
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)51 template<int·k>
 52 bigunsignedint<·k·> Dune::operator*·(const·bigunsignedint<·k·>·&x,·std::
 53 ·····················uintmax_t·y)
 54  
 55 template<int·k>
 56 bigunsignedint<·k·> Dune::operator/·(const·bigunsignedint<·k·>·&x,·std::
 57 ·····················uintmax_t·y)
 58  
 59 template<int·k>
 60 bigunsignedint<·k·> Dune::operator%·(const·bigunsignedint<·k·>·&x,·std::
 61 ·····················uintmax_t·y)
 62  
 63 template<int·k>
 64 bigunsignedint<·k·> Dune::operator+·(std::uintmax_t·x,·const·bigunsignedint<·k
 65 ·····················>·&y)
 66  
 67 template<int·k>
 68 bigunsignedint<·k·> Dune::operator-·(std::uintmax_t·x,·const·bigunsignedint<·k
 69 ·····················>·&y)
 70  
 71 template<int·k>
 72 bigunsignedint<·k·> Dune::operator*·(std::uintmax_t·x,·const·bigunsignedint<·k
 73 ·····················>·&y)
 74  
 75 template<int·k>
 76 bigunsignedint<·k·> Dune::operator/·(std::uintmax_t·x,·const·bigunsignedint<·k
 77 ·····················>·&y)
 78  
 79 template<int·k>
 80 bigunsignedint<·k·> Dune::operator%·(std::uintmax_t·x,·const·bigunsignedint<·k
 81 ·····················>·&y)
68  82  
69 *****·Detailed·Description·*****83 *****·Detailed·Description·*****
70 Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a 
71 compile-time·given·size.84 Portable·very·large·unsigned·integers.
 85 ··Author
 86 ······Peter·Bastian
  
Max diff block lines reached; 35/4461 bytes (0.78%) of diff not shown.
294 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:·fvector.hh·Source·File</title>8 <title>dune-common:·bigunsignedint.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, 734 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">bigunsignedint.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_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_BIGUNSIGNEDINT_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>
 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;algorithm&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>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>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;cstdlib&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>
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>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;initializer_list&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="a00341.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;algorithm&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="a00185.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>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="a00386.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="a00143.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="a00083.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="a00125.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="a00080.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="a00290.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="a00248.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>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>
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>89 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</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_typed[·...·truncated·by·diffoscope;·len:·71,·SHA:·7b188e30af0b2c7c501ce6a867623a064b3287aec1d30ed33dee4884f8a28bc1·...·]</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>
108 <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>
 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="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>109 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</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>110 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 111 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">protected</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>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>
116 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</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="keywordflow">return</span>·big_unsigned_int.digit[i];</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>116 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</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>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>
 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>·</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>
Max diff block lines reached; 228425/252901 bytes (90.32%) of diff not shown.
47.4 KB
html2text {}
    
Offset 4, 769 lines modifiedOffset 4, 923 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 fvector.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_FVECTOR_HH 
15 ·6#define·DUNE_FVECTOR_HH 
16 ·7 
17 ·8#include·<array>14 ·5
 15 ·6#ifndef·DUNE_BIGUNSIGNEDINT_HH
 16 ·7#define·DUNE_BIGUNSIGNEDINT_HH
 17 ·8
18 ·9#include·<cmath>18 ·9#include·<algorithm>
 19 ·10#include·<iostream>
 20 ·11#include·<limits>
19 ·10#include·<cstddef>21 ·12#include·<cstdint>
20 ·11#include·<cstdlib>22 ·13#include·<cstdlib>
 23 ·14#include·<type_traits>
 24 ·15#include·<dune/common/exceptions.hh>
 25 ·16#include·<dune/common/hash.hh>
21 ·12#include·<complex> 
22 ·13#include·<cstring> 
23 ·14#include·<utility> 
24 ·15#include·<initializer_list> 
25 ·16#include·<algorithm> 
26 ·1726 ·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·{27 ·24namespace·Dune
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>·>28 ·25{
 29 ·26#if·HAVE_MPI
 30 ·27·template<class·K>
 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
51 ·51·{55 ·50·{
52 52·typedef·typename·FieldTraits<K>::field_type·field_type; 
53 53·typedef·typename·FieldTraits<K>::real_type·real_type;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
54 ·54·};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·();
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> 
Max diff block lines reached; 44573/48479 bytes (91.94%) of diff not shown.
7.53 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:·parametertreeparser.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 65, 48 lines modifiedOffset 65, 41 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">parametertreeparser.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">promotiontraits.hh·File·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Various·parser·methods·to·get·data·into·a·ParameterTree·object.··75 <p>Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types.··
76 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;istream&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;utility&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="a00308_source.html">dune/common/parametertree.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
82 </div>78 </div>
83 <p><a·href="a00209_source.html">Go·to·the·source·code·of·this·file.</a></p>79 <p><a·href="a00209_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>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
86 Classes</h2></td></tr>82 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>83 <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>
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>84 <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>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <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>86 <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>
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>87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 </table><table·class="memberdecls">88 </table><table·class="memberdecls">
97 <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>
98 Namespaces</h2></td></tr>90 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>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>
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="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>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 </table>94 </table>
103 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>95 <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>96 <div·class="textblock"><p·>Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types.·</p>
 97 <dl·class="section·author"><dt>Author</dt><dd>Matthias·Wohlmuth·</dd></dl>
105 </div></div><!--·contents·-->98 </div></div><!--·contents·-->
106 <!--·start·footer·part·-->99 <!--·start·footer·part·-->
107 <hr·class="footer"/><address·class="footer"><small>100 <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.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
109 </small></address>102 </small></address>
110 </body>103 </body>
111 </html>104 </html>
1.46 KB
html2text {}
    
Offset 5, 34 lines modifiedOffset 5, 31 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 promotiontraits.hh·File·Reference
 10 Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different
 11 number·types.·More...
 12 #include·<utility>
9 parametertreeparser.hh·File·Reference 
10 Various·parser·methods·to·get·data·into·a·ParameterTree·object.·More... 
11 #include·<istream> 
12 #include·<string> 
13 #include·<vector> 
14 #include·<dune/common/parametertree.hh> 
15 #include·<dune/common/exceptions.hh> 
16 Go_to_the_source_code_of_this_file.13 Go_to_the_source_code_of_this_file.
17 ·Classes14 ·Classes
18 class· Dune::ParameterTreeParserError 
19  ······report·parser·error·while·reading·ParameterTree·More...15 struct· Dune::PromotionTraits<_T1,_T2_>
 16  ·······Compute·type·of·the·result·of·an·arithmetic·operation·involving·two
 17 ·········different·number·types.·More...
20  18  
 19 struct· Dune::PromotionTraits<_T1,_T1_>
21 class· Dune::HelpRequest 
22  ······exception·thrown·if·the·user·wants·to·see·help·string·More... 
23   
24 class· Dune::ParameterTreeParser 
25  ······Parsers·to·set·up·a·ParameterTree·from·various·input·sources.·More... 
26  20  
27 ·Namespaces21 ·Namespaces
28 namespace· Dune22 namespace· Dune
29  ··········Dune·namespace.23  ··········Dune·namespace.
30  24  
31 *****·Detailed·Description·*****25 *****·Detailed·Description·*****
32 Various·parser·methods·to·get·data·into·a·ParameterTree·object.26 Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different
 27 number·types.
 28 ··Author
 29 ······Matthias·Wohlmuth
  
33 ===============================================================================30 ===============================================================================
34 ·····Generated·by [doxygen]·1.9.431 ·····Generated·by [doxygen]·1.9.4
26.0 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:·parametertreeparser.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 62, 91 lines modifiedOffset 62, 47 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">promotiontraits.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_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_PROMOTIONTRAITS_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_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="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>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</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><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>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</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="a00308.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="a00143.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> 
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>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>
86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>83 <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="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.html#a3f2079447de3426b9da835d3f32d73b6">PromotedType</a>;</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>
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>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>
 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>
 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="keyword">typedef</span>·T1·<a·class="code·hl_typedef"·href="a02436.html#ab4f6d422c0baac66e9496252327e6682">PromotedType</a>;·};</div>
92 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</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>
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> 
95 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>94 <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>··<span·class="keyword">public</span>:</div> 
97 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>95 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</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> 
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>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>
132 <div·class="ttc"·id="aa00143_html"><div·class="ttname"><a·href="a00143.html">exceptions.hh</a></div><div·class="ttdoc">A·few·common·exception·classes.</div></div> 
133 <div·class="ttc"·id="aa00308_html"><div·class="ttname"><a·href="a00308.html">parametertree.hh</a></div><div·class="ttdoc">A·hierarchical·structure·of·string·parameters.</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>97 <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>
 98 <div·class="ttc"·id="aa02432_html"><div·class="ttname"><a·href="a02432.html">Dune::PromotionTraits</a></div><div·class="ttdoc">Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types.</div><div·class="ttdef"><b>Definition:</b>·promotiontraits.hh:27</div></div>
 99 <div·class="ttc"·id="aa02432_html_a3f2079447de3426b9da835d3f32d73b6"><div·class="ttname"><a·href="a02432.html#a3f2079447de3426b9da835d3f32d73b6">Dune::PromotionTraits::PromotedType</a></div><div·class="ttdeci">decltype(std::declval&lt;·T1·&gt;()+std::declval&lt;·T2·&gt;())·PromotedType</div><div·class="ttdef"><b>Definition:</b>·promotiontraits.hh:28</div></div>
 100 <div·class="ttc"·id="aa02436_html_ab4f6d422c0baac66e9496252327e6682"><div·class="ttname"><a·href="a02436.html#ab4f6d422c0baac66e9496252327e6682">Dune::PromotionTraits&lt;·T1,·T1·&gt;::PromotedType</a></div><div·class="ttdeci">T1·PromotedType</div><div·class="ttdef"><b>Definition:</b>·promotiontraits.hh:35</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·-->101 </div><!--·fragment·--></div><!--·contents·-->
146 <!--·start·footer·part·-->102 <!--·start·footer·part·-->
147 <hr·class="footer"/><address·class="footer"><small>103 <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.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
149 </small></address>105 </small></address>
150 </body>106 </body>
151 </html>107 </html>
5.04 KB
html2text {}
    
Offset 4, 122 lines modifiedOffset 4, 54 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 parametertreeparser.hh7 promotiontraits.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_PROMOTIONTRAITS_HH
 15 ·6#define·DUNE_PROMOTIONTRAITS_HH
16 ·716 ·7
 17 ·8#include·<utility>
 18 ·9
17 ·12#include·<istream> 
18 ·13#include·<string> 
19 ·14#include·<vector> 
20 ·15 
21 ·16#include·<dune/common/parametertree.hh> 
22 ·17#include·<dune/common/exceptions.hh> 
23 ·18 
24 ·19namespace·Dune·{19 ·10namespace·Dune·{
25 ·20 
26 22·class·ParameterTreeParserError·:·public·RangeError·{}; 
27 28·class·HelpRequest·:·public·Exception·{}; 
28 ·29 
29 34·class·ParameterTreeParser 
30 ·35·{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;·};
31 ·3633 ·36
 34 ·38}·//·end·namespace
32 ·37·static·std::string·ltrim(const·std::string&·s); 
33 ·38·static·std::string·rtrim(const·std::string&·s); 
34 ·3935 ·39
 36 ·40
 37 ·41#endif·//·DUNE_PROMOTIONTRAITS_HH
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 ·144 
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 exceptions.hh 
75 A·few·common·exception·classes. 
76 parametertree.hh 
77 A·hierarchical·structure·of·string·parameters. 
78 Dune38 Dune
79 Dune·namespace.39 Dune·namespace.
80 Definition:·alignedallocator.hh:1340 Definition:·alignedallocator.hh:13
 41 Dune::PromotionTraits
 42 Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different
 43 number·types.
 44 Definition:·promotiontraits.hh:27
 45 Dune::PromotionTraits::PromotedType
 46 decltype(std::declval<·T1·>()+std::declval<·T2·>())·PromotedType
 47 Definition:·promotiontraits.hh:28
 48 Dune::PromotionTraits<_T1,_T1_>::PromotedType
 49 T1·PromotedType
 50 Definition:·promotiontraits.hh:35
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 
Max diff block lines reached; 116/5138 bytes (2.26%) of diff not shown.
7.33 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:·tuplevector.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 63, 52 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">tuplevector.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">filledarray.hh·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[].··75 <p>Utility·to·generate·an·array·with·a·certain·value.··
77 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
78 <div·class="textblock"><code>#include·&lt;tuple&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>
79 <code>#include·&lt;utility&gt;</code><br·/>78 <code>#include·&lt;cstddef&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00239_source.html">dune/common/indices.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/> 
83 </div>79 </div>
84 <p><a·href="a00212_source.html">Go·to·the·source·code·of·this·file.</a></p>80 <p><a·href="a00212_source.html">Go·to·the·source·code·of·this·file.</a></p>
85 <table·class="memberdecls">81 <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>82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
93 Namespaces</h2></td></tr>83 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>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>
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>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>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 </table><table·class="memberdecls">87 </table><table·class="memberdecls">
98 <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>
99 Functions</h2></td></tr>89 Functions</h2></td></tr>
100 <tr·class="memitem:ae982edb333af3a1f24fe324cc593be0d"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr>90 <tr·class="memitem:ga46cb139c38212292b2f30c3b2743aa48"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·n,·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>·([·...·truncated·by·diffoscope;·len:·16,·SHA:·74b8c237696418c514ef315f606ad5423a078b3be73aa05b51a31d45c742fe72·...·]t)</td></tr>91 <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:[·...·truncated·by·diffoscope;·len:·31,·SHA:·be7084998c621884f0b429835349161f97b22ae93fc49c0ee462c68f1d5c8677·...·]t)</td></tr>
 92 <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>
102 <tr·class="separator:ae982edb333af3a1f24fe324cc593be0d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:ga46cb139c38212292b2f30c3b2743aa48"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 </table>94 </table>
104 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>95 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 96 <div·class="textblock"><p·>Utility·to·generate·an·array·with·a·certain·value.·</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> 
107 </div></div><!--·contents·-->97 </div></div><!--·contents·-->
108 <!--·start·footer·part·-->98 <!--·start·footer·part·-->
109 <hr·class="footer"/><address·class="footer"><small>99 <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.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
111 </small></address>101 </small></address>
112 </body>102 </body>
113 </html>103 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
1.34 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 Classes·|·Namespaces·|·Functions7 Namespaces·|·Functions
8 tuplevector.hh·File·Reference 
9 Provides·the·TupleVector·class·that·augments·std::tuple·by·operator[].·More...8 filledarray.hh·File·Reference
 9 Utility·to·generate·an·array·with·a·certain·value.·More...
 10 #include·<array>
10 #include·<tuple>11 #include·<cstddef>
11 #include·<utility> 
12 #include·<dune/common/indices.hh> 
13 #include·<dune/common/typetraits.hh> 
14 #include·<dune/common/std/type_traits.hh> 
15 Go_to_the_source_code_of_this_file.12 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 ·Namespaces13 ·Namespaces
21 namespace· Dune14 namespace· Dune
22  ··········Dune·namespace.15  ··········Dune·namespace.
23  16  
24 ·Functions17 ·Functions
25 template<class...·T> 
26 constexpr·auto Dune::makeTupleVector·(T·&&...·t)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...
27  22  
28 *****·Detailed·Description·*****23 *****·Detailed·Description·*****
 24 Utility·to·generate·an·array·with·a·certain·value.
29 Provides·the·TupleVector·class·that·augments·std::tuple·by·operator[]. 
30 ··Author 
31 ······Carsten·Gräser 
  
32 ===============================================================================25 ===============================================================================
33 ·····Generated·by [doxygen]·1.9.426 ·····Generated·by [doxygen]·1.9.4
24.4 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:·tuplevector.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 62, 106 lines modifiedOffset 62, 46 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">filledarray.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_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_TUPLEVECTOR_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;tuple&gt;</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;utility&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>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</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>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00239.html">dune/common/indices.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;cstddef&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="a00386.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="a00113.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>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>·</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>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>
88 <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="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>
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>·</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>87 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</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>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>
96 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······el·=·t;</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>92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keywordflow">return</span>·arr;</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> 
99 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>93 <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> 
102 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</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>
103 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
104 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">public</span>:</div> 
105 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</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> 
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="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="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> 
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> 
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>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>
 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">Return·an·array·filled·with·the·provided·value.</div><div·class="ttdef"><b>Definition:</b>·filledarray.hh:33</div></div>
148 <div·class="ttc"·id="aa00113_html"><div·class="ttname"><a·href="a00113.html">type_traits.hh</a></div></div> 
149 <div·class="ttc"·id="aa00239_html"><div·class="ttname"><a·href="a00239.html">indices.hh</a></div></div> 
150 <div·class="ttc"·id="aa00386_html"><div·class="ttname"><a·href="a00386.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</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> 
152 <div·class="ttc"·id="aa00406_html_gaccaa5104ef0c27be164435f42ef81fd5"><div·class="ttname"><a·href="a00406.html#gaccaa5104ef0c27be164435f42ef81fd5">Dune::Std::is_detected</a></div><div·class="ttdeci">typename·detected_or&lt;·nonesuch,·Op,·Args...·&gt;::value_t·is_detected</div><div·class="ttdoc">Detects·whether·Op&lt;Args...&gt;·is·valid.</div><div·class="ttdef"><b>Definition:</b>·type_traits.hh:141</div></div> 
153 <div·class="ttc"·id="aa00424_html"><div·class="ttname"><a·href="a00424.html">std</a></div><div·class="ttdoc">STL·namespace.</div></div> 
154 <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>
155 <div·class="ttc"·id="aa00425_html_ae982edb333af3a1f24fe324cc593be0d"><div·class="ttname"><a·href="a00425.html#ae982edb333af3a1f24fe324cc593be0d">Dune::makeTupleVector</a></div><div·class="ttdeci">constexpr·auto·makeTupleVector(T·&amp;&amp;...·t)</div><div·class="ttdef"><b>Definition:</b>·tuplevector.hh:90</div></div> 
156 <div·class="ttc"·id="aa03024_html"><div·class="ttname"><a·href="a03024.html">Dune::TupleVector</a></div><div·class="ttdoc">A·class·augmenting·std::tuple·by·element·access·via·operator[].</div><div·class="ttdef"><b>Definition:</b>·tuplevector.hh:35</div></div> 
157 <div·class="ttc"·id="aa03024_html_a1595dc930c803c3b4e4652b011ebf47b"><div·class="ttname"><a·href="a03024.html#a1595dc930c803c3b4e4652b011ebf47b">Dune::TupleVector::size</a></div><div·class="ttdeci">static·constexpr·std::size_t·size()</div><div·class="ttdoc">Number·of·elements·of·the·tuple.</div><div·class="ttdef"><b>Definition:</b>·tuplevector.hh:81</div></div> 
158 <div·class="ttc"·id="aa03024_html_a18fb497d8152c2f3eb144449d70e9bc9"><div·class="ttname"><a·href="a03024.html#a18fb497d8152c2f3eb144449d70e9bc9">Dune::TupleVector::TupleVector</a></div><div·class="ttdeci">constexpr·TupleVector(TT·&amp;&amp;...·tt)</div><div·class="ttdoc">Construct·from·a·set·of·arguments.</div><div·class="ttdef"><b>Definition:</b>·tuplevector.hh:55</div></div> 
159 <div·class="ttc"·id="aa03024_html_af79a45a6b4d14f7db794298985da714e"><div·class="ttname"><a·href="a03024.html#af79a45a6b4d14f7db794298985da714e">Dune::TupleVector::TupleVector</a></div><div·class="ttdeci">constexpr·TupleVector()</div><div·class="ttdoc">Default·constructor.</div><div·class="ttdef"><b>Definition:</b>·tuplevector.hh:61</div></div> 
160 </div><!--·fragment·--></div><!--·contents·-->100 </div><!--·fragment·--></div><!--·contents·-->
161 <!--·start·footer·part·-->101 <!--·start·footer·part·-->
162 <hr·class="footer"/><address·class="footer"><small>102 <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.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
Max diff block lines reached; 18/20904 bytes (0.09%) of diff not shown.
3.86 KB
html2text {}
    
Offset 4, 126 lines modifiedOffset 4, 47 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 tuplevector.hh7 filledarray.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_FILLED_ARRAY_HH
 16 ·7#define·DUNE_COMMON_FILLED_ARRAY_HH
 17 ·8
 18 ·13#include·<array>
 19 ·14#include·<cstddef>
14 ·5#ifndef·DUNE_COMMON_TUPLEVECTOR_HH 
15 ·6#define·DUNE_COMMON_TUPLEVECTOR_HH 
16 ·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 ·1520 ·15
25 ·16 
26 ·23namespace·Dune21 ·16namespace·Dune
 22 ·17{
27 ·24{23 ·24
28 ·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&&>()...)); 
38 ·40 
39 ·41·template<class...·TT> 
40 ·42·using·hasTupleConstructor·=·Dune::Std:: 
41 is_detected<TupleConstructorDetector,·TT...>; 
42 ·43 
43 ·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·{} 
51 ·58 
52 61·constexpr·TupleVector() 
53 ·62·{} 
54 ·63 
55 ·66·template<std::size_t·i>24 ·32·template<std::size_t·n,·class·T>
56 67·constexpr·decltype(auto)·operator[](const·Dune::index_constant<i>&)·const 
57 ·68·{ 
58 ·69·return·std::get<i>(*this);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;
59 ·70·}32 ·40·}
 33 ·41
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·Dune34 ·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.
 40 Definition:·filledarray.hh:33
86 ·100 
87 ·101#endif·//·DUNE_COMMON_TUPLEVECTOR_HH 
88 type_traits.hh 
89 indices.hh 
90 typetraits.hh 
91 Traits·for·type·conversions·and·type·information. 
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 
97 typename·detected_or<·nonesuch,·Op,·Args...·>::value_t·is_detected 
98 Detects·whether·Op<Args...>·is·valid. 
99 Definition:·type_traits.hh:141 
100 std 
101 STL·namespace. 
102 Dune41 Dune
103 Dune·namespace.42 Dune·namespace.
104 Definition:·alignedallocator.hh:1343 Definition:·alignedallocator.hh:13
105 Dune::makeTupleVector 
106 constexpr·auto·makeTupleVector(T·&&...·t) 
Max diff block lines reached; 116/3925 bytes (2.96%) of diff not shown.
12.2 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:·precision.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, 40 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="#nested-classes">Classes</a>·&#124; 
71 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>·&#124;
 71 <a·href="#func-members">Functions</a>··</div>
72 ··<div·class="headertitle"><div·class="title">precision.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">fmatrixev.hh·File·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.··75 <p>Eigenvalue·computations·for·the·FieldMatrix·class.··
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·/>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="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 82 <code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
 83 <code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/>
 84 <code>#include·&lt;<a·class="el"·href="a00182_source.html">dune/common/math.hh</a>&gt;</code><br·/>
78 </div>85 </div>
79 <p><a·href="a00215_source.html">Go·to·the·source·code·of·this·file.</a></p>86 <p><a·href="a00215_source.html">Go·to·the·source·code·of·this·file.</a></p>
80 <table·class="memberdecls">87 <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="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> 
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>88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
88 Namespaces</h2></td></tr>89 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>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="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>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</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">
 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>
92 </table>118 </table>
93 <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>
94 <div·class="textblock"><p·>Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.·</p>120 <div·class="textblock"><p·>Eigenvalue·computations·for·the·FieldMatrix·class.·</p>
95 </div></div><!--·contents·-->121 </div></div><!--·contents·-->
96 <!--·start·footer·part·-->122 <!--·start·footer·part·-->
97 <hr·class="footer"/><address·class="footer"><small>123 <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.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
99 </small></address>125 </small></address>
100 </body>126 </body>
101 </html>127 </html>
2.54 KB
html2text {}
    
Offset 4, 26 lines modifiedOffset 4, 60 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces 
8 precision.hh·File·Reference 
9 Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector. 
10 More... 
11 #include·<stdlib.h>7 Namespaces·|·Functions
 8 fmatrixev.hh·File·Reference
 9 Eigenvalue·computations·for·the·FieldMatrix·class.·More...
 10 #include·<algorithm>
 11 #include·<iostream>
 12 #include·<cmath>
 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>
12 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
13 ·Classes 
14 class· Dune::FMatrixPrecision<_ctype_> 
15  ······Precisions·for·calculations·with·FieldMatrix·and·FieldVector.·More... 
16   
17 ·Namespaces19 ·Namespaces
18 namespace· Dune20 namespace· Dune
19  ··········Dune·namespace.21  ··········Dune·namespace.
20  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  
21 *****·Detailed·Description·*****55 *****·Detailed·Description·*****
22 Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.56 Eigenvalue·computations·for·the·FieldMatrix·class.
  
23 ===============================================================================57 ===============================================================================
24 ·····Generated·by [doxygen]·1.9.458 ·····Generated·by [doxygen]·1.9.4
136 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:·precision.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, 56 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">precision.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="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_PRECISION_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_PRECISION_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;stdlib.h&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="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>
 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="l00013"·name="l00013"></a><span·class="lineno">···13</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="a00341.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="a00302.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="a00311.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="a00182.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>
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>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>
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> 
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> 
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>89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</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>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="l00035"·name="l00035"></a><span·class="lineno">···35</span>····{</div>91 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
92 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······_absolute·=·absthres;</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>
93 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····}</div>98 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</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>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>
98 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··};</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[·...·truncated·by·diffoscope;·len:·39,·SHA:·365fc8dcc4e8c8fa4c95a455c7d9e9b5e96401c3050543c2f69a824279ab9246·...·]</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>
99 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>104 <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>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>
101 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··ctype·FMatrixPrecision&lt;ctype&gt;::_absolute·=·1E-80;</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>
102 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>109 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
103 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>}·<span·class="comment">//·end·namespace</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>
104 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>115 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
105 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">#endif</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>
 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>
Max diff block lines reached; 6363/113681 bytes (5.60%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
24.8 KB
html2text {}
    
Offset 4, 62 lines modifiedOffset 4, 715 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 precision.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_PRECISION_HH 
15 ·6#define·DUNE_PRECISION_HH14 ·5#ifndef·DUNE_FMATRIXEIGENVALUES_HH
 15 ·6#define·DUNE_FMATRIXEIGENVALUES_HH
16 ·716 ·7
17 ·12#include·<stdlib.h> 
18 ·1317 ·12#include·<algorithm>
 18 ·13#include·<iostream>
 19 ·14#include·<cmath>
 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
19 ·14namespace·Dune·{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);
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·} 
28 ·32 
29 34·static·void·set_absolute_limit·(ctype·absthres) 
30 ·35·{ 
31 ·36·_absolute·=·absthres; 
32 ·37·}37 ·37
33 ·38 
34 ·39·private: 
35 ·40·//·just·to·demonstrate·some·state·information 
36 ·41·static·ctype·_absolute; 
37 ·42·};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);
38 ·4343 ·43
39 ·44·template·<class·ctype> 
40 ·45·ctype·FMatrixPrecision<ctype>::_absolute·=·1E-80;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·/*
 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
Max diff block lines reached; 2766/25410 bytes (10.89%) of diff not shown.
12.7 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:·fmatrixev.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 63, 66 lines modifiedOffset 63, 43 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">power.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·implementations·of·the·power·function·for·run-time·and·static·arguments.··
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·/> 
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="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/fvector.hh</a>&gt;</code><br·/> 
83 <code>#include·&lt;<a·class="el"·href="a00164_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/> 
84 <code>#include·&lt;<a·class="el"·href="a00290_source.html">dune/common/math.hh</a>&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00182_source.html">dune/common/math.hh</a>&gt;</code><br·/>
85 </div>78 </div>
86 <p><a·href="a00218_source.html">Go·to·the·source·code·of·this·file.</a></p>79 <p><a·href="a00218_source.html">Go·to·the·source·code·of·this·file.</a></p>
87 <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>
 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="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>
 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>
 88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 89 </table><table·class="memberdecls">
88 <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>
89 Namespaces</h2></td></tr>91 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>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="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>
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <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>95 </table>
119 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>96 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
120 <div·class="textblock"><p·>Eigenvalue·computations·for·the·FieldMatrix·class.·</p>97 <div·class="textblock"><p·>Various·implementations·of·the·power·function·for·run-time·and·static·arguments.·</p>
121 </div></div><!--·contents·-->98 </div></div><!--·contents·-->
122 <!--·start·footer·part·-->99 <!--·start·footer·part·-->
123 <hr·class="footer"/><address·class="footer"><small>100 <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.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
125 </small></address>102 </small></address>
126 </body>103 </body>
127 </html>104 </html>
2.61 KB
html2text {}
    
Offset 4, 60 lines modifiedOffset 4, 31 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Namespaces·|·Functions7 Classes·|·Namespaces
8 fmatrixev.hh·File·Reference8 power.hh·File·Reference
 9 Various·implementations·of·the·power·function·for·run-time·and·static
 10 arguments.·More...
9 Eigenvalue·computations·for·the·FieldMatrix·class.·More... 
10 #include·<algorithm> 
11 #include·<iostream> 
12 #include·<cmath> 
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>11 #include·<dune/common/math.hh>
18 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
 13 ·Classes
 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...
 20  
19 ·Namespaces21 ·Namespaces
20 namespace· Dune22 namespace· Dune
21  ··········Dune·namespace.23  ··········Dune·namespace.
22  24  
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·*****25 *****·Detailed·Description·*****
56 Eigenvalue·computations·for·the·FieldMatrix·class.26 Various·implementations·of·the·power·function·for·run-time·and·static
 27 arguments.
  
57 ===============================================================================28 ===============================================================================
58 ·····Generated·by [doxygen]·1.9.429 ·····Generated·by [doxygen]·1.9.4
137 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:·fmatrixev.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 62, 631 lines modifiedOffset 62, 57 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">power.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_FMATRIXEIGENVALUES_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>
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_COMMON_POWER_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="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>·</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;<a·class="code"·href="a00182.html">dune/common/math.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;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>
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00143.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="a00206.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="a00164.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="a00290.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> 
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>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>
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>83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</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>*·i[·...·truncated·by·diffoscope;·len:·4,·SHA:·c7ff40713fc28f3caf4ff6da68e11d493cd10b615f7bdbb6cf0ed58e8575025c·...·];</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>
 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>
104 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</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>
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>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>
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</[·...·truncated·by·diffoscope;·len:·50,·SHA:·b4743351e6575e04666646a522183a9019e92eadab4340db3df2de38e7856c08·...·]</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>
 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>
109 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>99 <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>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>}</div>
 102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
116 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="preprocessor">#endif</span></div>103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</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> 
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> 
Max diff block lines reached; 6168/114521 bytes (5.39%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
24.8 KB
html2text {}
    
Offset 4, 715 lines modifiedOffset 4, 68 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 fmatrixev.hh7 power.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_COMMON_POWER_HH
 15 ·6#define·DUNE_COMMON_POWER_HH
16 ·716 ·7
 17 ·8#warning·The·header·power.hh·is·deprecated.·Use·power·from·math.hh·instead.
 18 ·9
17 ·12#include·<algorithm> 
18 ·13#include·<iostream> 
19 ·14#include·<cmath> 
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>19 ·14#include·<dune/common/math.hh>
26 ·2120 ·15
27 ·22namespace·Dune·{21 ·16namespace·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); 
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·/* 
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]; 
119 ·111 
120 ·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]; 
Max diff block lines reached; 2950/25419 bytes (11.61%) of diff not shown.
66.6 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:·version.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 63, 776 lines modifiedOffset 63, 59 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">version.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>
72 </div><!--header-->73 </div><!--header-->
73 <div·class="contents">74 <div·class="contents">
  
74 <p>Various·macros·to·work·with·Dune·module·version·numbers.··75 <p>Utilities·for·handling·filesystem·paths.··
75 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
  
76 <p><a·href="a00221_source.html">Go·to·the·source·code·of·this·file.</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="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00128_source.html">dune/common/stringutility.hh</a>&gt;</code><br·/>
 82 <code>#include·&lt;<a·class="el"·href="a00158_source.html">dune/common/path.hh</a>&gt;</code><br·/>
77 <table·class="memberdecls">83 </div><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 </table><table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
79 Macros</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>
80 <tr·class="memitem:a229e35109d69cff060df5c80e71f3d73"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00221.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,··type)&#160;&#160;&#160;module·##·_VERSION_·##·type</td></tr> 
81 <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="a00221.html#a229e35109d69cff060df5c80e71f3d73">More...</a><br·/></td></tr> 
82 <tr·class="separator:a229e35109d69cff060df5c80e71f3d73"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
83 <tr·class="memitem:ab25a714acc2ab9e565053cb523054a95"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ab25a714acc2ab9e565053cb523054a95">DUNE_VERSION_EQUAL</a>(module,··major,··minor)</td></tr> 
84 <tr·class="memdesc:ab25a714acc2ab9e565053cb523054a95"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor.··<a·href="a00221.html#ab25a714acc2ab9e565053cb523054a95">More...</a><br·/></td></tr> 
85 <tr·class="separator:ab25a714acc2ab9e565053cb523054a95"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
86 <tr·class="memitem:a860ad2275fe1229fe01d9992a6685fe7"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00221.html#a860ad2275fe1229fe01d9992a6685fe7">DUNE_VERSION_EQUAL_REV</a>(module,··major,··minor,··revision)</td></tr> 
87 <tr·class="memdesc:a860ad2275fe1229fe01d9992a6685fe7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor.revision.··<a·href="a00221.html#a860ad2275fe1229fe01d9992a6685fe7">More...</a><br·/></td></tr> 
88 <tr·class="separator:a860ad2275fe1229fe01d9992a6685fe7"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
89 <tr·class="memitem:ae9c7fb3f1d0d68848c2b03cf45a5f620"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">DUNE_VERSION_GTE</a>(module,··major,··minor)</td></tr> 
90 <tr·class="memdesc:ae9c7fb3f1d0d68848c2b03cf45a5f620"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor·or·greater.··<a·href="a00221.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">More...</a><br·/></td></tr> 
91 <tr·class="separator:ae9c7fb3f1d0d68848c2b03cf45a5f620"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
92 <tr·class="memitem:a989ea73953b5d09cb17675d64233a15b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00221.html#a989ea73953b5d09cb17675d64233a15b">DUNE_VERSION_LT</a>(module,··major,··minor)&#160;&#160;&#160;··!·<a·class="el"·href="a00221.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">DUNE_VERSION_GTE</a>(module,major,minor)</td></tr> 
93 <tr·class="memdesc:a989ea73953b5d09cb17675d64233a15b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·version·less·than·major.minor.··<a·href="a00221.html#a989ea73953b5d09cb17675d64233a15b">More...</a><br·/></td></tr> 
94 <tr·class="separator:a989ea73953b5d09cb17675d64233a15b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
95 <tr·class="memitem:a3ff6f986ce87d82c20da62e6355cf520"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00221.html#a3ff6f986ce87d82c20da62e6355cf520">DUNE_VERSION_NEWER</a>(module,··major,··minor)&#160;&#160;&#160;··<a·class="el"·href="a00221.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">DUNE_VERSION_GTE</a>(module,major,minor)</td></tr> 
96 <tr·class="memdesc:a3ff6f986ce87d82c20da62e6355cf520"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor·or·newer.··<a·href="a00221.html#a3ff6f986ce87d82c20da62e6355cf520">More...</a><br·/></td></tr> 
97 <tr·class="separator:a3ff6f986ce87d82c20da62e6355cf520"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
98 <tr·class="memitem:a4221602addcd43bfc16992d83eaab73b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00221.html#a4221602addcd43bfc16992d83eaab73b">DUNE_VERSION_GT</a>(module,··major,··minor)</td></tr> 
99 <tr·class="memdesc:a4221602addcd43bfc16992d83eaab73b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·version·greater·than·major.minor.··<a·href="a00221.html#a4221602addcd43bfc16992d83eaab73b">More...</a><br·/></td></tr> 
100 <tr·class="separator:a4221602addcd43bfc16992d83eaab73b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
101 <tr·class="memitem:a30a27a1b8996420c55ed3c6009a62253"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00221.html#a30a27a1b8996420c55ed3c6009a62253">DUNE_VERSION_LTE</a>(module,··major,··minor)&#160;&#160;&#160;··!·<a·class="el"·href="a00221.html#a4221602addcd43bfc16992d83eaab73b">DUNE_VERSION_GT</a>(module,major,minor)</td></tr> 
102 <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="a00221.html#a30a27a1b8996420c55ed3c6009a62253">More...</a><br·/></td></tr> 
103 <tr·class="separator:a30a27a1b8996420c55ed3c6009a62253"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 <tr·class="memitem:a95ef2ff0c01c2b1add28f5d4a55e6904"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00221.html#a95ef2ff0c01c2b1add28f5d4a55e6904">DUNE_VERSION_GTE_REV</a>(module,··major,··minor,··revision)</td></tr> 
105 <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="a00221.html#a95ef2ff0c01c2b1add28f5d4a55e6904">More...</a><br·/></td></tr> 
106 <tr·class="separator:a95ef2ff0c01c2b1add28f5d4a55e6904"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
107 <tr·class="memitem:a475b789ab8bce20d26045e337955a52b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00221.html#a475b789ab8bce20d26045e337955a52b">DUNE_VERSION_LT_REV</a>(module,··major,··minor,··revision)&#160;&#160;&#160;··!·<a·class="el"·href="a00221.html#a95ef2ff0c01c2b1add28f5d4a55e6904">DUNE_VERSION_GTE_REV</a>(module,major,minor,revision)</td></tr> 
108 <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="a00221.html#a475b789ab8bce20d26045e337955a52b">More...</a><br·/></td></tr> 
109 <tr·class="separator:a475b789ab8bce20d26045e337955a52b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
110 <tr·class="memitem:a5b004009c0c7997b2330992534942c3b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00221.html#a5b004009c0c7997b2330992534942c3b">DUNE_VERSION_NEWER_REV</a>(module,··major,··minor,··revision)&#160;&#160;&#160;··<a·class="el"·href="a00221.html#a95ef2ff0c01c2b1add28f5d4a55e6904">DUNE_VERSION_GTE_REV</a>(module,major,minor,revision)</td></tr> 
111 <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="a00221.html#a5b004009c0c7997b2330992534942c3b">More...</a><br·/></td></tr> 
112 <tr·class="separator:a5b004009c0c7997b2330992534942c3b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
113 <tr·class="memitem:ab892e2a1845da3fb29c5fb0cbe4d413f"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00221.html#ab892e2a1845da3fb29c5fb0cbe4d413f">DUNE_VERSION_GT_REV</a>(module,··major,··minor,··revision)</td></tr> 
114 <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="a00221.html#ab892e2a1845da3fb29c5fb0cbe4d413f">More...</a><br·/></td></tr> 
115 <tr·class="separator:ab892e2a1845da3fb29c5fb0cbe4d413f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
116 <tr·class="memitem:a3e5db809b447136ea37c9c2ab3ea8c52"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00221.html#a3e5db809b447136ea37c9c2ab3ea8c52">DUNE_VERSION_LTE_REV</a>(module,··major,··minor,··revision)&#160;&#160;&#160;··!·<a·class="el"·href="a00221.html#ab892e2a1845da3fb29c5fb0cbe4d413f">DUNE_VERSION_GT_REV</a>(module,major,minor,revision)</td></tr> 
117 <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="a00221.html#a3e5db809b447136ea37c9c2ab3ea8c52">More...</a><br·/></td></tr> 
118 <tr·class="separator:a3e5db809b447136ea37c9c2ab3ea8c52"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
119 <tr·class="memitem:ae3ff9d66de4e43cbc5e67743013977c9"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00221.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> 
120 <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="a00221.html#ae3ff9d66de4e43cbc5e67743013977c9">More...</a><br·/></td></tr> 
121 <tr·class="separator:ae3ff9d66de4e43cbc5e67743013977c9"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
122 <tr·class="memitem:a2c5026c661a32b8cb9e0f92a4515c6c6"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00221.html#a2c5026c661a32b8cb9e0f92a4515c6c6">DUNE_MODULE_VERSION_ID</a>(module)&#160;&#160;&#160;··<a·class="el"·href="a00221.html#ae3ff9d66de4e43cbc5e67743013977c9">DUNE_VERSION_ID</a>(·<a·class="el"·href="a00221.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,MAJOR),·<a·class="el"·href="a00221.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,MINOR),·<a·class="el"·href="a00221.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,REVISION)·)</td></tr> 
123 <tr·class="memdesc:a2c5026c661a32b8cb9e0f92a4515c6c6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compute·a·unique·uint·id·for·the·given·module.··<a·href="a00221.html#a2c5026c661a32b8cb9e0f92a4515c6c6">More...</a><br·/></td></tr> 
124 <tr·class="separator:a2c5026c661a32b8cb9e0f92a4515c6c6"><td·class="memSeparator"·colspan="2">&#160;</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>
 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>
125 </table>110 </table>
126 <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·>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>
127 <div·class="textblock"><p·>Various·macros·to·work·with·Dune·module·version·numbers.·</p> 
128 </div><h2·class="groupheader">Macro·Definition·Documentation</h2> 
129 <a·id="a2c5026c661a32b8cb9e0f92a4515c6c6"·name="a2c5026c661a32b8cb9e0f92a4515c6c6"></a> 
130 <h2·class="memtitle"><span·class="permalink"><a·href="#a2c5026c661a32b8cb9e0f92a4515c6c6">&#9670;&nbsp;</a></span>DUNE_MODULE_VERSION_ID</h2> 
  
131 <div·class="memitem"> 
132 <div·class="memproto"> 
133 ······<table·class="memname"> 
134 ········<tr> 
135 ··········<td·class="memname">#define·DUNE_MODULE_VERSION_ID</td> 
136 ··········<td>(</td> 
137 ··········<td·class="paramtype">&#160;</td> 
138 ··········<td·class="paramname">module</td><td>)</td> 
139 ··········<td>&#160;&#160;&#160;··<a·class="el"·href="a00221.html#ae3ff9d66de4e43cbc5e67743013977c9">DUNE_VERSION_ID</a>(·<a·class="el"·href="a00221.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,MAJOR),·<a·class="el"·href="a00221.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,MINOR),·<a·class="el"·href="a00221.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,REVISION)·)</td> 
Max diff block lines reached; 243/50758 bytes (0.48%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
16.8 KB
html2text {}
    
Offset 4, 346 lines modifiedOffset 4, 49 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... 
10 Go_to_the_source_code_of_this_file. 
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...7 Namespaces·|·Functions
 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 ·Namespaces
 18 namespace· Dune
 19  ··········Dune·namespace.
15  20  
16 #define DUNE_VERSION_EQUAL(module,·major,·minor) 
17  ·······True·if·'module'·has·the·version·major.minor.·More...21 ·Functions
 22 std::string Dune::concatPaths·(const·std::string·&base,·const·std::string·&p)
 23  ···········concatenate·two·paths·More...
18  24  
19 #define DUNE_VERSION_EQUAL_REV(module,·major,·minor,·revision) 
20  ·······True·if·'module'·has·the·version·major.minor.revision.·More...25 std::string Dune::processPath·(const·std::string·&p)
 26  ···········sanitize·a·path·for·further·processing·More...
21  27  
22 #define DUNE_VERSION_GTE(module,·major,·minor) 
23  ·······True·if·'module'·has·the·version·major.minor·or·greater.·More...28 ·······bool Dune::pathIndicatesDirectory·(const·std::string·&p)
 29  ···········check·whether·the·given·path·indicates·that·it·is·a·directory
 30 ·············More...
24  31  
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...32 std::string Dune::prettyPath·(const·std::string·&p,·bool·isDirectory)
 33  ···········pretty·print·path·More...
27  34  
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...35 std::string Dune::prettyPath·(const·std::string·&p)
 36  ···········pretty·print·path·More...
30  37  
 38 std::string Dune::relativePath·(const·std::string·&newbase,·const·std::string
 39 ·············&p)
 40  ···········compute·a·relative·path·between·two·paths·More...
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... 
43   
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  41  
64 *****·Detailed·Description·*****42 *****·Detailed·Description·*****
 43 Utilities·for·handling·filesystem·paths.
 44 ··Author
 45 ·······Fahlke·jorri.nosp@m.t@jo.nosp@m.rrit..nosp@m.de
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 ···························) 
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 
101 module·name·in·the·context·of·this·macro. 
Max diff block lines reached; 116/17229 bytes (0.67%) of diff not shown.
17.5 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:·matrixconcepts.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, 30 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>··</div>71 <a·href="#namespaces">Namespaces</a>·&#124;
 72 <a·href="#enum-members">Enumerations</a>·&#124;
 73 <a·href="#func-members">Functions</a>··</div>
71 ··<div·class="headertitle"><div·class="title">matrixconcepts.hh·File·Reference</div></div>74 ··<div·class="headertitle"><div·class="title">float_cmp.hh·File·Reference</div></div>
72 </div><!--header-->75 </div><!--header-->
73 <div·class="contents">76 <div·class="contents">
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="a00113_source.html">dune/common/std/type_traits.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="a00260.html">float_cmp.cc</a>&quot;</code><br·/>
77 </div>80 </div>
78 <p><a·href="a00224_source.html">Go·to·the·source·code·of·this·file.</a></p>81 <p><a·href="a00224_source.html">Go·to·the·source·code·of·this·file.</a></p>
79 <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">
80 <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>
81 Namespaces</h2></td></tr>93 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>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="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>
84 <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: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">
 119 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 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>
 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>
 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>
 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>
 140 <tr·class="separator:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 141 <tr·class="memitem:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr>
 142 <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>
 143 <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>
 144 <tr·class="separator:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 145 <tr·class="memitem:ga510d97be4644ccab5db0b674d79633c6"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle&gt;·</td></tr>
 146 <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>
 147 <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>
 148 <tr·class="separator:ga510d97be4644ccab5db0b674d79633c6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 149 <tr·class="memitem:ga78eaf86b21236f5c55336724e911da08"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle&gt;·</td></tr>
 150 <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>
 151 <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>
 152 <tr·class="separator:ga78eaf86b21236f5c55336724e911da08"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table>153 </table>
 154 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 155 <div·class="textblock"><p·>Various·ways·to·compare·floating-point·numbers.·</p>
86 </div><!--·contents·-->156 </div></div><!--·contents·-->
87 <!--·start·footer·part·-->157 <!--·start·footer·part·-->
88 <hr·class="footer"/><address·class="footer"><small>158 <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.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
90 </small></address>160 </small></address>
91 </body>161 </body>
92 </html>162 </html>
3.21 KB
html2text {}
    
Offset 4, 20 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 
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.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  
13 ·Namespaces20 ·Namespaces
14 namespace· Dune21 namespace· Dune
15  ··········Dune·namespace.22  ··········Dune·namespace.
16  23  
 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 ·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·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...
 72  
 73 template<class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle>
 74 ···I Dune::FloatCmp::trunc·(const·T·&val,·typename·EpsilonType<·T·>::Type
 75 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value())
 76  ····truncate·using·epsilon·More...
 77  
 78 *****·Detailed·Description·*****
 79 Various·ways·to·compare·floating-point·numbers.
  
17 ===============================================================================80 ===============================================================================
18 ·····Generated·by [doxygen]·1.9.481 ·····Generated·by [doxygen]·1.9.4
71.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a00224_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:·matrixconcepts.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, 110 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">matrixconcepts.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="a00224.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="a00224.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_MATRIXCONCEPTS_HH</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_MATRIXCONCEPTS_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>
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>·</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;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> 
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="a00113.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="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>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>
 80 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="comment">//·basic·constants</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>
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</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>
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> 
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>96 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</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">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> 
94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</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>
95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>}</div>101 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>····};</div>
96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>102 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>·</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> 
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>103 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>····<span·class="comment">//·operations·in·functional·style</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>··<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> 
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>104 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>·</div>
115 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>105 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</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>·T&gt;</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> 
118 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</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>
 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>
 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>
 124 <div·class="line"><a·id="l00203"·name="l00203"></a><span·class="lineno">··203</span>············<span·class="keyword">const</span>·T·&amp;second,</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="a01716.html">DefaultEpsilon&lt;T,·style&gt;::value</a>());</div>
 126 <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>
 129 <div·class="line"><a·id="l00219"·name="l00219"></a><span·class="lineno">··219</span>············<span·class="keyword">const</span>·T·&amp;second,</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="a01716.html">DefaultEpsilon&lt;T,·style&gt;::value</a>());</div>
 131 <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>
 137 <div·class="line"><a·id="l00238"·name="l00238"></a><span·class="lineno">··238</span>····<span·class="comment">//·rounding·operations</span></div>
 138 <div·class="line"><a·id="l00240"·name="l00240"></a><span·class="lineno">··240</span><span·class="comment"></span>·</div>
 139 <div·class="line"><a·id="l00253"·name="l00253"></a><span·class="lineno">··253</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>I,·<span·class="keyword">class·</span>T,·<a·class="code·hl_enumeration"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·cstyle·<span·class="comment">/*=·defaultCmpStyle*/</span>,·<a·class="code·hl_enumeration"·href="a00409.html#ga8507e971c45243aed2c4de1b3736ca04">RoundingStyle</a>·rstyle·<span·class="comment">/*=·defaultRoundingStyle*/</span>&gt;</div>
 140 <div·class="line"><a·id="l00254"·name="l00254"></a><span·class="lineno">··254</span>····I·<a·class="code·hl_function"·href="a00409.html#ga510d97be4644ccab5db0b674d79633c6">round</a>(<span·class="keyword">const</span>·T·&amp;val,·<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,·cstyle&gt;::value</a>());</div>
Max diff block lines reached; 6826/61164 bytes (11.16%) of diff not shown.
12.0 KB
html2text {}
    
Offset 4, 119 lines modifiedOffset 4, 310 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 matrixconcepts.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#ifndef·DUNE_COMMON_MATRIXCONCEPTS_HH14 ·5#ifndef·DUNE_COMMON_FLOAT_CMP_HH
15 ·6#define·DUNE_COMMON_MATRIXCONCEPTS_HH15 ·6#define·DUNE_COMMON_FLOAT_CMP_HH
16 ·716 ·7
17 ·8 
18 ·9 
19 ·10#include·<utility> 
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·{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·};
27 ·1833 ·128
 34 ·129·template<class·T>·struct·EpsilonType;
 35 ·130
 36 ·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
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 
36 ·27namespace·Dune::Impl·{ 
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 ·4443 ·144
55 ·45 
56 ·46·template<class·T> 
57 ·47·using·IsStaticSizeMatrixHelper·=·std::void_t<decltype(T::rows,·T::cols)>; 
58 ·48 
59 ·49·template<class·T> 
60 ·50·struct·IsStaticSizeMatrix·:·public·Dune::Std:: 
61 is_detected<IsStaticSizeMatrixHelper,·T>·{}; 
62 ·51 
63 ·52·//·Check·if·T·is·a·statically·sized·matrix·by·checking·for·static·members 
64 rows·and·cols. 
65 ·53·template<class·T> 
66 ·54·constexpr·bool·IsStaticSizeMatrix_v·=·Impl::IsStaticSizeMatrix<T>::value; 
67 ·55 
68 ·5644 ·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 ·190
 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 ());
 69 ·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,
Max diff block lines reached; 2540/12257 bytes (20.72%) of diff not shown.
5.63 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:·ios_state.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 65, 39 lines modifiedOffset 65, 43 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">ios_state.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">lru.hh·File·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Utility·class·for·storing·and·resetting·stream·attributes.··75 <p>LRU·Cache·Container,·using·an·STL·like·interface.··
76 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;ios&gt;</code><br·/>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="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
78 </div>82 </div>
79 <p><a·href="a00227_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00227_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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01872.html">Dune::ios_base_all_saver</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>
84 <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>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>
85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
86 </table><table·class="memberdecls">90 </table><table·class="memberdecls">
87 <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>
88 Namespaces</h2></td></tr>92 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>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>
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>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>
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>96 </table>
93 <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>
94 <div·class="textblock"><p·>Utility·class·for·storing·and·resetting·stream·attributes.·</p>98 <div·class="textblock"><p·>LRU·Cache·Container,·using·an·STL·like·interface.·</p>
95 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>99 <dl·class="section·author"><dt>Author</dt><dd>Christian·Engwer·</dd></dl>
96 </div></div><!--·contents·-->100 </div></div><!--·contents·-->
97 <!--·start·footer·part·-->101 <!--·start·footer·part·-->
98 <hr·class="footer"/><address·class="footer"><small>102 <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.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
100 </small></address>104 </small></address>
101 </body>105 </body>
102 </html>106 </html>
1.01 KB
html2text {}
    
Offset 5, 27 lines modifiedOffset 5, 30 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 ios_state.hh·File·Reference9 lru.hh·File·Reference
 10 LRU·Cache·Container,·using·an·STL·like·interface.·More...
10 Common 
11 Utility·class·for·storing·and·resetting·stream·attributes.·More... 
12 #include·<ios>11 #include·<list>
 12 #include·<utility>
 13 #include·<map>
 14 #include·<memory>
 15 #include·<dune/common/exceptions.hh>
13 Go_to_the_source_code_of_this_file.16 Go_to_the_source_code_of_this_file.
14 ·Classes17 ·Classes
15 class· Dune::ios_base_all_saver 
16  ······Utility·class·for·storing·and·resetting·stream·attributes.·More...18 class· Dune::lru<_Key,_Tp,_Traits_>
 19  ······LRU·Cache·Container.·More...
17  20  
18 ·Namespaces21 ·Namespaces
19 namespace· Dune22 namespace· Dune
20  ··········Dune·namespace.23  ··········Dune·namespace.
21  24  
22 *****·Detailed·Description·*****25 *****·Detailed·Description·*****
23 Utility·class·for·storing·and·resetting·stream·attributes.26 LRU·Cache·Container,·using·an·STL·like·interface.
24 ··Author27 ··Author
25 ······Markus·Blatt28 ······Christian·Engwer
  
26 ===============================================================================29 ===============================================================================
27 ·····Generated·by [doxygen]·1.9.430 ·····Generated·by [doxygen]·1.9.4
51.8 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:·ios_state.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, 54 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">ios_state.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="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_COMMON_IOS_STATE_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_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_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;ios&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;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>
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>·</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="a00341.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>
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>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>
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>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>
82 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{</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>
 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>
83 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</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>
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#gaab42b8e2cf5e10c794a7957e003edd76">state_type</a>;</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<[·...·truncated·by·diffoscope;·len:·14,·SHA:·4bd7cce43af44f3042e63145cdda1e56368fed679d2d9d3b12c153df9d4450c5·...·];</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=[·...·truncated·by·diffoscope;·len:·60,·SHA:·d8fb5a66df5fe215117a8ded23e4c2aa43bfb6b27c8a203426267231c6f866bf·...·];</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>
87 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</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>
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> 
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> 
91 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</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> 
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>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>
100 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</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>
 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>
 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>
 139 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</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>
 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="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>
 145 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······<span·class="keywordflow">return</span>·_data.back().second;</div>
 146 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····}</div>
 147 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>
 148 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
 149 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01896.html#a707ca6b80bbe1fcbf1e27b3c58d6114b">··110</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01896.html#a707ca6b80bbe1fcbf1e27b3c58d6114b">pop_front</a>()</div>
 150 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····{</div>
 151 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>······<a·class="code·hl_typedef"·href="a01896.html#aeda92a2b060663bbceb17c16bb0ab3aa">key_type</a>·k·=·_data.front().first;</div>
 152 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>······_data.pop_front();</div>
 153 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>······_index.erase(k);</div>
 154 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····}</div>
 155 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno"><a·class="line"·href="a01896.html#a0b377bb8e1bd16033097b37ffcef6736">··119</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01896.html#a0b377bb8e1bd16033097b37ffcef6736">pop_back</a>()</div>
 156 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····{</div>
 157 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>······<a·class="code·hl_typedef"·href="a01896.html#aeda92a2b060663bbceb17c16bb0ab3aa">key_type</a>·k·=·_data.back().first;</div>
 158 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>······_data.pop_back();</div>
Max diff block lines reached; 8340/44594 bytes (18.70%) of diff not shown.
8.11 KB
html2text {}
    
Offset 4, 66 lines modifiedOffset 4, 269 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ios_state.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_IOS_STATE_HH14 ·5#ifndef·DUNE_COMMON_LRU_HH
15 ·6#define·DUNE_COMMON_IOS_STATE_HH15 ·6#define·DUNE_COMMON_LRU_HH
16 ·716 ·7
17 ·8#include·<ios>17 ·8#include·<list>
18 ·918 ·9#include·<utility>
 19 ·10#include·<map>
 20 ·11#include·<memory>
 21 ·12
 22 ·13#include·<dune/common/exceptions.hh>
 23 ·14
19 ·10namespace·Dune·{24 ·20namespace·Dune·{
20 33·class·ios_base_all_saver25 ·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
21 ·34·{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·};
 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
22 ·35·public:57 ·59·public:
23 37·typedef·std::ios_base·state_type; 
24 ·38 
25 ·48·ios_base_all_saver(state_type&·ios_);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·}
26 ·49115 ·149
27 ·53·~ios_base_all_saver(); 
28 ·54 
29 ·61·void·restore(); 
30 ·62116 161·reference·insert·(const·key_type·&·key,·const_reference·data)
 117 ·162·{
 118 ·163·std::pair<key_type,·value_type>·x(key,·data);
 119 ·164·/*·insert·item·as·mru·*/
 120 ·165·iterator·it·=·_data.insert(_data.begin(),·x);
 121 ·166·/*·store·index·*/
Max diff block lines reached; 2572/8277 bytes (31.07%) of diff not shown.
10.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a00230.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:·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, 46 lines modifiedOffset 63, 75 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="#enum-members">Enumerations</a>··</div>70 <a·href="#define-members">Macros</a>··</div>
73 ··<div·class="headertitle"><div·class="title">documentation.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">bartonnackmanifcheck.hh·File·Reference</div></div>
74 </div><!--header-->72 </div><!--header-->
75 <div·class="contents">73 <div·class="contents">
  
76 <p>Documentation·related·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·...·].··
77 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
 76 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 77 </div>
78 <p><a·href="a00230_source.html">Go·to·the·source·code·of·this·file.</a></p>78 <p><a·href="a00230_source.html">Go·to·the·source·code·of·this·file.</a></p>
79 <table·class="memberdecls">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>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
93 Enumerations</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="a00230.html#acd7d9df83980a2517813af61e0eb22e1">CHECK_INTERFACE_IMPLEMENTATION</a>(dummy)</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>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="a00230.html#a3ae5cb4f2a5339eb07e94108e67bcca7">CHECK_AND_CALL_INTERFACE_IMPLEMENTATION</a>(__interface_method_to_call__)&#160;&#160;&#160;··(__interface_method_to_call__)</td></tr>
 85 <tr·class="separator:a3ae5cb4f2a5339eb07e94108e67bcca7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 </table>86 </table>
98 <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>
99 <div·class="textblock"><p·>Documentation·related·stuff.·</p>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)·NDEB[·...·truncated·by·diffoscope;·len:·62,·SHA:·e75b600edd7f4edbeec35482cce2012a9823c78caeb48f45daa56ee00b08ade4·...·].·</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">
 115 ········<tr>
 116 ··········<td·class="memname">#define·CHECK_INTERFACE_IMPLEMENTATION</td>
 117 ··········<td>(</td>
 118 ··········<td·class="paramtype">&#160;</td>
 119 ··········<td·class="paramname">dummy</td><td>)</td>
 120 ··········<td></td>
 121 ········</tr>
 122 ······</table>
 123 </div><div·class="memdoc">
  
 124 </div>
 125 </div>
100 </div></div><!--·contents·-->126 </div><!--·contents·-->
101 <!--·start·footer·part·-->127 <!--·start·footer·part·-->
102 <hr·class="footer"/><address·class="footer"><small>128 <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.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
104 </small></address>130 </small></address>
105 </body>131 </body>
106 </html>132 </html>
2.66 KB
html2text {}
    
Offset 4, 27 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·|·Enumerations 
8 documentation.hh·File·Reference 
9 Documentation·related·stuff.·More...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>
10 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
 16 ·Macros
 17 #define CHECK_INTERFACE_IMPLEMENTATION(dummy)
11 ·Classes 
12 struct· Dune::ImplementationDefined 
13  ·······Dummy·struct·used·for·documentation·purposes.·More... 
14  18  
 19 #define CHECK_AND_CALL_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)   
 20 ·········(__interface_method_to_call__)
15 ·Namespaces 
16 namespace· Dune 
17  ··········Dune·namespace. 
18   
19 ·Enumerations 
20 enum· {·Dune::implementationDefined·} 
21  21  
22 *****·Detailed·Description·*****22 *****·Detailed·Description·*****
23 Documentation·related·stuff.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·)
  
24 ===============================================================================46 ===============================================================================
25 ·····Generated·by [doxygen]·1.9.447 ·····Generated·by [doxygen]·1.9.4
13.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00230_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:·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, 38 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">documentation.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="a00230.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="a00230.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> 
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> 
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> 
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="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</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>
 76 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00341.html">dune/common/exceptions.hh</a>&gt;</span></div>
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</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> 
82 <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#ga90bbc2f44b2002c6431570e453a822a0a7de84f476fd1d9f55ac5e2c25f252c3b">implementationDefined</a>·};</div> 
84 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</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>
 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>
 83 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#endif</span></div>
 84 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</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="a00230.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>
 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>
 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="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>····catch·(·...·)·\</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>
 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>
85 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</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>
86 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</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="a00230.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>
87 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>109 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="preprocessor">#else</span></div>
 110 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="preprocessor">#define·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)·\</span></div>
 111 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="preprocessor">··CHECK_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)</span></div>
88 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_DOCUMENTATION_HH</span></div>112 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="preprocessor">#endif</span></div>
 113 <div·class="ttc"·id="aa00341_html"><div·class="ttname"><a·href="a00341.html">exceptions.hh</a></div><div·class="ttdoc">A·few·common·exception·classes.</div></div>
89 <div·class="ttc"·id="aa00397_html_ga90bbc2f44b2002c6431570e453a822a0a7de84f476fd1d9f55ac5e2c25f252c3b"><div·class="ttname"><a·href="a00397.html#ga90bbc2f44b2002c6431570e453a822a0a7de84f476fd1d9f55ac5e2c25f252c3b">Dune::implementationDefined</a></div><div·class="ttdeci">@·implementationDefined</div><div·class="ttdoc">Dummy·integral·value·used·for·documentation·purposes.</div><div·class="ttdef"><b>Definition:</b>·documentation.hh:55</div></div> 
90 <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> 
91 <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> 
92 </div><!--·fragment·--></div><!--·contents·-->114 </div><!--·fragment·--></div><!--·contents·-->
93 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
94 <hr·class="footer"/><address·class="footer"><small>116 <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.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
96 </small></address>118 </small></address>
97 </body>119 </body>
98 </html>120 </html>
2.29 KB
html2text {}
    
Offset 4, 41 lines modifiedOffset 4, 59 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 documentation.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
 15 ·25#include·<dune/common/exceptions.hh>
 16 ·26
 17 ·27#ifdef·CHECK_INTERFACE_IMPLEMENTATION
 18 ·28#undef·CHECK_INTERFACE_IMPLEMENTATION
 19 ·29#endif
 20 ·30#ifdef·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION
 21 ·31#undef·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION
 22 ·32#endif
 23 ·33
 24 ·34#if·defined·NDEBUG·||·!defined·DUNE_INTERFACECHECK
 25 35#define·CHECK_INTERFACE_IMPLEMENTATION(dummy)
 26 ·36#else
 27 ·37#define·CHECK_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)·\
 28 ·38·{\
 29 ·39·static·bool·call·=·false;·\
 30 ·40·if(·call·==·true·)·\
 31 ·41·DUNE_THROW(NotImplemented,"Interface·method·not·implemented!");\
 32 ·42·call·=·true;·\
 33 ·43·try·{·\
 34 ·44·(__interface_method_to_call__);·\
 35 ·45·call·=·false;·\
 36 ·46·}·\
 37 ·47·catch·(·...·)·\
 38 ·48·{·\
 39 ·49·call·=·false;·\
 40 ·50·throw;·\
 41 ·51·}·\
 42 ·52·}
 43 ·53#endif
14 ·544 ·54
 45 ·60#if·defined·NDEBUG·||·!defined·DUNE_INTERFACECHECK
 46 61#define·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)
 47 \
 48 ·62·(__interface_method_to_call__)
 49 ·63#else
 50 ·64#define·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION
 51 (__interface_method_to_call__)·\
 52 ·65·CHECK_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)
 53 ·66#endif
 54 exceptions.hh
 55 A·few·common·exception·classes.
15 ·6#ifndef·DUNE_COMMON_DOCUMENTATION_HH 
16 ·7#define·DUNE_COMMON_DOCUMENTATION_HH 
17 ·8 
18 ·13namespace·Dune·{ 
19 ·14 
20 42·struct·ImplementationDefined·{}; 
21 ·43 
22 55·enum·{·implementationDefined·}; 
23 ·56 
24 ·57} 
25 ·58 
26 ·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:55 
32 Dune 
33 Dune·namespace. 
34 Definition:·alignedallocator.hh:13 
35 Dune::ImplementationDefined 
36 Dummy·struct·used·for·documentation·purposes. 
37 Definition:·documentation.hh:42 
  
38 ===============================================================================56 ===============================================================================
39 ·····Generated·by [doxygen]·1.9.457 ·····Generated·by [doxygen]·1.9.4
29.4 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:·rangeutilities.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 65, 119 lines modifiedOffset 65, 53 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>·&#124;72 <a·href="#func-members">Functions</a>··</div>
73 <a·href="#var-members">Variables</a>··</div> 
74 ··<div·class="headertitle"><div·class="title">rangeutilities.hh·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">dotproduct.hh·File·Reference</div></div>
75 </div><!--header-->74 </div><!--header-->
76 <div·class="contents">75 <div·class="contents">
  
77 <p>Utilities·for·reduction·like·operations·on·ranges.··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"/>.··
78 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
79 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>78 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00392_source.html">ftraits.hh</a>&quot;</code><br·/>
 79 <code>#include·&quot;<a·class="el"·href="a00014_source.html">typetraits.hh</a>&quot;</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>80 </div>
85 <p><a·href="a00233_source.html">Go·to·the·source·code·of·this·file.</a></p>81 <p><a·href="a00233_source.html">Go·to·the·source·code·of·this·file.</a></p>
86 <table·class="memberdecls">82 <table·class="memberdecls">
87 <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>
88 Classes</h2></td></tr>84 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>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>
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>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>
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>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 </table><table·class="memberdecls">89 </table><table·class="memberdecls">
105 <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>
106 Namespaces</h2></td></tr>91 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>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>
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="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>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table><table·class="memberdecls">95 </table><table·class="memberdecls">
111 <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>
112 Functions</h2></td></tr>97 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>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>
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; 1220/22591 bytes (5.40%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
7.2 KB
html2text {}
    
Offset 4, 137 lines modifiedOffset 4, 50 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·|·Functions
 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"
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>12 #include·"typetraits.hh"
14 #include·<bitset> 
15 Go_to_the_source_code_of_this_file.13 Go_to_the_source_code_of_this_file.
16 ·Classes14 ·Classes
 15 struct· Dune::IsVector<_T,_class_>
17 ·class· Dune::IntegralRange<_T_> 
18  ·······dynamic·integer·range·for·use·in·range-based·for·loops·More... 
19  16  
 17 struct· Dune::IsVector<_T,_std::void_t<_typename_T::field_type_>_>
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  18  
34 ·Namespaces19 ·Namespaces
35 namespace· Dune20 namespace· Dune
36  ··········Dune·namespace.21  ··········Dune·namespace.
37  22  
38 ·Functions23 ·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...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...
44  31  
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·>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...
108 ·····································auto Dune::transformedRangeView·(R 
109 ···········································&&range,·const·F·&f) 
110  ·········································Create·a·TransformedRangeView. 
111 ···········································More... 
Max diff block lines reached; 686/7346 bytes (9.34%) of diff not shown.
168 KB
./usr/share/doc/libdune-common-doc/doxygen/a00233_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:·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, 655 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">rangeutilities.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="a00233.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="a00233.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_DOTPRODUCT_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_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;<a·class="code"·href="a00386.html">dune/common/typetraits.hh</a>&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="a00392.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;algorithm&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="a00014.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;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> 
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>·</div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</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>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="l00022"·name="l00022"></a><span·class="lineno">···22</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>
86 <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">···28</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>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>
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>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·c[·...·truncated·by·diffoscope;·len:·118,·SHA:·58314a0ac3fd49bf99a25732b034df16d16caff99a4d05e7df3ba97d63f66f89·...·]&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>
 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>
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="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>
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>92 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</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>93 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keywordflow">return</span>·conj(a)*b;</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>94 <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>95 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</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>
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>98 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">auto</span></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>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[·...·truncated·by·diffoscope;·len:·394,·SHA:·a6dbc6d815e9f57576ab7cd5190ac8e417a88df66903991133d024c91fde4f3a·...·]</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>
110 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>102 <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>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>
117 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keywordflow">return</span>·b;</div>105 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">auto</span></div>
118 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</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;[·...·truncated·by·diffoscope;·len:·71,·SHA:·f44e5aed7b8caa6151d9e1bf0f209e5e9300fc489e6206198eb4dc3bdf328905·...·]</div>
119 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>107 <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>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="l00085"·name="l00085"></a><span·class="lineno">···85</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>
 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>
129 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>113 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</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>114 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="keywordflow">return</span>·a*b;</div>
137 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··}</div>115 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</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>116 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</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> 
Max diff block lines reached; 17345/140399 bytes (12.35%) of diff not shown.
31.1 KB
html2text {}
    
Offset 4, 883 lines modifiedOffset 4, 100 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 rangeutilities.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_COMMON_RANGE_UTILITIES_HH 
15 ·6#define·DUNE_COMMON_RANGE_UTILITIES_HH14 ·5#ifndef·DUNE_DOTPRODUCT_HH
 15 ·6#define·DUNE_DOTPRODUCT_HH
16 ·716 ·7
 17 ·8#include·"ftraits.hh"
17 ·8#include·<dune/common/typetraits.hh> 
18 ·9#include·<algorithm> 
19 ·10#include·<utility> 
20 ·11#include·<type_traits>18 ·9#include·"typetraits.hh"
 19 ·10
21 ·12#include·<bitset> 
22 ·13 
23 ·21namespace·Dune20 ·11namespace·Dune·{
 21 ·26·template<class·T,·class·=·void>
 22 27·struct·IsVector·:·std::false_type·{};
 23 ·28
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·} 
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·{ 
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>24 ·29·template<class·T>
 25 30·struct·IsVector<T,·std::void_t<typename·T::field_type>·>
 26 ·31·:·std::true_type·{};
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 
Max diff block lines reached; 10079/31841 bytes (31.65%) of diff not shown.
6.66 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:·dynvector.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, 56 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">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>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>This·file·implements·a·dense·vector·with·a·dynamic·size.·· 
76 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/>74 <div·class="textblock"><code>#include·&lt;utility&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·/>75 <code>#include·&lt;type_traits&gt;</code><br·/>
84 <code>#include·&lt;utility&gt;</code><br·/> 
85 <code>#include·&quot;<a·class="el"·href="a00080_source.html">boundschecking.hh</a>&quot;</code><br·/> 
86 <code>#include·&quot;<a·class="el"·href="a00143_source.html">exceptions.hh</a>&quot;</code><br·/> 
87 <code>#include·&quot;<a·class="el"·href="a00041_source.html">genericiterator.hh</a>&quot;</code><br·/> 
88 <code>#include·&lt;vector&gt;</code><br·/> 
89 <code>#include·&quot;<a·class="el"·href="a00125_source.html">densevector.hh</a>&quot;</code><br·/>76 <code>#include·&lt;<a·class="el"·href="a00287_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>
90 </div>77 </div>
91 <p><a·href="a00236_source.html">Go·to·the·source·code·of·this·file.</a></p>78 <p><a·href="a00236_source.html">Go·to·the·source·code·of·this·file.</a></p>
92 <table·class="memberdecls">79 <table·class="memberdecls">
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
94 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> 
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> 
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="namespaces"·name="namespaces"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
104 Namespaces</h2></td></tr>81 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>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>
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>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>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 </table>85 </table>
109 <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> 
111 </div></div><!--·contents·-->86 </div><!--·contents·-->
112 <!--·start·footer·part·-->87 <!--·start·footer·part·-->
113 <hr·class="footer"/><address·class="footer"><small>88 <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.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
115 </small></address>90 </small></address>
116 </body>91 </body>
117 </html>92 </html>
1.2 KB
html2text {}
    
Offset 4, 42 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 dynvector.hh·File·Reference 
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> 
15 #include·<cstring> 
16 #include·<initializer_list> 
17 #include·<limits> 
18 #include·<utility>9 #include·<utility>
 10 #include·<type_traits>
 11 #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.12 Go_to_the_source_code_of_this_file.
25 ·Classes 
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   
33 ·Namespaces13 ·Namespaces
34 namespace· Dune14 namespace· Dune
35  ··········Dune·namespace.15  ··········Dune·namespace.
36  16  
37 *****·Detailed·Description·***** 
38 This·file·implements·a·dense·vector·with·a·dynamic·size. 
  
39 ===============================================================================17 ===============================================================================
40 ·····Generated·by [doxygen]·1.9.418 ·····Generated·by [doxygen]·1.9.4
74.8 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:·dynvector.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, 229 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">dynvector.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="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_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_MATRIXCONCEPTS_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_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;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">#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;cstdlib&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;cstring&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="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;utility&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;type_traits&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="a00287.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>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="a00080.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="a00143.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="a00041.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="a00125.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="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">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>
 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">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>
 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>95 <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> 
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">DynamicVe[·...·truncated·by·diffoscope;·len:·35,·SHA:·4b84049ab684093254a1e6e4cb74a373a6504c026dc7df7303d555f8a6d25612·...·]</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">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>
 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>
99 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</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>··<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>
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>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>
105 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>113 <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>114 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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> 
112 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>115 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</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>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>
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"·[·...·truncated·by·diffoscope;·len:·78,·SHA:·3aadd4d71ffa03a7a395e3dba259b23e4f5f8035a62fbe55e9919c19a920b070·...·];</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>[·...·truncated·by·diffoscope;·len:·22,·SHA:·b2084ab813421466fdd9c7096d9f11ca128e49513a56f5534d8e799b55ae20e1·...·];</div>
115 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··{</div>118 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</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>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>
 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>
117 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>121 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</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>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>
119 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">public</span>:</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>
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#a007[·...·truncated·by·diffoscope;·len:·146,·SHA:·a9f45d31c9b13a797042e53159d07a3b246c6f710cfa1403ed7213b565edb5f2·...·];</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>
 125 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
122 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>126 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</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#a5a7bd4f[·...·truncated·by·diffoscope;·len:·46,·SHA:·9aed4a4489cdb2bd53c37968d43f13be3fce6204e77af50ba87544a7fb13f11e·...·]</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>
 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>
 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>
 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>
 137 <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>·</div>138 <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>139 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</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>
126 <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>
 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>
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> 
Max diff block lines reached; 39111/63327 bytes (61.76%) of diff not shown.
12.9 KB
html2text {}
    
Offset 4, 343 lines modifiedOffset 4, 119 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 dynvector.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_DYNVECTOR_HH 
15 ·6#define·DUNE_DYNVECTOR_HH14 ·5#ifndef·DUNE_COMMON_MATRIXCONCEPTS_HH
 15 ·6#define·DUNE_COMMON_MATRIXCONCEPTS_HH
16 ·716 ·7
 17 ·8
 18 ·9
17 ·8#include·<cmath> 
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>19 ·10#include·<utility>
 20 ·11#include·<type_traits>
 21 ·12
 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 ·17namespace·Dune·{
 27 ·18
 28 ·19·template<class,·int,·int>
 29 ·20·class·FieldMatrix;
 30 ·21
 31 ·22·template<class>
 32 ·23·class·DynamicMatrix;
 33 ·24
34 ·2534 ·25}
35 ·34·template<·class·K,·class·Allocator·>·class·DynamicVector; 
36 ·35·template<·class·K,·class·Allocator·> 
37 36·struct·DenseMatVecTraits<·DynamicVector<·K,·Allocator·>·> 
38 ·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·};35 ·26
 36 ·27namespace·Dune::Impl·{
 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;
44 ·4353 ·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: 
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;54 ·44
 55 ·45
 56 ·46·template<class·T>
 57 ·47·using·IsStaticSizeMatrixHelper·=·std::void_t<decltype(T::rows,·T::cols)>;
 58 ·48
 59 ·49·template<class·T>
 60 ·50·struct·IsStaticSizeMatrix·:·public·Dune::Std::
 61 is_detected<IsStaticSizeMatrixHelper,·T>·{};
 62 ·51
 63 ·52·//·Check·if·T·is·a·statically·sized·matrix·by·checking·for·static·members
 64 rows·and·cols.
 65 ·53·template<class·T>
 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·{};
 76 ·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
63 ·6881 ·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·{}82 ·69
Max diff block lines reached; 9068/13165 bytes (68.88%) of diff not shown.
25.8 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:·indices.hh·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, 113 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="#typedef-members">Typedefs</a>·&#124;71 <a·href="#define-members">Macros</a>·&#124;
72 <a·href="#func-members">Functions</a>·&#124;72 <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>73 ··<div·class="headertitle"><div·class="title">stdthread.hh·File·Reference</div></div>
75 </div><!--header-->74 </div><!--header-->
76 <div·class="contents">75 <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="a00023_source.html">dune/common/keywords.hh</a>&gt;</code><br·/> 
81 </div> 
82 <p><a·href="a00239_source.html">Go·to·the·source·code·of·this·file.</a></p>76 <p><a·href="a00239_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="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 <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> 
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> 
92 </table><table·class="memberdecls">83 </table><table·class="memberdecls">
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>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="a00239.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="a00239.html#acbf1020c1747ea8c3dd1031d2d608557">More...</a><br·/></td></tr>
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> 
98 <tr·class="separator:gacf764509e6dae37477f5ad09b5ca3467"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:acbf1020c1747ea8c3dd1031d2d608557"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 </table><table·class="memberdecls">89 </table><table·class="memberdecls">
100 <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>
101 Functions</h2></td></tr>91 Functions</h2></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>
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>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>
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> 
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> 
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> 
132 <tr·class="separator:ga2ca75d1d25482664a74ee83e8ce0b5fe"><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> 
134 <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> 
135 <tr·class="separator:ga1c19945beef1b5f54065de84e7a8641f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
136 <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> 
137 <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> 
138 <tr·class="separator:ga3419af1bbd8440b0e54d041f2a8c2b80"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
139 <tr·class="memitem:gac31c1f8aded673ba67174158bd5fa33b"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·10·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gac31c1f8aded673ba67174158bd5fa33b">Dune::Indices::_10</a>·=·{}</td></tr> 
140 <tr·class="memdesc:gac31c1f8aded673ba67174158bd5fa33b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·10.··<a·href="a00397.html#gac31c1f8aded673ba67174158bd5fa33b">More...</a><br·/></td></tr> 
141 <tr·class="separator:gac31c1f8aded673ba67174158bd5fa33b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
142 <tr·class="memitem:gaac852bc693ac4fbdebac5196bcdc9a64"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·11·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gaac852bc693ac4fbdebac5196bcdc9a64">Dune::Indices::_11</a>·=·{}</td></tr> 
143 <tr·class="memdesc:gaac852bc693ac4fbdebac5196bcdc9a64"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·11.··<a·href="a00397.html#gaac852bc693ac4fbdebac5196bcdc9a64">More...</a><br·/></td></tr> 
144 <tr·class="separator:gaac852bc693ac4fbdebac5196bcdc9a64"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
145 <tr·class="memitem:ga70c227071a19ea12597ebde7abc8d373"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·12·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga70c227071a19ea12597ebde7abc8d373">Dune::Indices::_12</a>·=·{}</td></tr> 
146 <tr·class="memdesc:ga70c227071a19ea12597ebde7abc8d373"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·12.··<a·href="a00397.html#ga70c227071a19ea12597ebde7abc8d373">More...</a><br·/></td></tr> 
147 <tr·class="separator:ga70c227071a19ea12597ebde7abc8d373"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
148 <tr·class="memitem:gab861b496b29bb9d1f32b4010434e003d"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·13·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gab861b496b29bb9d1f32b4010434e003d">Dune::Indices::_13</a>·=·{}</td></tr> 
149 <tr·class="memdesc:gab861b496b29bb9d1f32b4010434e003d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·13.··<a·href="a00397.html#gab861b496b29bb9d1f32b4010434e003d">More...</a><br·/></td></tr> 
150 <tr·class="separator:gab861b496b29bb9d1f32b4010434e003d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
151 <tr·class="memitem:ga46aedfe3d5090a00cffcb7a652013a7f"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·14·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga46aedfe3d5090a00cffcb7a652013a7f">Dune::Indices::_14</a>·=·{}</td></tr> 
152 <tr·class="memdesc:ga46aedfe3d5090a00cffcb7a652013a7f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·14.··<a·href="a00397.html#ga46aedfe3d5090a00cffcb7a652013a7f">More...</a><br·/></td></tr> 
153 <tr·class="separator:ga46aedfe3d5090a00cffcb7a652013a7f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
154 <tr·class="memitem:ga1a8ff2bb0e356684b14a2c5e3c4d60bc"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·15·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga1a8ff2bb0e356684b14a2c5e3c4d60bc">Dune::Indices::_15</a>·=·{}</td></tr> 
155 <tr·class="memdesc:ga1a8ff2bb0e356684b14a2c5e3c4d60bc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·15.··<a·href="a00397.html#ga1a8ff2bb0e356684b14a2c5e3c4d60bc">More...</a><br·/></td></tr> 
156 <tr·class="separator:ga1a8ff2bb0e356684b14a2c5e3c4d60bc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:a3b55a8ff91fc039845da40a86486a007"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
157 <tr·class="memitem:ga16898b601989e869b270c43c173de953"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·16·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga16898b601989e869b270c43c173de953">Dune::Indices::_16</a>·=·{}</td></tr> 
158 <tr·class="memdesc:ga16898b601989e869b270c43c173de953"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·16.··<a·href="a00397.html#ga16898b601989e869b270c43c173de953">More...</a><br·/></td></tr> 
159 <tr·class="separator:ga16898b601989e869b270c43c173de953"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
160 <tr·class="memitem:gac1f450218a4ab129a04ae59bac7c57a1"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·17·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gac1f450218a4ab129a04ae59bac7c57a1">Dune::Indices::_17</a>·=·{}</td></tr> 
161 <tr·class="memdesc:gac1f450218a4ab129a04ae59bac7c57a1"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·17.··<a·href="a00397.html#gac1f450218a4ab129a04ae59bac7c57a1">More...</a><br·/></td></tr> 
162 <tr·class="separator:gac1f450218a4ab129a04ae59bac7c57a1"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
163 <tr·class="memitem:gab50e00b1160125118d3a3f36f0d82654"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·18·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gab50e00b1160125118d3a3f36f0d82654">Dune::Indices::_18</a>·=·{}</td></tr> 
164 <tr·class="memdesc:gab50e00b1160125118d3a3f36f0d82654"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·18.··<a·href="a00397.html#gab50e00b1160125118d3a3f36f0d82654">More...</a><br·/></td></tr> 
165 <tr·class="separator:gab50e00b1160125118d3a3f36f0d82654"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
166 <tr·class="memitem:gae846500876d7d06fe7f53c03b5c23fbf"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·19·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gae846500876d7d06fe7f53c03b5c23fbf">Dune::Indices::_19</a>·=·{}</td></tr> 
167 <tr·class="memdesc:gae846500876d7d06fe7f53c03b5c23fbf"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·19.··<a·href="a00397.html#gae846500876d7d06fe7f53c03b5c23fbf">More...</a><br·/></td></tr> 
Max diff block lines reached; 1345/21664 bytes (6.21%) of diff not shown.
4.56 KB
html2text {}
    
Offset 4, 98 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·|·Typedefs·|·Functions·|·Variables7 Namespaces·|·Macros·|·Functions
8 indices.hh·File·Reference8 stdthread.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.9 Go_to_the_source_code_of_this_file.
14 ·Namespaces10 ·Namespaces
15 namespace· Dune11 namespace· Dune
16  ··········Dune·namespace.12  ··········Dune·namespace.
17  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...
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  19  
27 ·Functions20 ·Functions
 21 void Dune::doAssertCallOnce·(const·char·*file,·int·line,·const·char·*function)
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   
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... 
91   
92 constexpr·index_constant<·19·> Dune::Indices::_19·=·{} 
93  ······························Compile·time·index·with·value·19.·More... 
94  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  
 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.
  
95 ===============================================================================35 ===============================================================================
96 ·····Generated·by [doxygen]·1.9.436 ·····Generated·by [doxygen]·1.9.4
39.0 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:·indices.hh·Source·File</title>8 <title>dune-common:·stdthread.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, 50 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">stdthread.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">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</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>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_INDICES_HH</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>
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>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>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>
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>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="a00023.html">dune/common/keywords.hh</a>&gt;</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>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> 
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>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>
90 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>93 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
91 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>94 <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="a00441.html">···50</a></span>··<span·class="keyword">namespace·</span>Indices</div>95 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a00239.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>
93 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div>97 <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="a00023.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword[·...·truncated·by·diffoscope;·len:·224,·SHA:·110edb6c296e6d0bf3e02322b0adc24e7885b77772c734f3d29f61f9cd99c835·...·]</div>98 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>}·<span·class="comment">//·namespace·Dune</span></div>
95 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>99 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</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="a00023.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="a00023.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="a00023.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="a00023.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="a00023.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="a00023.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="a00023.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="a00023.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="a00023.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="a00023.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="a00023.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="a00023.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="a00023.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="a00023.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="a00023.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="a00023.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="a00023.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="a00023.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="a00023.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> 
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> 
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> 
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> 
144 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_INDICES_HH</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>
145 <div·class="ttc"·id="aa00023_html"><div·class="ttname"><a·href="a00023.html">keywords.hh</a></div><div·class="ttdoc">Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.</div></div> 
146 <div·class="ttc"·id="aa00023_html_afd8117b5ac0497a09e3bdecafbf518a6"><div·class="ttname"><a·href="a00023.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a></div><div·class="ttdeci">#define·DUNE_INLINE_VARIABLE</div><div·class="ttdef"><b>Definition:</b>·keywords.hh:19</div></div> 
147 <div·class="ttc"·id="aa00397_html_ga16898b601989e869b270c43c173de953"><div·class="ttname"><a·href="a00397.html#ga16898b601989e869b270c43c173de953">Dune::Indices::_16</a></div><div·class="ttdeci">constexpr·index_constant&lt;·16·&gt;·_16</div><div·class="ttdoc">Compile·time·index·with·value·16.</div><div·class="ttdef"><b>Definition:</b>·indices.hh:101</div></div> 
148 <div·class="ttc"·id="aa00397_html_ga1a8ff2bb0e356684b14a2c5e3c4d60bc"><div·class="ttname"><a·href="a00397.html#ga1a8ff2bb0e356684b14a2c5e3c4d60bc">Dune::Indices::_15</a></div><div·class="ttdeci">constexpr·index_constant&lt;·15·&gt;·_15</div><div·class="ttdoc">Compile·time·index·with·value·15.</div><div·class="ttdef"><b>Definition:</b>·indices.hh:98</div></div> 
149 <div·class="ttc"·id="aa00397_html_ga1c19945beef1b5f54065de84e7a8641f"><div·class="ttname"><a·href="a00397.html#ga1c19945beef1b5f54065de84e7a8641f">Dune::Indices::_8</a></div><div·class="ttdeci">constexpr·index_constant&lt;·8·&gt;·_8</div><div·class="ttdoc">Compile·time·index·with·value·8.</div><div·class="ttdef"><b>Definition:</b>·indices.hh:77</div></div> 
150 <div·class="ttc"·id="aa00397_html_ga2ca75d1d25482664a74ee83e8ce0b5fe"><div·class="ttname"><a·href="a00397.html#ga2ca75d1d25482664a74ee83e8ce0b5fe">Dune::Indices::_7</a></div><div·class="ttdeci">constexpr·index_constant&lt;·7·&gt;·_7</div><div·class="ttdoc">Compile·time·index·with·value·7.</div><div·class="ttdef"><b>Definition:</b>·indices.hh:74</div></div> 
151 <div·class="ttc"·id="aa00397_html_ga2f3de78a2872dfc7652b48b42c537eb8"><div·class="ttname"><a·href="a00397.html#ga2f3de78a2872dfc7652b48b42c537eb8">Dune::Indices::_0</a></div><div·class="ttdeci">constexpr·index_constant&lt;·0·&gt;·_0</div><div·class="ttdoc">Compile·time·index·with·value·0.</div><div·class="ttdef"><b>Definition:</b>·indices.hh:53</div></div> 
152 <div·class="ttc"·id="aa00397_html_ga3419af1bbd8440b0e54d041f2a8c2b80"><div·class="ttname"><a·href="a00397.html#ga3419af1bbd8440b0e54d041f2a8c2b80">Dune::Indices::_9</a></div><div·class="ttdeci">constexpr·index_constant&lt;·9·&gt;·_9</div><div·class="ttdoc">Compile·time·index·with·value·9.</div><div·class="ttdef"><b>Definition:</b>·indices.hh:80</div></div> 
153 <div·class="ttc"·id="aa00397_html_ga46aedfe3d5090a00cffcb7a652013a7f"><div·class="ttname"><a·href="a00397.html#ga46aedfe3d5090a00cffcb7a652013a7f">Dune::Indices::_14</a></div><div·class="ttdeci">constexpr·index_constant&lt;·14·&gt;·_14</div><div·class="ttdoc">Compile·time·index·with·value·14.</div><div·class="ttdef"><b>Definition:</b>·indices.hh:95</div></div> 
154 <div·class="ttc"·id="aa00397_html_ga50d06c69be6f5a74e319d34064d8bc3c"><div·class="ttname"><a·href="a00397.html#ga50d06c69be6f5a74e319d34064d8bc3c">Dune::Indices::_1</a></div><div·class="ttdeci">constexpr·index_constant&lt;·1·&gt;·_1</div><div·class="ttdoc">Compile·time·index·with·value·1.</div><div·class="ttdef"><b>Definition:</b>·indices.hh:56</div></div> 
155 <div·class="ttc"·id="aa00397_html_ga6b1d6527c4b8dcf500d6c7c34d5eeb79"><div·class="ttname"><a·href="a00397.html#ga6b1d6527c4b8dcf500d6c7c34d5eeb79">Dune::Indices::_3</a></div><div·class="ttdeci">constexpr·index_constant&lt;·3·&gt;·_3</div><div·class="ttdoc">Compile·time·index·with·value·3.</div><div·class="ttdef"><b>Definition:</b>·indices.hh:62</div></div> 
156 <div·class="ttc"·id="aa00397_html_ga70c227071a19ea12597ebde7abc8d373"><div·class="ttname"><a·href="a00397.html#ga70c227071a19ea12597ebde7abc8d373">Dune::Indices::_12</a></div><div·class="ttdeci">constexpr·index_constant&lt;·12·&gt;·_12</div><div·class="ttdoc">Compile·time·index·with·value·12.</div><div·class="ttdef"><b>Definition:</b>·indices.hh:89</div></div> 
157 <div·class="ttc"·id="aa00397_html_ga72824809a31d81d07517c1e903c3dab1"><div·class="ttname"><a·href="a00397.html#ga72824809a31d81d07517c1e903c3dab1">Dune::unpackIntegerSequence</a></div><div·class="ttdeci">decltype(auto)·constexpr·unpackIntegerSequence(F·&amp;&amp;f,·std::integer_sequence&lt;·I,·i...·&gt;·sequence)</div><div·class="ttdoc">Unpack·an·std::integer_sequence&lt;I,i...&gt;·to·std::integral_constant&lt;I,i&gt;...</div><div·class="ttdef"><b>Definition:</b>·indices.hh:125</div></div> 
158 <div·class="ttc"·id="aa00397_html_gaac852bc693ac4fbdebac5196bcdc9a64"><div·class="ttname"><a·href="a00397.html#gaac852bc693ac4fbdebac5196bcdc9a64">Dune::Indices::_11</a></div><div·class="ttdeci">constexpr·index_constant&lt;·11·&gt;·_11</div><div·class="ttdoc">Compile·time·index·with·value·11.</div><div·class="ttdef"><b>Definition:</b>·indices.hh:86</div></div> 
159 <div·class="ttc"·id="aa00397_html_gab50e00b1160125118d3a3f36f0d82654"><div·class="ttname"><a·href="a00397.html#gab50e00b1160125118d3a3f36f0d82654">Dune::Indices::_18</a></div><div·class="ttdeci">constexpr·index_constant&lt;·18·&gt;·_18</div><div·class="ttdoc">Compile·time·index·with·value·18.</div><div·class="ttdef"><b>Definition:</b>·indices.hh:107</div></div> 
160 <div·class="ttc"·id="aa00397_html_gab861b496b29bb9d1f32b4010434e003d"><div·class="ttname"><a·href="a00397.html#gab861b496b29bb9d1f32b4010434e003d">Dune::Indices::_13</a></div><div·class="ttdeci">constexpr·index_constant&lt;·13·&gt;·_13</div><div·class="ttdoc">Compile·time·index·with·value·13.</div><div·class="ttdef"><b>Definition:</b>·indices.hh:92</div></div> 
Max diff block lines reached; 1115/33162 bytes (3.36%) of diff not shown.
6.46 KB
html2text {}
    
Offset 4, 185 lines modifiedOffset 4, 54 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 indices.hh7 stdthread.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_COMMON_INDICES_HH15 ·6#ifndef·DUNE_COMMON_STDTHREAD_HH
16 ·7#define·DUNE_COMMON_INDICES_HH16 ·7#define·DUNE_COMMON_STDTHREAD_HH
17 ·817 ·8
18 ·9#include·<cstddef> 
19 ·10#include·<type_traits> 
20 ·11#include·<utility> 
21 ·12 
22 ·13#include·<dune/common/keywords.hh>18 ·9namespace·Dune
 19 ·10{
 20 ·11
 21 ·12·//·used·internally·by·assertCallOnce·for·the·actual·check
 22 ·13·void·doAssertCallOnce(const·char·*file,·int·line,·const·char·*function);
23 ·1423 ·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 ·32 
30 ·33 
31 50·namespace·Indices24 ·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__)
32 ·51·{36 ·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 ·90 
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·} 
81 ·129 
82 ·130}·//namespace·Dune37 ·52}·//·namespace·Dune
83 ·13138 ·53
84 ·132#endif·//·DUNE_COMMON_INDICES_HH39 ·54#endif·//·DUNE_COMMON_STDTHREAD_HH
85 keywords.hh 
86 Definitions·of·several·macros·that·conditionally·make·C++·syntax·available. 
87 DUNE_INLINE_VARIABLE 
88 #define·DUNE_INLINE_VARIABLE 
89 Definition:·keywords.hh:19 
90 Dune::Indices::_16 
91 constexpr·index_constant<·16·>·_16 
92 Compile·time·index·with·value·16. 
93 Definition:·indices.hh:101 
94 Dune::Indices::_15 
95 constexpr·index_constant<·15·>·_15 
96 Compile·time·index·with·value·15. 
97 Definition:·indices.hh:98 
98 Dune::Indices::_8 
99 constexpr·index_constant<·8·>·_8 
100 Compile·time·index·with·value·8. 
101 Definition:·indices.hh:77 
102 Dune::Indices::_7 
103 constexpr·index_constant<·7·>·_7 
104 Compile·time·index·with·value·7. 
105 Definition:·indices.hh:74 
106 Dune::Indices::_0 
107 constexpr·index_constant<·0·>·_0 
108 Compile·time·index·with·value·0. 
109 Definition:·indices.hh:53 
110 Dune::Indices::_9 
111 constexpr·index_constant<·9·>·_9 
Max diff block lines reached; 515/6593 bytes (7.81%) of diff not shown.
17.0 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:·reservedvector.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 65, 70 lines modifiedOffset 65, 86 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>·&#124;
72 <a·href="#define-members">Macros</a>··</div>73 <a·href="#func-members">Functions</a>··</div>
73 ··<div·class="headertitle"><div·class="title">reservedvector.hh·File·Reference</div></div>74 ··<div·class="headertitle"><div·class="title">typelist.hh·File·Reference</div></div>
74 </div><!--header-->75 </div><!--header-->
75 <div·class="contents">76 <div·class="contents">
  
76 <p>An·stl-compliant·random-access·container·which·stores·everything·on·the·stack.·· 
77 <a·href="#details">More...</a></p> 
78 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>
79 <code>#include·&lt;array&gt;</code><br·/> 
80 <code>#include·&lt;cassert&gt;</code><br·/> 
81 <code>#include·&lt;iostream&gt;</code><br·/> 
82 <code>#include·&lt;iterator&gt;</code><br·/> 
83 <code>#include·&lt;cstddef&gt;</code><br·/>78 <code>#include·&lt;tuple&gt;</code><br·/>
84 <code>#include·&lt;initializer_list&gt;</code><br·/>79 <code>#include·&lt;utility&gt;</code><br·/>
85 <code>#include·&lt;<a·class="el"·href="a00038_source.html">dune/common/hash.hh</a>&gt;</code><br·/> 
86 </div>80 </div>
87 <p><a·href="a00242_source.html">Go·to·the·source·code·of·this·file.</a></p>81 <p><a·href="a00242_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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02552.html">Dune::ReservedVector&lt;·T,·n·&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="a03028.html">Dune::MetaType&lt;·T·&gt;</a></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>86 <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>
 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="a03032.html">Dune::IsTypeList&lt;·T·&gt;</a></td></tr>
 89 <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>
 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="a03036.html">Dune::IsTypeList&lt;·TypeList&lt;·T...·&gt;·&gt;</a></td></tr>
 92 <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>
 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="a03040.html">Dune::IsEmptyTypeList&lt;·T·&gt;</a></td></tr>
 95 <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>
 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="a03044.html">Dune::TypeListSize&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="a03048.html">Dune::TypeListSize&lt;·TypeList&lt;·T...·&gt;·&gt;</a></td></tr>
 100 <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>
 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="a03052.html">Dune::TypeListElement&lt;·i,·T·&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="a03056.html">Dune::TypeListElement&lt;·i,·TypeList&lt;·T...·&gt;·&gt;</a></td></tr>
 105 <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>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 </table><table·class="memberdecls">107 </table><table·class="memberdecls">
95 <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>
96 Namespaces</h2></td></tr>109 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>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>
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="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>112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 </table><table·class="memberdecls">113 </table><table·class="memberdecls">
 114 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 115 Typedefs</h2></td></tr>
 116 <tr·class="memitem:ga7e18d05cb5d1e95f0e7c7409ffe9689f"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr>
 117 <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>
 118 <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>
 119 <tr·class="separator:ga7e18d05cb5d1e95f0e7c7409ffe9689f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 120 <tr·class="memitem:ae06816da928c17285e09ccb74357648b"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·i,·class·T·&gt;·</td></tr>
 121 <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>
 122 <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>
 123 <tr·class="separator:ae06816da928c17285e09ccb74357648b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 124 <tr·class="memitem:a05190548d101a946d1cab292cff5fdb9"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·class...·&gt;·class·Target,·class·TL·&gt;·</td></tr>
 125 <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>
 126 <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>
 127 <tr·class="separator:a05190548d101a946d1cab292cff5fdb9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 128 <tr·class="memitem:a7f31a234ebc9fa02660570324eabde1a"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·class...·&gt;·class·Target,·class...·T&gt;·</td></tr>
 129 <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>
 130 <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>
 131 <tr·class="separator:a7f31a234ebc9fa02660570324eabde1a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 132 <tr·class="memitem:ab8e5f27ee5ff462d88e7eb109f143263"><td·class="memTemplParams"·colspan="2">template&lt;class·NonUniqueTypeList·&gt;·</td></tr>
 133 <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>
 134 <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>
 135 <tr·class="separator:ab8e5f27ee5ff462d88e7eb109f143263"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 136 </table><table·class="memberdecls">
101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>137 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
102 Macros</h2></td></tr>138 Functions</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="a00242.html#a65543e75bc949ecdb95a25b1f4e11675">CHECKSIZE</a>(X)&#160;&#160;&#160;{}</td></tr>139 <tr·class="memitem:a595be06b36830646a9a348d33b7c51c1"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr>
 140 <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>
 141 <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>
104 <tr·class="separator:a65543e75bc949ecdb95a25b1f4e11675"><td·class="memSeparator"·colspan="2">&#160;</td></tr>142 <tr·class="separator:a595be06b36830646a9a348d33b7c51c1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 </table>143 </table>
106 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
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> 
125 </div><!--·contents·-->144 </div><!--·contents·-->
126 <!--·start·footer·part·-->145 <!--·start·footer·part·-->
127 <hr·class="footer"/><address·class="footer"><small>146 <hr·class="footer"/><address·class="footer"><small>
Max diff block lines reached; 38/14432 bytes (0.26%) of diff not shown.
2.78 KB
html2text {}
    
Offset 4, 39 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
 8 typelist.hh·File·Reference
 9 #include·<type_traits>
7 Classes·|·Namespaces·|·Macros 
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> 
16 #include·<cstddef>10 #include·<tuple>
 11 #include·<utility>
17 #include·<initializer_list> 
18 #include·<dune/common/hash.hh> 
19 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
20 ·Classes13 ·Classes
21 class· Dune::ReservedVector<_T,_n_> 
22  ······A·Vector·class·with·statically·reserved·memory.·More...14 struct· Dune::MetaType<_T_>
 15  ·······A·type·that·refers·to·another·type.·More...
 16  
 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...
23  35  
24 ·Namespaces36 ·Namespaces
25 namespace· Dune37 namespace· Dune
26  ··········Dune·namespace.38  ··········Dune·namespace.
27  39  
28 ·Macros 
29 #define CHECKSIZE(X)   {}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  
 64 ·Functions
 65 template<class...·T>
 66 constexpr·auto Dune::uniqueTypeList·(TypeList<·T...·>·list)
 67  ··············Remove·duplicates·from·a·Dune::TypeList.·More...
30  68  
31 *****·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·)·   {} 
  
36 ===============================================================================69 ===============================================================================
37 ·····Generated·by [doxygen]·1.9.470 ·····Generated·by [doxygen]·1.9.4
142 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:·reservedvector.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 62, 434 lines modifiedOffset 62, 142 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">reservedvector.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="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_COMMON_RESERVEDVECTOR_HH</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_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_TYPELIST_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>
78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</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;utility&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;cassert&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> 
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="a00038.html">dune/common/hash.hh</a>&gt;</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="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="a00242.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> 
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>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>
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> 
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> 
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="keyword">public</span>:</div> 
102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</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>
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>88 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</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>
 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>
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> 
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>91 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</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> 
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> 
123 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······:·storage_()</div> 
124 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······,·size_(count)</div> 
125 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····{</div> 
126 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······assert(count·&lt;=·n);</div> 
127 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····}</div> 
128 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>92 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
129 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a02552.html#abf1ca18645ba01ab0f4aa17a982d87e3">···98</a></span>····<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a02552.html#abf1ca18645ba01ab0f4aa17a982d87e3">ReservedVector</a>(<a·class="code·hl_typedef"·href="a02552.html#a88668f6bf71eadf870ae4afdb45d00ff">size_type</a>·count,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02552.html#abba3052e39dc47e93616057091f31fd5">value_type</a>&amp;·value)</div> 
130 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··········<span·class="keyword">noexcept</span>(std::is_nothrow_copy_assignable_v&lt;value_type&gt;·&amp;&amp;</div> 
131 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··········<span·class="keyword">noexcept</span>(<a·class="code·hl_function"·href="a02552.html#a7713ac10cedfac010ef80e71eaca913c">ReservedVector</a>(count)))</div> 
132 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>······:·<a·class="code·hl_function"·href="a02552.html#a7713ac10cedfac010ef80e71eaca913c">ReservedVector</a>(count)</div> 
133 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</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>
134 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······<span·class="keywordflow">for</span>·(<a·class="code·hl_typedef"·href="a02552.html#a88668f6bf71eadf870ae4afdb45d00ff">size_type</a>·i=0;·i&lt;count;·++i)</div> 
135 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>········storage_[i]·=·value;</div> 
136 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····}</div> 
137 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>96 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
138 <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>InputIt,</div>97 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·T&gt;</div>
 98 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a03036.html">··108</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03032.html">IsTypeList</a>&lt;<a·class="code·hl_typedef"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList</a>&lt;T...&gt;·&gt;·:·std::true_type·{};</div>
139 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>······std::enable_if_t&lt;std::is_convertible_v&lt;typename·std::iterator_traits&lt;InputIt&gt;::value_type,·<a·class="code·hl_typedef"·href="a02552.html#abba3052e39dc47e93616057091f31fd5">value_type</a>&gt;,·<span·class="keywordtype">int</span>&gt;·=·0&gt;</div> 
140 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a02552.html#a9e7a4b26e93e87ed9a5c4f60d3b4f2c6">··110</a></span>····<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a02552.html#a9e7a4b26e93e87ed9a5c4f60d3b4f2c6">ReservedVector</a>(InputIt·first,·InputIt·last)</div> 
141 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··········<span·class="keyword">noexcept</span>(std::is_nothrow_copy_assignable_v&lt;value_type&gt;·&amp;&amp;</div> 
142 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··········<span·class="keyword">noexcept</span>(<a·class="code·hl_function"·href="a02552.html#a7713ac10cedfac010ef80e71eaca913c">ReservedVector</a>()))</div> 
143 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>······:·<a·class="code·hl_function"·href="a02552.html#a7713ac10cedfac010ef80e71eaca913c">ReservedVector</a>()</div> 
144 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····{</div> 
145 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>······<span·class="keywordflow">for</span>·(<a·class="code·hl_typedef"·href="a02552.html#a88668f6bf71eadf870ae4afdb45d00ff">size_type</a>·i=0;·i&lt;n·&amp;&amp;·first!=last;·++i,++size_)</div> 
146 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>········storage_[i]·=·*first++;</div> 
147 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>······assert(first·==·last);</div> 
148 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>····}</div> 
149 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div>99 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div>
150 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno"><a·class="line"·href="a02552.html#ada11ccc1eb3713b4f08f9d946e3773d4">··121</a></span>····<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a02552.html#ada11ccc1eb3713b4f08f9d946e3773d4">ReservedVector</a>(std::initializer_list&lt;value_type&gt;·<span·class="keyword">const</span>&amp;·l)</div> 
151 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··········<span·class="keyword">noexcept</span>(std::is_nothrow_copy_assignable_v&lt;value_type&gt;·&amp;&amp;</div> 
152 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>··········<span·class="keyword">noexcept</span>(<a·class="code·hl_function"·href="a02552.html#a7713ac10cedfac010ef80e71eaca913c">ReservedVector</a>(l.begin(),l.end())))</div> 
153 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>······:·<a·class="code·hl_function"·href="a02552.html#a7713ac10cedfac010ef80e71eaca913c">ReservedVector</a>(l.begin(),l.end())</div> 
154 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>····{}</div>100 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>
 101 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
 102 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 103 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno"><a·class="line"·href="a03040.html">··121</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03040.html">IsEmptyTypeList</a>·:·std::is_same&lt;T,·TypeList&lt;&gt;·&gt;·{};</div>
155 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>·</div>104 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div>
156 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno"><a·class="line"·href="a02552.html#a51e83d39dc6840f5ac9b9eb7b360dd28">··132</a></span>····<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02552.html#a51e83d39dc6840f5ac9b9eb7b360dd28">operator==·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02552.html">ReservedVector</a>&amp;·that)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span></div> 
157 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>····{</div>105 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div>
Max diff block lines reached; 78659/119817 bytes (65.65%) of diff not shown.
25.2 KB
html2text {}
    
Offset 4, 642 lines modifiedOffset 4, 183 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 reservedvector.hh7 typelist.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_RESERVEDVECTOR_HH14 ·5#ifndef·DUNE_COMMON_TYPELIST_HH
15 ·6#define·DUNE_COMMON_RESERVEDVECTOR_HH15 ·6#define·DUNE_COMMON_TYPELIST_HH
16 ·716 ·7
 17 ·8#include·<type_traits>
 18 ·9#include·<tuple>
 19 ·10#include·<utility>
 20 ·11
17 ·12#include·<algorithm> 
18 ·13#include·<array> 
19 ·14#include·<cassert> 
20 ·15#include·<iostream> 
21 ·16#include·<iterator> 
22 ·17#include·<cstddef> 
23 ·18#include·<initializer_list> 
24 ·19 
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 
32 ·27 
33 ·28namespace·Dune21 ·12namespace·Dune·{
34 ·29{ 
35 ·45·template<class·T,·int·n> 
36 46·class·ReservedVector 
37 ·47·{ 
38 ·48·using·storage_type·=·std::array<T,n>; 
39 ·49 
40 ·50·public: 
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·} 
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) 
72 ·102·{ 
73 ·103·for·(size_type·i=0;·i<count;·++i) 
74 ·104·storage_[i]·=·value; 
75 ·105·} 
76 ·106 
77 ·108·template<class·InputIt, 
78 ·109·std::enable_if_t<std::is_convertible_v<typename·std:: 
79 iterator_traits<InputIt>::value_type,·value_type>,·int>·=·0> 
80 110·constexpr·ReservedVector(InputIt·first,·InputIt·last) 
81 ·111·noexcept(std::is_nothrow_copy_assignable_v<value_type>·&& 
82 ·112·noexcept(ReservedVector())) 
83 ·113·:·ReservedVector() 
84 ·114·{ 
85 ·115·for·(size_type·i=0;·i<n·&&·first!=last;·++i,++size_) 
86 ·116·storage_[i]·=·*first++; 
87 ·117·assert(first·==·last); 
88 ·118·} 
89 ·119 
90 121·constexpr·ReservedVector(std::initializer_list<value_type>·const&·l) 
91 ·122·noexcept(std::is_nothrow_copy_assignable_v<value_type>·&& 
92 ·123·noexcept(ReservedVector(l.begin(),l.end()))) 
93 ·124·:·ReservedVector(l.begin(),l.end()) 
94 ·125·{} 
95 ·126 
96 132·constexpr·bool·operator==(const·ReservedVector&·that)·const·noexcept 
97 ·133·{ 
98 ·134·if·(size()·!=·that.size()) 
99 ·135·return·false; 
100 ·136·for·(size_type·i=0;·i<size();·++i) 
101 ·137·if·(!(storage_[i]==that.storage_[i])) 
102 ·138·return·false; 
103 ·139·return·true; 
104 ·140·} 
105 ·141 
106 143·constexpr·bool·operator!=(const·ReservedVector&·that)·const·noexcept 
107 ·144·{ 
108 ·145·return·!(*this·==·that); 
109 ·146·} 
110 ·147 
111 149·constexpr·bool·operator<(const·ReservedVector&·that)·const·noexcept 
112 ·150·{ 
113 ·151·for·(size_type·i=0;·i<std::min(size(),that.size());·++i)·{ 
114 ·152·if·(storage_[i]·<·that.storage_[i])·return·true; 
115 ·153·if·(that.storage_[i]·<·storage_[i])·return·false; 
116 ·154·} 
117 ·155·return·size()·<·that.size(); 
118 ·156·} 
119 ·157 
120 159·constexpr·bool·operator>(const·ReservedVector&·that)·const·noexcept 
121 ·160·{ 
122 ·161·return·that·<·*this; 
Max diff block lines reached; 19421/25770 bytes (75.36%) of diff not shown.
6.08 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:·binaryfunctions.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 63, 41 lines modifiedOffset 63, 43 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">fmatrixev.cc·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·· 
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;iostream&gt;</code><br·/>
78 </div> 
79 <p><a·href="a00245_source.html">Go·to·the·source·code·of·this·file.</a></p>75 <code>#include·&lt;cmath&gt;</code><br·/>
 76 <code>#include·&lt;cassert&gt;</code><br·/>
 77 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
80 <table·class="memberdecls">78 </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">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>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
89 Namespaces</h2></td></tr>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="a00245.html#afa3d4fc0f9c478d5f00cc7586b9dad48">DUNE_FMATRIXEIGENVALUES_CC</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> 
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:afa3d4fc0f9c478d5f00cc7586b9dad48"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 </table>83 </table>
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>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>
  
 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>
96 </div></div><!--·contents·-->97 </div><!--·contents·-->
97 <!--·start·footer·part·-->98 <!--·start·footer·part·-->
98 <hr·class="footer"/><address·class="footer"><small>99 <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.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
100 </small></address>101 </small></address>
101 </body>102 </body>
102 </html>103 </html>
929 B
html2text {}
    
Offset 4, 26 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 
8 binaryfunctions.hh·File·Reference 
9 helper·classes·to·provide·unique·types·for·standard·functions·More...7 Macros
 8 fmatrixev.cc·File·Reference
 9 #include·<iostream>
10 #include·<algorithm>10 #include·<cmath>
11 Go_to_the_source_code_of_this_file. 
12 ·Classes 
13 struct· Dune::Min<_Type_>11 #include·<cassert>
 12 #include·<dune/common/exceptions.hh>
 13 ·Macros
 14 #define DUNE_FMATRIXEIGENVALUES_CC
14  15  
 16 *****·Macro·Definition·Documentation·*****
 17 *****·◆ DUNE_FMATRIXEIGENVALUES_CC·*****
 18 #define·DUNE_FMATRIXEIGENVALUES_CC
15 struct· Dune::Max<_Type_> 
16   
17 ·Namespaces 
18 namespace· Dune 
19  ··········Dune·namespace. 
20   
21 *****·Detailed·Description·***** 
22 helper·classes·to·provide·unique·types·for·standard·functions 
  
23 ===============================================================================19 ===============================================================================
24 ·····Generated·by [doxygen]·1.9.420 ·····Generated·by [doxygen]·1.9.4
5.84 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:·promotiontraits.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, 41 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">promotiontraits.hh·File·Reference</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>Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types.·· 
76 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>75 <div·class="textblock"><code>#include·&lt;functional&gt;</code><br·/>
 76 <code>#include·&lt;map&gt;</code><br·/>
 77 <code>#include·&lt;memory&gt;</code><br·/>
 78 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 79 <code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/>
78 </div>80 </div>
79 <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>
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>
 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>
83 <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> 
84 <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> 
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="a02436.html">Dune::PromotionTraits&lt;·T1,·T1·&gt;</a></td></tr> 
87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table><table·class="memberdecls">87 </table><table·class="memberdecls">
89 <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>
90 Namespaces</h2></td></tr>89 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>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>
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>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>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 </table>93 </table>
95 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
96 <div·class="textblock"><p·>Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types.·</p> 
97 <dl·class="section·author"><dt>Author</dt><dd>Matthias·Wohlmuth·</dd></dl> 
98 </div></div><!--·contents·-->94 </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.08 KB
html2text {}
    
Offset 5, 31 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
9 promotiontraits.hh·File·Reference 
10 Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different 
11 number·types.·More... 
12 #include·<utility>10 #include·<functional>
 11 #include·<map>
 12 #include·<memory>
 13 #include·<dune/common/exceptions.hh>
 14 #include·<dune/common/typeutilities.hh>
13 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
14 ·Classes16 ·Classes
 17 class· Dune::ParameterizedObjectFactory<_TypeT(Args...),_KeyT_>
15 struct· Dune::PromotionTraits<_T1,_T2_> 
16  ·······Compute·type·of·the·result·of·an·arithmetic·operation·involving·two 
17 ·········different·number·types.·More... 
18   
19 struct· Dune::PromotionTraits<_T1,_T1_> 
20  18  
21 ·Namespaces19 ·Namespaces
22 namespace· Dune20 namespace· Dune
23  ··········Dune·namespace.21  ··········Dune·namespace.
24  22  
25 *****·Detailed·Description·***** 
26 Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different 
27 number·types. 
28 ··Author 
29 ······Matthias·Wohlmuth 
  
30 ===============================================================================23 ===============================================================================
31 ·····Generated·by [doxygen]·1.9.424 ·····Generated·by [doxygen]·1.9.4
41.2 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:·promotiontraits.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, 47 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">promotiontraits.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="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:·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_PROMOTIONTRAITS_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_PROMOTIONTRAITS_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;utility&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;map&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>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</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="a00341.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="a00257.html">dune/common/typeutilities.hh</a>&gt;</span></div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</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>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>
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> 
83 <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="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.html#a3f2079447de3426b9da835d3f32d73b6">PromotedType</a>;</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>·</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> 
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> 
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="keyword">typedef</span>·T1·<a·class="code·hl_typedef"·href="a02436.html#ab4f6d422c0baac66e9496252327e6682">PromotedType</a>;·};</div> 
92 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</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>
93 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>}·<span·class="comment">//·end·namespace</span></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>
94 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>90 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</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>
 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="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>
 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>
95 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</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>
 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>
 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>
 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>
 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>
 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>
 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>
 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>
 146 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>················std::is_convertible&lt;Impl,·Type&gt;::value</div>
 147 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>················and·not·std::is_convertible&lt;Impl,·Creator&gt;::value,</div>
 148 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>················<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div>
 149 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno"><a·class="line"·href="a02332.html#a9f2caf0add62879bef0ca0cd6fe84591">··145</a></span>········<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02332.html#a9f2caf0add62879bef0ca0cd6fe84591">define</a>(<a·class="code·hl_typedef"·href="a02332.html#aaacef10f443ad58ee6b9ffeefac18ac5">Key</a>·<span·class="keyword">const</span>&amp;·key,·Impl&amp;&amp;·t)</div>
 150 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>········{</div>
 151 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>············registry_[key]·=·[=](Args...)·{·<span·class="keywordflow">return</span>·t;};</div>
 152 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>········}</div>
 153 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>·</div>
 154 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno"><a·class="line"·href="a02332.html#accbc62bd9fcb72c9959cdc927f2fcc59">··150</a></span>········<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02332.html#accbc62bd9fcb72c9959cdc927f2fcc59">contains</a>(<a·class="code·hl_typedef"·href="a02332.html#aaacef10f443ad58ee6b9ffeefac18ac5">Key</a>·<span·class="keyword">const</span>&amp;·key)<span·class="keyword">·const</span></div>
 155 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span><span·class="keyword">········</span>{</div>
 156 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>············<span·class="keywordflow">return</span>·registry_.count(key);</div>
 157 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>········}</div>
 158 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div>
 159 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>····<span·class="keyword">private</span>:</div>
 160 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div>
Max diff block lines reached; 6567/34618 bytes (18.97%) of diff not shown.
7.29 KB
html2text {}
    
Offset 4, 54 lines modifiedOffset 4, 205 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 promotiontraits.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_PROMOTIONTRAITS_HH 
15 ·6#define·DUNE_PROMOTIONTRAITS_HH14 ·5#ifndef·DUNE_COMMON_PARAMETERIZEDOBJECT_HH
 15 ·6#define·DUNE_COMMON_PARAMETERIZEDOBJECT_HH
16 ·716 ·7
17 ·8#include·<utility>17 ·8#include·<functional>
18 ·918 ·9#include·<map>
 19 ·10#include·<memory>
 20 ·11
 21 ·12#include·<dune/common/exceptions.hh>
 22 ·13#include·<dune/common/typeutilities.hh>
 23 ·14
19 ·10namespace·Dune·{24 ·15namespace·Dune·{
 25 ·16
 26 ·34template<typename·Signature,
 27 ·35·typename·KeyT·=·std::string>
 28 36class·ParameterizedObjectFactory;
 29 ·37
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>30 ·38template<typename·TypeT,
32 35·struct·PromotionTraits<T1,T1>·{·typedef·T1·PromotedType;·}; 
33 ·3631 ·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>
 53 63·static·constexpr·std::false_type·has_proper_signature(Dune::PriorityTag<0>)
 54 ·64·{
 55 ·65·return·{};
 56 ·66·}
 57 ·67
 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");
 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 ·105
 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<
 86 ·142·std::is_convertible<Impl,·Type>::value
 87 ·143·and·not·std::is_convertible<Impl,·Creator>::value,
 88 ·144·int>::type·=·0>
 89 145·void·define(Key·const&·key,·Impl&&·t)
 90 ·146·{
 91 ·147·registry_[key]·=·[=](Args...)·{·return·t;};
 92 ·148·}
 93 ·149
 94 150·bool·contains(Key·const&·key)·const
 95 ·151·{
 96 ·152·return·registry_.count(key);
 97 ·153·}
 98 ·154
 99 ·155·private:
 100 ·156
 101 ·157·template<class·T>
 102 ·158·struct·Tag{};
 103 ·159
 104 ·160·template<class·Impl>
 105 ·161·struct·DefaultCreator
 106 ·162·{
 107 ·163·template<class...·T>
 108 ·164·Type·operator()(T&&...·args)·const
 109 ·165·{
 110 ·166·return·DefaultCreator::create(Tag<Type>(),·PriorityTag<42>(),·std::
 111 forward<T>(args)...);
 112 ·167·}
 113 ·168
Max diff block lines reached; 2822/7442 bytes (37.92%) of diff not shown.
24.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:·dynmatrixev.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 64, 45 lines modifiedOffset 64, 113 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;
 73 <a·href="#var-members">Variables</a>··</div>
72 ··<div·class="headertitle"><div·class="title">dynmatrixev.hh·File·Reference</div></div>74 ··<div·class="headertitle"><div·class="title">indices.hh·File·Reference</div></div>
73 </div><!--header-->75 </div><!--header-->
74 <div·class="contents">76 <div·class="contents">
  
75 <p>utility·functions·to·compute·eigenvalues·for·dense·matrices.·· 
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;cstddef&gt;</code><br·/>
 78 <code>#include·&lt;type_traits&gt;</code><br·/>
78 <code>#include·&lt;memory&gt;</code><br·/>79 <code>#include·&lt;utility&gt;</code><br·/>
79 <code>#include·&quot;<a·class="el"·href="a00191_source.html">dynmatrix.hh</a>&quot;</code><br·/>80 <code>#include·&lt;<a·class="el"·href="a00320_source.html">dune/common/keywords.hh</a>&gt;</code><br·/>
80 <code>#include·&quot;<a·class="el"·href="a00218_source.html">fmatrixev.hh</a>&quot;</code><br·/> 
81 </div>81 </div>
82 <p><a·href="a00251_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00251_source.html">Go·to·the·source·code·of·this·file.</a></p>
83 <table·class="memberdecls">83 <table·class="memberdecls">
84 <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>
85 Namespaces</h2></td></tr>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>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>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>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>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>
 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>
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 </table><table·class="memberdecls">92 </table><table·class="memberdecls">
 93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-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>
 98 <tr·class="separator:gacf764509e6dae37477f5ad09b5ca3467"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 99 </table><table·class="memberdecls">
92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
93 Functions</h2></td></tr>101 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>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>
 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>
97 <tr·class="separator:a3a886253fd1bce66e013df6cf7548749"><td·class="memSeparator"·colspan="2">&#160;</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>
 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>
 132 <tr·class="separator:ga2ca75d1d25482664a74ee83e8ce0b5fe"><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>
 134 <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>
 135 <tr·class="separator:ga1c19945beef1b5f54065de84e7a8641f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 136 <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>
 137 <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>
 138 <tr·class="separator:ga3419af1bbd8440b0e54d041f2a8c2b80"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 139 <tr·class="memitem:gac31c1f8aded673ba67174158bd5fa33b"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·10·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gac31c1f8aded673ba67174158bd5fa33b">Dune::Indices::_10</a>·=·{}</td></tr>
 140 <tr·class="memdesc:gac31c1f8aded673ba67174158bd5fa33b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·10.··<a·href="a00397.html#gac31c1f8aded673ba67174158bd5fa33b">More...</a><br·/></td></tr>
 141 <tr·class="separator:gac31c1f8aded673ba67174158bd5fa33b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 142 <tr·class="memitem:gaac852bc693ac4fbdebac5196bcdc9a64"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·11·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gaac852bc693ac4fbdebac5196bcdc9a64">Dune::Indices::_11</a>·=·{}</td></tr>
 143 <tr·class="memdesc:gaac852bc693ac4fbdebac5196bcdc9a64"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·11.··<a·href="a00397.html#gaac852bc693ac4fbdebac5196bcdc9a64">More...</a><br·/></td></tr>
 144 <tr·class="separator:gaac852bc693ac4fbdebac5196bcdc9a64"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 145 <tr·class="memitem:ga70c227071a19ea12597ebde7abc8d373"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·12·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga70c227071a19ea12597ebde7abc8d373">Dune::Indices::_12</a>·=·{}</td></tr>
 146 <tr·class="memdesc:ga70c227071a19ea12597ebde7abc8d373"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·12.··<a·href="a00397.html#ga70c227071a19ea12597ebde7abc8d373">More...</a><br·/></td></tr>
 147 <tr·class="separator:ga70c227071a19ea12597ebde7abc8d373"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 148 <tr·class="memitem:gab861b496b29bb9d1f32b4010434e003d"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·13·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gab861b496b29bb9d1f32b4010434e003d">Dune::Indices::_13</a>·=·{}</td></tr>
 149 <tr·class="memdesc:gab861b496b29bb9d1f32b4010434e003d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·13.··<a·href="a00397.html#gab861b496b29bb9d1f32b4010434e003d">More...</a><br·/></td></tr>
 150 <tr·class="separator:gab861b496b29bb9d1f32b4010434e003d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 151 <tr·class="memitem:ga46aedfe3d5090a00cffcb7a652013a7f"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·14·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga46aedfe3d5090a00cffcb7a652013a7f">Dune::Indices::_14</a>·=·{}</td></tr>
 152 <tr·class="memdesc:ga46aedfe3d5090a00cffcb7a652013a7f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·14.··<a·href="a00397.html#ga46aedfe3d5090a00cffcb7a652013a7f">More...</a><br·/></td></tr>
 153 <tr·class="separator:ga46aedfe3d5090a00cffcb7a652013a7f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 154 <tr·class="memitem:ga1a8ff2bb0e356684b14a2c5e3c4d60bc"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·15·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga1a8ff2bb0e356684b14a2c5e3c4d60bc">Dune::Indices::_15</a>·=·{}</td></tr>
 155 <tr·class="memdesc:ga1a8ff2bb0e356684b14a2c5e3c4d60bc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·15.··<a·href="a00397.html#ga1a8ff2bb0e356684b14a2c5e3c4d60bc">More...</a><br·/></td></tr>
 156 <tr·class="separator:ga1a8ff2bb0e356684b14a2c5e3c4d60bc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 157 <tr·class="memitem:ga16898b601989e869b270c43c173de953"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·16·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga16898b601989e869b270c43c173de953">Dune::Indices::_16</a>·=·{}</td></tr>
 158 <tr·class="memdesc:ga16898b601989e869b270c43c173de953"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·16.··<a·href="a00397.html#ga16898b601989e869b270c43c173de953">More...</a><br·/></td></tr>
 159 <tr·class="separator:ga16898b601989e869b270c43c173de953"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 160 <tr·class="memitem:gac1f450218a4ab129a04ae59bac7c57a1"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·17·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gac1f450218a4ab129a04ae59bac7c57a1">Dune::Indices::_17</a>·=·{}</td></tr>
 161 <tr·class="memdesc:gac1f450218a4ab129a04ae59bac7c57a1"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·17.··<a·href="a00397.html#gac1f450218a4ab129a04ae59bac7c57a1">More...</a><br·/></td></tr>
 162 <tr·class="separator:gac1f450218a4ab129a04ae59bac7c57a1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 163 <tr·class="memitem:gab50e00b1160125118d3a3f36f0d82654"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·18·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gab50e00b1160125118d3a3f36f0d82654">Dune::Indices::_18</a>·=·{}</td></tr>
 164 <tr·class="memdesc:gab50e00b1160125118d3a3f36f0d82654"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·18.··<a·href="a00397.html#gab50e00b1160125118d3a3f36f0d82654">More...</a><br·/></td></tr>
 165 <tr·class="separator:gab50e00b1160125118d3a3f36f0d82654"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 166 <tr·class="memitem:gae846500876d7d06fe7f53c03b5c23fbf"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·19·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gae846500876d7d06fe7f53c03b5c23fbf">Dune::Indices::_19</a>·=·{}</td></tr>
 167 <tr·class="memdesc:gae846500876d7d06fe7f53c03b5c23fbf"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·19.··<a·href="a00397.html#gae846500876d7d06fe7f53c03b5c23fbf">More...</a><br·/></td></tr>
 168 <tr·class="separator:gae846500876d7d06fe7f53c03b5c23fbf"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Max diff block lines reached; 507/20373 bytes (2.49%) of diff not shown.
4.3 KB
html2text {}
    
Offset 4, 33 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·|·Functions7 Namespaces·|·Typedefs·|·Functions·|·Variables
8 dynmatrixev.hh·File·Reference8 indices.hh·File·Reference
 9 #include·<cstddef>
 10 #include·<type_traits>
 11 #include·<utility>
 12 #include·<dune/common/keywords.hh>
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.
15 ·Namespaces14 ·Namespaces
16 namespace· Dune15 namespace· Dune
17  ··········Dune·namespace.16  ··········Dune·namespace.
18  17  
19 namespace· Dune::DynamicMatrixHelp18 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...
20  26  
21 ·Functions27 ·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...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  
 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...
 91  
 92 constexpr·index_constant<·19·> Dune::Indices::_19·=·{}
 93  ······························Compile·time·index·with·value·19.·More...
27  94  
28 *****·Detailed·Description·***** 
29 utility·functions·to·compute·eigenvalues·for·dense·matrices. 
  
30 ===============================================================================95 ===============================================================================
31 ·····Generated·by [doxygen]·1.9.496 ·····Generated·by [doxygen]·1.9.4
52.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a00251_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:·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 62, 119 lines modifiedOffset 62, 116 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">indices.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00251.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="a00251.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> 
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DYNMATRIXEIGENVALUES_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;algorithm&gt;</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;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;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>
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>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00191.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="a00218.html">fmatrixev.hh</a>&quot;</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="a00320.html">dune/common/keywords.hh</a>&gt;</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>
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>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="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>
85 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>89 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</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>90 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</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> 
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>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>
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>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="a00320.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>
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>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="a00320.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>
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>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="a00320.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>
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>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="a00320.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>
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>101 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</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>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="a00320.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keywor[·...·truncated·by·diffoscope;·len:·222,·SHA:·d03fbc4169f364a23ef4f56fb8c003af0b83a219cc0a9faef6d83dca791148d5·...·]{};</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="a00320.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="a00320.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>
126 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</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="a00320.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>
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>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="a00320.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>
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>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="a00320.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>
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>113 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</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>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="a00320.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword[·...·truncated·by·diffoscope;·len:·223,·SHA:·227a89ad51e8c34620833eff77aa3d0c36f880cc0dfeec1c247502450d0ea781·...·];</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="a00320.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="a00320.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>
144 <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="a00320.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>
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> 
Max diff block lines reached; 15474/44624 bytes (34.68%) of diff not shown.
8.93 KB
html2text {}
    
Offset 4, 144 lines modifiedOffset 4, 185 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 dynmatrixev.hh7 indices.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_HH 
16 ·7 
17 ·8#include·<algorithm> 
18 ·9#include·<memory> 
19 ·10 
20 ·11#include·"dynmatrix.hh" 
21 ·12#include·"fmatrixev.hh" 
22 ·1314 ·5
 15 ·6#ifndef·DUNE_COMMON_INDICES_HH
 16 ·7#define·DUNE_COMMON_INDICES_HH
 17 ·8
 18 ·9#include·<cstddef>
 19 ·10#include·<type_traits>
 20 ·11#include·<utility>
 21 ·12
 22 ·13#include·<dune/common/keywords.hh>
 23 ·14
23 ·22namespace·Dune·{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 ·32
 30 ·33
 31 50·namespace·Indices
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 ·5132 ·51·{
 33 53·DUNE_INLINE_VARIABLE·constexpr·index_constant<_0>·_0·=·{};
45 ·52·//·matrix·to·put·into·dgeev 
46 ·53·auto·matrixVector·=·std::make_unique<double[]>(N*N); 
47 ·5434 ·54
 35 56·DUNE_INLINE_VARIABLE·constexpr·index_constant<_1>·_1·=·{};
 36 ·57
 37 59·DUNE_INLINE_VARIABLE·constexpr·index_constant<_2>·_2·=·{};
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·{38 ·60
 39 62·DUNE_INLINE_VARIABLE·constexpr·index_constant<_3>·_3·=·{};
54 ·61·matrixVector[·row·]·=·matrix[·i·][·j·]; 
55 ·62·} 
56 ·63·}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·=·{};
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 ·7246 ·72
 47 74·DUNE_INLINE_VARIABLE·constexpr·index_constant<_7>·_7·=·{};
67 ·73·//·return·value·information 
68 ·74·long·int·info·=·0; 
69 ·7548 ·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·=·{};
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 ·9058 ·90
 59 92·DUNE_INLINE_VARIABLE·constexpr·index_constant<13>·_13·=·{};
 60 ·93
 61 95·DUNE_INLINE_VARIABLE·constexpr·index_constant<14>·_14·=·{};
 62 ·96
Max diff block lines reached; 4813/9124 bytes (52.75%) of diff not shown.
69.5 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:·debugalign.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, 380 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="#define-members">Macros</a>·&#124; 
73 <a·href="#typedef-members">Typedefs</a>·&#124; 
74 <a·href="#func-members">Functions</a>·&#124; 
75 <a·href="#var-members">Variables</a>··</div> 
76 ··<div·class="headertitle"><div·class="title">debugalign.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">binaryfunctions.hh·File·Reference</div></div>
77 </div><!--header-->73 </div><!--header-->
78 <div·class="contents">74 <div·class="contents">
  
 75 <p>helper·classes·to·provide·unique·types·for·standard·functions··
 76 <a·href="#details">More...</a></p>
79 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>77 <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·/> 
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="a00026_source.html">dune/common/classname.hh</a>&gt;</code><br·/> 
92 <code>#include·&lt;<a·class="el"·href="a00239_source.html">dune/common/indices.hh</a>&gt;</code><br·/> 
93 <code>#include·&lt;<a·class="el"·href="a00272_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/> 
94 <code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/simd/defaults.hh</a>&gt;</code><br·/> 
95 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
96 </div>78 </div>
97 <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>
98 <table·class="memberdecls">80 <table·class="memberdecls">
99 <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>
100 Classes</h2></td></tr>82 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>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>
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> 
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <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>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>
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 </table><table·class="memberdecls">87 </table><table·class="memberdecls">
116 <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>
117 Namespaces</h2></td></tr>89 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>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>
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>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>
120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <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="a00254.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="a00254.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="a00254.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"> 
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> 
169 <tr·class="separator:a438743c199b67aeaf239115b8ba8a9ff"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
170 <tr·class="memitem:af1e2765c6bde940b7c0dc84fe8a34d93"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00428.html#af1e2765c6bde940b7c0dc84fe8a34d93">Dune::AlignedNumberImpl::DUNE_BINARY_OP</a>·(&gt;·&gt;)</td></tr> 
171 <tr·class="separator:af1e2765c6bde940b7c0dc84fe8a34d93"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
Max diff block lines reached; 10164/55771 bytes (18.22%) of diff not shown.
15.0 KB
html2text {}
    
Offset 4, 395 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·|·Macros·|·Typedefs·|·Functions·|·Variables 
8 debugalign.hh·File·Reference7 Classes·|·Namespaces
 8 binaryfunctions.hh·File·Reference
 9 helper·classes·to·provide·unique·types·for·standard·functions·More...
9 #include·<algorithm>10 #include·<algorithm>
10 #include·<cassert> 
11 #include·<cmath> 
12 #include·<complex> 
13 #include·<cstddef> 
14 #include·<cstdint> 
15 #include·<cstdlib> 
16 #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> 
26 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
27 ·Classes12 ·Classes
 13 struct· Dune::Min<_Type_>
28 ·class· Dune::AlignedBase<_align,_Impl_> 
29  ·······CRTP·base·mixin·class·to·check·alignment.·More... 
30  14  
 15 struct· Dune::Max<_Type_>
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  
 21 *****·Detailed·Description·*****
 22 helper·classes·to·provide·unique·types·for·standard·functions
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   
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   
68 ·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 
116 ···································(acos) 
117   
118 ································· Dune::AlignedNumberImpl::DUNE_UNARY_FUNC 
119 ···································(acosh) 
120   
Max diff block lines reached; 116/15311 bytes (0.76%) of diff not shown.
160 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:·debugalign.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, 613 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">debugalign.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="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_DEBUGALIGN_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_DEBUGALIGN_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;algorithm&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;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>79 <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;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>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>
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>84 <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;utility&gt;</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="st[·...·truncated·by·diffoscope;·len:·112,·SHA:·ab2961e1aba15ca24753b36951eb8d3ec5309507afc1cbafd1edc93907a3c46d·...·]</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"><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>
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00026.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="a00239.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="a00272.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="a00266.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="a00386.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>88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</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>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_typ[·...·truncated·by·diffoscope;·len:·146,·SHA:·5f0f3c5155109f43e86cad8019a53948d59c6d863a75993e5366bbd9907e52a9·...·]</div>
98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</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>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">c[·...·truncated·by·diffoscope;·len:·109,·SHA:·da7467954b3e69abe6022d5c3153dda591f587976b7fc5e7fe2b24bf99e9f426·...·]</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>
101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</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>
102 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</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"><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>
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> 
104 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> 
105 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</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>
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>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>
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> 
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>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>
142 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··}·<span·class="comment">//·namespace·AlignedNumberImpl</span></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">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> 
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> 
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> 
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; 19363/137634 bytes (14.07%) of diff not shown.
25.6 KB
html2text {}
    
Offset 4, 748 lines modifiedOffset 4, 103 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 debugalign.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_DEBUGALIGN_HH 
15 ·6#define·DUNE_DEBUGALIGN_HH14 ·5#ifndef·DUNE_BINARYFUNCTIONS_HH
 15 ·6#define·DUNE_BINARYFUNCTIONS_HH
16 ·716 ·7
17 ·8#include·<algorithm>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;
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> 
25 ·16#include·<istream> 
26 ·17#include·<ostream> 
27 ·18#include·<type_traits> 
28 ·19#include·<utility> 
29 ·2026 ·20
 27 21·using·second_argument_type·[[deprecated("This·type·alias·is·deprecated
 28 following·similar·deprecations·in·C++17")]]·=·Type;
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 
36 ·27namespace·Dune·{ 
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 ·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) 
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·} 
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·}; 
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 ·102 
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 
98 ·106·//·std::sqrt;`.·Without·any·`Dune::sqrt()`,·such·a·use·will·find 
99 ·107·//·`::sqrt()`,·but·with·`Dune::sqrt()`·it·will·find·only·`Dune::sqrt()`, 
100 ·108·//·which·does·not·have·an·overload·for·`double`. 
101 ·109·namespace·AlignedNumberImpl·{ 
102 ·110 
103 ·112·template<class·T,·std::size_t·align> 
104 113·class·AlignedNumber 
105 ·114·:·public·AlignedBase<align,·AlignedNumber<T,·align>·> 
106 ·115·{ 
107 ·116·T·value_; 
108 ·117 
109 ·118·public: 
110 119·AlignedNumber()·=·default; 
111 120·AlignedNumber(T·value)·:·value_(std::move(value))·{} 
112 ·121·template<class·U,·std::size_t·uAlign, 
113 ·122·class·=·std::enable_if_t<(align·>=·uAlign)·&& 
114 ·123·std::is_convertible<U,·T>::value>·> 
115 124·AlignedNumber(const·AlignedNumber<U,_uAlign>·&o)·:·value_(U(o))·{} 
Max diff block lines reached; 6739/26141 bytes (25.78%) of diff not shown.
12.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:·path.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, 59 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 ··<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>[·...·truncated·by·diffoscope;·len:·6,·SHA:·aac32651b10f567c461b9b4f255d6fb1fa6859b5368d8bd9a51af920ab21cf23·...·]</div>72 <a·href="#typedef-members">Typedefs</a>··</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">
  
75 <p>Utilities·for·handling·filesystem·paths.··76 <p>Utilities·for·type·computations,·constraining·overloads,·...··
76 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
 79 <code>#include·&lt;type_traits&gt;</code><br·/>
78 <code>#include·&lt;iterator&gt;</code><br·/>80 <code>#include·&lt;tuple&gt;</code><br·/>
 81 </div>
 82 <p><a·href="a00257_source.html">Go·to·the·source·code·of·this·file.</a></p>
79 <code>#include·&lt;string&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00092_source.html">dune/common/stringutility.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00029_source.html">dune/common/path.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>
 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>
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> 
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> 
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="separator:ga5cf0dfc6fe8998b21503cd81c6681afc"><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>105 </table>
111 <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>
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·c[·...·truncated·by·diffoscope;·len:·49,·SHA:·da81661999ee4d58eae7cc6dc08309aac8a6218eda1627a4084cc65f19722503·...·]>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>
114 </div></div><!--·contents·-->109 </div></div><!--·contents·-->
115 <!--·start·footer·part·-->110 <!--·start·footer·part·-->
116 <hr·class="footer"/><address·class="footer"><small>111 <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.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
118 </small></address>113 </small></address>
119 </body>114 </body>
120 </html>115 </html>
2.22 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·|·Functions 
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>7 Classes·|·Namespaces·|·Typedefs
 8 typeutilities.hh·File·Reference
 9 Utilities·for·type·computations,·constraining·overloads,·...·More...
 10 #include·<cstddef>
 11 #include·<type_traits>
 12 #include·<tuple>
 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 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   
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  30  
42 *****·Detailed·Description·*****31 *****·Detailed·Description·*****
43 Utilities·for·handling·filesystem·paths.32 Utilities·for·type·computations,·constraining·overloads,·...
44 ··Author33 ··Author
45 ·······Fahlke·jorri.nosp@m.t@jo.nosp@m.rrit..nosp@m.de34 ······Carsten·Gräser
  
46 ===============================================================================35 ===============================================================================
47 ·····Generated·by [doxygen]·1.9.436 ·····Generated·by [doxygen]·1.9.4
25.1 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:·test.cc·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 58, 25 lines modifiedOffset 58, 123 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">float_cmp.cc·File·Reference</div></div>
69 </div><!--header-->73 </div><!--header-->
70 <div·class="contents">74 <div·class="contents">
71 <div·class="textblock"><code>#include·&lt;config.h&gt;</code><br·/>75 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00224_source.html">float_cmp.hh</a>&quot;</code><br·/>
72 <code>#include·&lt;ostream&gt;</code><br·/>76 <code>#include·&lt;vector&gt;</code><br·/>
 77 <code>#include·&lt;limits&gt;</code><br·/>
 78 <code>#include·&lt;algorithm&gt;</code><br·/>
73 <code>#include·&lt;string&gt;</code><br·/>79 <code>#include·&lt;cstdlib&gt;</code><br·/>
74 <code>#include·&lt;<a·class="el"·href="a00281_source.html">dune/common/simd/test.hh</a>&gt;</code><br·/>80 <code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
 81 </div><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="a01588.html">Dune::FloatCmp::EpsilonType&lt;·T·&gt;</a></td></tr>
 85 <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>
 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="a01592.html">Dune::FloatCmp::EpsilonType&lt;·std::vector&lt;·T,·A·&gt;·&gt;</a></td></tr>
 88 <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>
 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="a01596.html">Dune::FloatCmp::EpsilonType&lt;·FieldVector&lt;·T,·n·&gt;·&gt;</a></td></tr>
 91 <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>
 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="a01600.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·relativeWeak·&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="a01604.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·relativeStrong·&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="a01608.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·absolute·&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: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>
 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:ga50c93e693f102298c61ecb14758f8d5b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr>
 111 <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>
 112 <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>
 113 <tr·class="separator:ga50c93e693f102298c61ecb14758f8d5b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 114 <tr·class="memitem:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr>
 115 <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>
 116 <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>
 117 <tr·class="separator:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 118 <tr·class="memitem:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr>
 119 <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>
 120 <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>
 121 <tr·class="separator:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 122 <tr·class="memitem:gacca725b16b35b04c4eea0c4ee21757de"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr>
 123 <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>
 124 <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>
 125 <tr·class="separator:gacca725b16b35b04c4eea0c4ee21757de"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 126 <tr·class="memitem:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr>
 127 <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>
 128 <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>
 129 <tr·class="separator:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 130 <tr·class="memitem:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr>
 131 <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>
 132 <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>
 133 <tr·class="separator:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 134 <tr·class="memitem:a20989b2c0619b31d8a15c85aae184d32"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 135 <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>
 136 <tr·class="separator:a20989b2c0619b31d8a15c85aae184d32"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 137 <tr·class="memitem:af10cd25d78f35677c8d588e924792cff"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 138 <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>
 139 <tr·class="separator:af10cd25d78f35677c8d588e924792cff"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 140 <tr·class="memitem:a15ac4ddae1d906c2ea6c6aa0e16c0e41"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 141 <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>
 142 <tr·class="separator:a15ac4ddae1d906c2ea6c6aa0e16c0e41"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 143 <tr·class="memitem:ac752c032096de736aa97b2c6cbcd5190"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 144 <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>
 145 <tr·class="separator:ac752c032096de736aa97b2c6cbcd5190"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 146 <tr·class="memitem:a9c439fbc2fe166ff75f97f69fb5aee9d"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 147 <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>
 148 <tr·class="separator:a9c439fbc2fe166ff75f97f69fb5aee9d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 149 <tr·class="memitem:a28bc28618b41c234fb9c83284c6a9d52"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 150 <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>
 151 <tr·class="separator:a28bc28618b41c234fb9c83284c6a9d52"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 152 <tr·class="memitem:ga510d97be4644ccab5db0b674d79633c6"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle&gt;·</td></tr>
 153 <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>
 154 <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>
 155 <tr·class="separator:ga510d97be4644ccab5db0b674d79633c6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 156 <tr·class="memitem:aa1c6178f9e297570109a68b93e95a3ef"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·CmpStyle·cstyle&gt;·</td></tr>
 157 <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>
 158 <tr·class="separator:aa1c6178f9e297570109a68b93e95a3ef"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 159 <tr·class="memitem:a1014d75e7683b011cabd18f3ab8d2499"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·&gt;·</td></tr>
 160 <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>
 161 <tr·class="separator:a1014d75e7683b011cabd18f3ab8d2499"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 162 <tr·class="memitem:ga78eaf86b21236f5c55336724e911da08"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle&gt;·</td></tr>
 163 <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>
 164 <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>
 165 <tr·class="separator:ga78eaf86b21236f5c55336724e911da08"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 166 <tr·class="memitem:aa47496c22fdda340c3f4d0d1ac0b56a1"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·CmpStyle·cstyle&gt;·</td></tr>
 167 <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; 243/20710 bytes (1.17%) of diff not shown.
4.75 KB
html2text {}
    
Offset 4, 16 lines modifiedOffset 4, 127 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 float_cmp.cc·File·Reference
9 #include·<config.h> 
10 #include·<ostream>9 #include·"float_cmp.hh"
 10 #include·<vector>
 11 #include·<limits>
 12 #include·<algorithm>
11 #include·<string>13 #include·<cstdlib>
12 #include·<dune/common/simd/test.hh>14 #include·<dune/common/fvector.hh>
 15 ·Classes
 16 struct· Dune::FloatCmp::EpsilonType<_T_>
 17  ·······Mapping·of·value·type·to·epsilon·type.·More...
 18  
 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  
 120 template<class·I·,·class·T·>
 121 ···I Dune::FloatCmp::trunc·(const·T·&val,·typename·EpsilonType<·T·>::Type
 122 ······epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>::value())
 123  
  
13 ===============================================================================124 ===============================================================================
Max diff block lines reached; 0/4839 bytes (0.00%) of diff not shown.
92.4 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:·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, 680 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_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>·&#124;69 <a·href="#namespaces">Namespaces</a>·&#124;
71 <a·href="#define-members">Macros</a>·&#124; 
72 <a·href="#func-members">Functions</a>··</div>70 <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">transpose.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;array&gt;</code><br·/>74 <div·class="textblock"><code>#include·&lt;cstddef&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·/>75 <code>#include·&lt;functional&gt;</code><br·/>
80 <code>#include·&lt;ostream&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00290_source.html">dune/common/math.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/> 
83 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>76 <code>#include·&lt;<a·class="el"·href="a00287_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>
 77 <code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/>
 78 <code>#include·&lt;<a·class="el"·href="a00209_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/>
 79 <code>#include·&lt;<a·class="el"·href="a00026_source.html">dune/common/referencehelper.hh</a>&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00104_source.html">dune/common/dynmatrix.hh</a>&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/matrixconcepts.hh</a>&gt;</code><br·/>
84 </div>82 </div>
85 <p><a·href="a00263_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00263_source.html">Go·to·the·source·code·of·this·file.</a></p>
86 <table·class="memberdecls">84 <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>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
101 Namespaces</h2></td></tr>86 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>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>
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>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>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <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">90 </table><table·class="memberdecls">
144 <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>
145 Functions</h2></td></tr>92 Functions</h2></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>
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> 
Max diff block lines reached; 31194/76866 bytes (40.58%) of diff not shown.
17.2 KB
html2text {}
    
Offset 4, 490 lines modifiedOffset 4, 44 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Namespaces·|·Functions
7 ····*·simd 
8 Classes·|·Namespaces·|·Macros·|·Functions 
9 loop.hh·File·Reference8 transpose.hh·File·Reference
10 #include·<array> 
11 #include·<cmath> 
12 #include·<cstddef>9 #include·<cstddef>
 10 #include·<functional>
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>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>
18 Go_to_the_source_code_of_this_file.17 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 ·Namespaces18 ·Namespaces
31 namespace· Dune19 namespace· Dune
32  ··········Dune·namespace.20  ··········Dune·namespace.
33  21  
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 ·Functions22 ·Functions
73 ···························· Dune::DUNE_SIMD_LOOP_BINARY_OP·(+)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...
74  27  
75 ···························· Dune::DUNE_SIMD_LOOP_BINARY_OP·(-)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...
76  32  
77 ··DUNE_SIMD_LOOP_BINARY_OP·* Dune::DUNE_SIMD_LOOP_BINARY_OP·(/ 
78 ······························);DUNE_SIMD_LOOP_BINARY_OP(%33 template<class·Matrix·>
 34 auto Dune::transpose·(const·std::reference_wrapper<·Matrix·>·&matrix)
 35  ····Create·a·wrapper·modelling·the·transposed·matrix.·More...
79  36  
 37 template<class·Matrix·>
 38 auto Dune::transposedView·(const·Matrix·&matrix)
 39  ····Create·a·view·modelling·the·transposed·matrix.·More...
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)·- 
Max diff block lines reached; 7067/17574 bytes (40.21%) of diff not shown.
211 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:·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, 705 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_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">transpose.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_TRANSPOSE_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_TRANSPOSE_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">#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>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><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>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="a00287.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="a00290.html">dune/common/math.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="a00311.html">dune/common/fmatrix.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="a04442.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="a00386.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="a00209.html">dune/common/promotiontraits.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>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00026.html">dune/common/referencehelper.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="a00104.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="a00236.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>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>
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>
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>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>·</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">#if·__GNUC__·&gt;=·7</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>
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="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>
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>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="keyword">template</span>&lt;<span·class="keyword">class</span>·M&gt;</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>
100 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">/*</span></div>105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</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>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>
103 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">·*/</span></div>108 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</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>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="preprocessor">#endif</span></div> 
111 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</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">/*</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><span·class="comment">·*·Introduce·a·simd·pragma·if·OpenMP·is·available·in·standard·version·&gt;=·4</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>
114 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">·*/</span></div>118 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</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>119 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">public</span>:</div>
120 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>120 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</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>
 123 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··};</div>
121 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>124 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</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="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</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>
125 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keyword">public</span>:</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>
126 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>135 <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#a10f66b4d8465[·...·truncated·by·diffoscope;·len:·204,·SHA:·88750e5c212dea4455876aca503029c0a48de4e74ab93b1b69aa4bfc4b2b9dd4·...·];</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&l[·...·truncated·by·diffoscope;·len:·107,·SHA:·e74035b995be7363aeb633adb07f255a2f2cc7fda9c50cb9a34ad311ac6ad6e9·...·];</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>
130 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</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>
131 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>141 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
Max diff block lines reached; 140309/181171 bytes (77.45%) of diff not shown.
34.4 KB
html2text {}
    
Offset 4, 844 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 ····*·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_TRANSPOSE_HH
14 ·4#define·DUNE_COMMON_SIMD_LOOP_HH15 ·6#define·DUNE_COMMON_TRANSPOSE_HH
 16 ·7
15 ·5 
16 ·6#include·<array> 
17 ·7#include·<cmath> 
18 ·8#include·<cstddef>17 ·8#include·<cstddef>
19 ·9#include·<cstdlib> 
20 ·10#include·<ostream> 
21 ·1118 ·9#include·<functional>
 19 ·10
 20 ·11#include·<dune/common/std/type_traits.hh>
22 ·12#include·<dune/common/math.hh>21 ·12#include·<dune/common/fmatrix.hh>
23 ·13#include·<dune/common/simd/simd.hh> 
24 ·14#include·<dune/common/typetraits.hh>22 ·13#include·<dune/common/promotiontraits.hh>
25 ·15 
26 ·16namespace·Dune·{23 ·14#include·<dune/common/referencehelper.hh>
 24 ·15#include·<dune/common/dynmatrix.hh>
 25 ·16#include·<dune/common/matrixconcepts.hh>
27 ·1726 ·17
28 ·1827 ·18namespace·Dune·{
29 ·19/*28 ·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#endif29 ·20namespace·Impl·{
 30 ·21
 31 ·22
 32 ·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 ·2939 ·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#endif40 ·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>
 59 ·48·{
 60 ·49·public:
60 ·5061 ·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: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>·>
66 ·6776 ·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};
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·}80 ·71
72 ·72 
73 ·73·//·broadcast·constructor·initializing·the·content·with·a·given·value 
Max diff block lines reached; 27557/35229 bytes (78.22%) of diff not shown.
25.7 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:·defaults.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, 127 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="#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 </div><!--header-->69 </div><!--header-->
72 <div·class="contents">70 <div·class="contents">
  
73 <p>Default·implementations·for·SIMD·Implementations.·· 
74 <a·href="#details">More...</a></p> 
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="a00233_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/> 
79 <code>#include·&lt;<a·class="el"·href="a00272_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a04448_source.html">dune/common/simd/interface.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00197_source.html">dune/common/typelist.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
83 </div> 
84 <p><a·href="a00266_source.html">Go·to·the·source·code·of·this·file.</a></p>71 <p><a·href="a00266_source.html">Go·to·the·source·code·of·this·file.</a></p>
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: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"> 
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><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> 
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> 
155 <tr·class="memitem:ga14422b30715ca6467ef7ad7553497e8f"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
156 <tr·class="memitem:ga14422b30715ca6467ef7ad7553497e8f"><td·class="memTemplItemLeft"·align="right"·valign="top">Mask&lt;·V·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">Dune::Simd::Overloads::mask</a>·(ADLTag&lt;·0,·std::is_same&lt;·V,·Mask&lt;·V·&gt;·&gt;::value·&gt;,·const·V·&amp;v)</td></tr> 
157 <tr·class="memdesc:ga14422b30715ca6467ef7ad7553497e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d"·title="Convert·to·mask,·analogue·of·bool(s)·for·scalars.">Simd::mask()</a>··<a·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">More...</a><br·/></td></tr> 
158 <tr·class="separator:ga14422b30715ca6467ef7ad7553497e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
159 <tr·class="memitem:gac968f40d2358486033fdc31464a2df7f"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
160 <tr·class="memitem:gac968f40d2358486033fdc31464a2df7f"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#gac968f40d2358486033fdc31464a2df7f">Dune::Simd::Overloads::mask</a>·(ADLTag&lt;·0,·!std::is_same&lt;·V,·Mask&lt;·V·&gt;·&gt;::value·&gt;,·const·V·&amp;v)</td></tr> 
161 <tr·class="memdesc:gac968f40d2358486033fdc31464a2df7f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d"·title="Convert·to·mask,·analogue·of·bool(s)·for·scalars.">Simd::mask()</a>··<a·href="a00420.html#gac968f40d2358486033fdc31464a2df7f">More...</a><br·/></td></tr> 
162 <tr·class="separator:gac968f40d2358486033fdc31464a2df7f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
163 <tr·class="memitem:ga8ae87f60e149f0ab44b71fc6624da25d"><td·class="memTemplParams"·colspan="2">template&lt;class·V1·,·class·V2·&gt;·</td></tr> 
164 <tr·class="memitem:ga8ae87f60e149f0ab44b71fc6624da25d"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#ga8ae87f60e149f0ab44b71fc6624da25d">Dune::Simd::Overloads::maskOr</a>·(ADLTag&lt;·0·&gt;,·const·V1·&amp;v1,·const·V2·&amp;v2)</td></tr> 
165 <tr·class="memdesc:ga8ae87f60e149f0ab44b71fc6624da25d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#ga19a63bc3591ee6c8fd5706c9be4380bf"·title="Logic·or·of·masks.">Simd::maskOr()</a>··<a·href="a00420.html#ga8ae87f60e149f0ab44b71fc6624da25d">More...</a><br·/></td></tr> 
Max diff block lines reached; 243/21480 bytes (1.13%) of diff not shown.
4.6 KB
html2text {}
    
Offset 4, 128 lines modifiedOffset 4, 12 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·simd 
8 Namespaces 
9 defaults.hh·File·Reference7 debugallocator.hh·File·Reference
10 Common·»·Vectorization·»·Abstraction_Developer's_Interface 
11 Default·implementations·for·SIMD·Implementations.·More... 
12 #include·<algorithm> 
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> 
20 Go_to_the_source_code_of_this_file.8 Go_to_the_source_code_of_this_file.
21 ·Namespaces 
22 namespace· Dune 
23  ··········Dune·namespace. 
24   
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) 
117  ··············implements·Simd::maskAnd()·More... 
118   
119 *****·Detailed·Description·***** 
120 Default·implementations·for·SIMD·Implementations. 
121 This·file·provides·default·overloads·for·SIMD·implementation·functions,·and 
122 deleted·placeholders·where·there·are·no·default·implementations. 
123 This·file·should·never·be·included·by·users·of·the·SIMD·abstraction.·Include 
124 <dune/common/simd/simd.hh>·instead. 
  
125 ===============================================================================9 ===============================================================================
Max diff block lines reached; 0/4689 bytes (0.00%) of diff not shown.
104 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:·defaults.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, 190 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">defaults.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="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_DEFAULTS_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_DEFAULTS_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>
76 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;algorithm&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>
77 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;cstddef&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>
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>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>
79 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</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="a00233.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="a00272.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="a04448.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="a00197.html">dune/common/typelist.hh</a>&gt;</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="a00188.html">mallocallocator.hh</a>&quot;</span></div>
 94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</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="a00386.html">dune/common/typetraits.hh</a>&gt;</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>
85 <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>
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>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>
88 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="keyword">namespace·</span>Overloads·{</div>99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">namespace·</span>DebugMemory</div>
89 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</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="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>
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>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>
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#ae[·...·truncated·by·diffoscope;·len:·166,·SHA:·652545349cc12ef93a00e25d44d36a45e93f3e73e2852e93d6571ebb283dd615·...·]</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>
92 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</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>
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>121 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keyword">struct·</span>AllocationInfo</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> 
95 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······{</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>
96 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<span·class="keywordflow">return</span>·u;</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>
97 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</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>········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>
98 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>133 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</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[·...·truncated·by·diffoscope;·len:·193,·SHA:·86a73b33d41cf8bcdce6626cbde2d547769a4591d45160ac60ff178d0d3cb127·...·]</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>
101 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······{</div>136 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······AllocationList·allocation_list;</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> 
107 <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>·</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>138 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">private</span>:</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>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>
112 <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="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>
113 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</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>
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>152 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··········<span·class="keywordflow">else</span></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>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>
Max diff block lines reached; 2388/89407 bytes (2.67%) of diff not shown.
16.3 KB
html2text {}
    
Offset 4, 262 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 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_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>
17 ·18#include·<cstddef>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
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·{34 ·25namespace·Dune
 35 ·26{
 36 ·27
 37 ·28#ifndef·DOXYGEN·//·hide·implementation·details·from·doxygen
 38 ·29·namespace·DebugMemory
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·{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
36 ·54·return·u; 
37 ·55·} 
38 ·56 
39 ·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 ·52·{
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)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
Max diff block lines reached; 12020/16674 bytes (72.09%) of diff not shown.
7.53 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:·base.hh·File·Reference</title>8 <title>dune-common:·interfaces.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, 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_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>··</div>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 ··<div·class="headertitle"><div·class="title">interfaces.hh·File·Reference</div></div>
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
74 <p>Basic·definitions·for·SIMD·Implementations.··74 <p>Provides·interfaces·for·detection·of·specific·behavior.··
75 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
  
76 <p><a·href="a00272_source.html">Go·to·the·source·code·of·this·file.</a></p>76 <p><a·href="a00272_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="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="a02612.html">Dune::Simd::Overloads::ADLTag&lt;·i·&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="a01868.html">Dune::Cloneable</a></td></tr>
 81 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·interface·class·for·cloneable·objects.··<a·href="a01868.html#details">More...</a><br·/></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>82 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table><table·class="memberdecls">83 </table><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 <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>89 </table>
97 <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·>Provides·interfaces·for·detection·of·specific·behavior.·</p>
 92 <dl·class="section·author"><dt>Author</dt><dd>Robert·Kloefkorn·</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="a04442.html"·title="Include·file·for·users·of·the·SIMD·abstraction·layer.">dune/common/simd/simd.hh</a>&gt;·instead.·</p> 
101 </div></div><!--·contents·-->93 </div></div><!--·contents·-->
102 <!--·start·footer·part·-->94 <!--·start·footer·part·-->
103 <hr·class="footer"/><address·class="footer"><small>95 <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.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
105 </small></address>97 </small></address>
106 </body>98 </body>
107 </html>99 </html>
1.4 KB
html2text {}
    
Offset 4, 39 lines modifiedOffset 4, 26 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·simd 
8 Classes·|·Namespaces7 Classes·|·Namespaces
9 base.hh·File·Reference8 interfaces.hh·File·Reference
 9 Provides·interfaces·for·detection·of·specific·behavior.·More...
10 Common·»·Vectorization·»·Abstraction_Developer's_Interface 
11 Basic·definitions·for·SIMD·Implementations.·More... 
12 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
13 ·Classes11 ·Classes
 12 struct· Dune::Cloneable
 13  ·······An·interface·class·for·cloneable·objects.·More...
14 struct· Dune::Simd::Overloads::ADLTag<_i_> 
15   
16 struct· Dune::Simd::Overloads::ADLTag<_0_> 
17  14  
18 ·Namespaces15 ·Namespaces
19 namespace· Dune16 namespace· Dune
20  ··········Dune·namespace.17  ··········Dune·namespace.
21  18  
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·*****19 *****·Detailed·Description·*****
 20 Provides·interfaces·for·detection·of·specific·behavior.
 21 ··Author
 22 ······Robert·Kloefkorn
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 ===============================================================================23 ===============================================================================
37 ·····Generated·by [doxygen]·1.9.424 ·····Generated·by [doxygen]·1.9.4
16.2 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:·base.hh·Source·File</title>8 <title>dune-common:·interfaces.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, 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_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">interfaces.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_BASE_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_INTERFACES_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_INTERFACES_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="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>78 <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>
77 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keyword">namespace·</span>Simd·{</div> 
78 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>79 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 80 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno"><a·class="line"·href="a01868.html">···16</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01868.html">Cloneable</a>·{</div>
79 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>81 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 82 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno"><a·class="line"·href="a01868.html#ab939bd736273aeaa041ac6ec7da846e9">···23</a></span>····<span·class="keyword">virtual</span>·<a·class="code·hl_struct"·href="a01868.html">Cloneable</a>*·<a·class="code·hl_function"·href="a01868.html#ab939bd736273aeaa041ac6ec7da846e9">clone</a>()·<span·class="keyword">const</span>·=·0;</div>
80 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····<span·class="keyword">namespace·</span>Overloads·{</div> 
81 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div> 
82 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</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> 
86 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>·</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> 
89 <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span>·</div> 
90 <div·class="line"><a·id="l00187"·name="l00187"></a><span·class="lineno">··187</span>······<span·class="keyword">template</span>&lt;&gt;</div> 
91 <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno"><a·class="line"·href="a02616.html">··188</a></span>······<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02608.html">ADLTag</a>&lt;0&gt;·{};</div> 
92 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>·</div> 
93 <div·class="line"><a·id="l00191"·name="l00191"></a><span·class="lineno">··191</span>·</div> 
94 <div·class="line"><a·id="l00195"·name="l00195"></a><span·class="lineno">··195</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>·SFINAETag·=·<span·class="keywordtype">void</span>&gt;</div> 
95 <div·class="line"><a·id="l00196"·name="l00196"></a><span·class="lineno">··196</span>······<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02620.html">ScalarType</a>;</div> 
96 <div·class="line"><a·id="l00197"·name="l00197"></a><span·class="lineno">··197</span>·</div> 
97 <div·class="line"><a·id="l00199"·name="l00199"></a><span·class="lineno">··199</span>·</div> 
98 <div·class="line"><a·id="l00203"·name="l00203"></a><span·class="lineno">··203</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·S,·<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>·SFINAETag·=·<span·class="keywordtype">void</span>&gt;</div> 
99 <div·class="line"><a·id="l00204"·name="l00204"></a><span·class="lineno">··204</span>······<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02624.html">RebindType</a>;</div> 
100 <div·class="line"><a·id="l00205"·name="l00205"></a><span·class="lineno">··205</span>·</div>83 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 84 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a01868.html#a7f08c4409e8f17388832c262eaadea88">···26</a></span>····<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01868.html#a7f08c4409e8f17388832c262eaadea88">~Cloneable</a>()</div>
101 <div·class="line"><a·id="l00207"·name="l00207"></a><span·class="lineno">··207</span>·</div>85 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····{}</div>
102 <div·class="line"><a·id="l00211"·name="l00211"></a><span·class="lineno">··211</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>·SFINAETag·=·<span·class="keywordtype">void</span>&gt;</div> 
103 <div·class="line"><a·id="l00212"·name="l00212"></a><span·class="lineno">··212</span>······<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02628.html">LaneCount</a>;</div> 
104 <div·class="line"><a·id="l00213"·name="l00213"></a><span·class="lineno">··213</span>·</div>86 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
105 <div·class="line"><a·id="l00215"·name="l00215"></a><span·class="lineno">··215</span>·</div> 
106 <div·class="line"><a·id="l00216"·name="l00216"></a><span·class="lineno">··216</span>····}·<span·class="comment">//·namespace·Overloads</span></div> 
107 <div·class="line"><a·id="l00217"·name="l00217"></a><span·class="lineno">··217</span>··}·<span·class="comment">//·namespace·Simd</span></div> 
108 <div·class="line"><a·id="l00218"·name="l00218"></a><span·class="lineno">··218</span>}·<span·class="comment">//·namespace·Dune</span></div> 
109 <div·class="line"><a·id="l00219"·name="l00219"></a><span·class="lineno">··219</span>·</div>87 <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>·</div>
 89 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>}·<span·class="comment">//·end·namespace·Dune</span></div>
110 <div·class="line"><a·id="l00220"·name="l00220"></a><span·class="lineno">··220</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_SIMD_BASE_HH</span></div>90 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#endif</span></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>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·class="ttc"·id="aa01868_html"><div·class="ttname"><a·href="a01868.html">Dune::Cloneable</a></div><div·class="ttdoc">An·interface·class·for·cloneable·objects.</div><div·class="ttdef"><b>Definition:</b>·interfaces.hh:16</div></div>
 93 <div·class="ttc"·id="aa01868_html_a7f08c4409e8f17388832c262eaadea88"><div·class="ttname"><a·href="a01868.html#a7f08c4409e8f17388832c262eaadea88">Dune::Cloneable::~Cloneable</a></div><div·class="ttdeci">virtual·~Cloneable()</div><div·class="ttdoc">Destructor.</div><div·class="ttdef"><b>Definition:</b>·interfaces.hh:26</div></div>
 94 <div·class="ttc"·id="aa01868_html_ab939bd736273aeaa041ac6ec7da846e9"><div·class="ttname"><a·href="a01868.html#ab939bd736273aeaa041ac6ec7da846e9">Dune::Cloneable::clone</a></div><div·class="ttdeci">virtual·Cloneable·*·clone()·const·=0</div><div·class="ttdoc">Clones·the·object·clone·needs·to·be·redefined·by·an·implementation·class,·with·the·return·type·covari...</div></div>
112 <div·class="ttc"·id="aa02608_html"><div·class="ttname"><a·href="a02608.html">Dune::Simd::Overloads::ADLTag</a></div><div·class="ttdoc">Tag·used·to·force·late-binding·lookup·in·Dune::Simd::Overloads.</div><div·class="ttdef"><b>Definition:</b>·base.hh:182</div></div> 
113 <div·class="ttc"·id="aa02620_html"><div·class="ttname"><a·href="a02620.html">Dune::Simd::Overloads::ScalarType</a></div><div·class="ttdoc">should·have·a·member·type·type</div><div·class="ttdef"><b>Definition:</b>·standard.hh:60</div></div> 
114 <div·class="ttc"·id="aa02624_html"><div·class="ttname"><a·href="a02624.html">Dune::Simd::Overloads::RebindType</a></div><div·class="ttdoc">should·have·a·member·type·type</div><div·class="ttdef"><b>Definition:</b>·standard.hh:67</div></div> 
115 <div·class="ttc"·id="aa02628_html"><div·class="ttname"><a·href="a02628.html">Dune::Simd::Overloads::LaneCount</a></div><div·class="ttdoc">should·be·derived·from·a·Dune::index_constant</div><div·class="ttdef"><b>Definition:</b>·standard.hh:74</div></div> 
116 </div><!--·fragment·--></div><!--·contents·-->95 </div><!--·fragment·--></div><!--·contents·-->
117 <!--·start·footer·part·-->96 <!--·start·footer·part·-->
118 <hr·class="footer"/><address·class="footer"><small>97 <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.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
120 </small></address>99 </small></address>
121 </body>100 </body>
122 </html>101 </html>
2.51 KB
html2text {}
    
Offset 4, 69 lines modifiedOffset 4, 47 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 interfaces.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_INTERFACES_HH
 15 ·6#define·DUNE_INTERFACES_HH
 16 ·7
16 ·92namespace·Dune·{17 ·13namespace·Dune·{
 18 ·14
 19 16·struct·Cloneable·{
17 ·93·namespace·Simd·{ 
18 ·94 
19 ·97 
20 ·112·namespace·Overloads·{ 
21 ·113 
22 ·116 
23 ·118 
24 ·181·template<unsigned·i,·bool·=·true> 
25 182·struct·ADLTag; 
26 ·183 
27 ·184·template<unsigned·i> 
28 185·struct·ADLTag<i>·:·ADLTag<i-1>·{}; 
29 ·186 
30 ·187·template<> 
31 188·struct·ADLTag<0>·{}; 
32 ·189 
33 ·191 
34 ·195·template<class·V,·class·SFINAETag·=·void> 
35 ·196·struct·ScalarType; 
36 ·19720 ·17
 21 23·virtual·Cloneable*·clone()·const·=·0;
 22 ·24
 23 26·virtual·~Cloneable()
 24 ·27·{}
 25 ·28
 26 ·29·};
 27 ·30
37 ·199 
38 ·203·template<class·S,·class·V,·class·SFINAETag·=·void> 
39 ·204·struct·RebindType; 
40 ·205 
41 ·207 
42 ·211·template<class·V,·class·SFINAETag·=·void> 
43 ·212·struct·LaneCount; 
44 ·213 
45 ·215 
46 ·216·}·//·namespace·Overloads 
47 ·217·}·//·namespace·Simd 
48 ·218}·//·namespace·Dune28 ·31}·//·end·namespace·Dune
 29 ·32#endif
49 ·219 
50 ·220#endif·//·DUNE_COMMON_SIMD_BASE_HH 
51 Dune30 Dune
52 Dune·namespace.31 Dune·namespace.
53 Definition:·alignedallocator.hh:1332 Definition:·alignedallocator.hh:13
 33 Dune::Cloneable
 34 An·interface·class·for·cloneable·objects.
 35 Definition:·interfaces.hh:16
 36 Dune::Cloneable::~Cloneable
 37 virtual·~Cloneable()
 38 Destructor.
 39 Definition:·interfaces.hh:26
 40 Dune::Cloneable::clone
 41 virtual·Cloneable·*·clone()·const·=0
 42 Clones·the·object·clone·needs·to·be·redefined·by·an·implementation·class,·with
 43 the·return·type·covari...
54 Dune::Simd::Overloads::ADLTag 
55 Tag·used·to·force·late-binding·lookup·in·Dune::Simd::Overloads. 
56 Definition:·base.hh:182 
57 Dune::Simd::Overloads::ScalarType 
58 should·have·a·member·type·type 
59 Definition:·standard.hh:60 
60 Dune::Simd::Overloads::RebindType 
61 should·have·a·member·type·type 
62 Definition:·standard.hh:67 
63 Dune::Simd::Overloads::LaneCount 
64 should·be·derived·from·a·Dune::index_constant 
65 Definition:·standard.hh:74 
  
66 ===============================================================================44 ===============================================================================
67 ·····Generated·by [doxygen]·1.9.445 ·····Generated·by [doxygen]·1.9.4
15.4 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:·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, 86 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><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_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>··</div>69 <a·href="#namespaces">Namespaces</a>··</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>70 ··<div·class="headertitle"><div·class="title">utility.hh·File·Reference</div></div>
72 </div><!--header-->71 </div><!--header-->
73 <div·class="contents">72 <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·/>73 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>
77 <code>#include·&lt;type_traits&gt;</code><br·/> 
78 <code>#include·&lt;utility&gt;</code><br·/> 
79 <code>#include·&lt;<a·class="el"·href="a00239_source.html">dune/common/indices.hh</a>&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a00272_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/simd/defaults.hh</a>&gt;</code><br·/> 
82 </div>74 </div>
83 <p><a·href="a00275_source.html">Go·to·the·source·code·of·this·file.</a></p>75 <p><a·href="a00275_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">76 <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>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
98 Namespaces</h2></td></tr>78 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>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>
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="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>81 <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>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>
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>83 <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 <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>84 <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> 
131 </table>85 </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="a04442.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> 
135 </div></div><!--·contents·-->86 </div><!--·contents·-->
136 <!--·start·footer·part·-->87 <!--·start·footer·part·-->
137 <hr·class="footer"/><address·class="footer"><small>88 <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.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
139 </small></address>90 </small></address>
140 </body>91 </body>
141 </html>92 </html>
2.74 KB
html2text {}
    
Offset 4, 75 lines modifiedOffset 4, 22 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·simd7 ····*·std
 8 Namespaces
 9 utility.hh·File·Reference
8 Classes·|·Namespaces 
9 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> 
15 #include·<utility>10 #include·<utility>
16 #include·<dune/common/indices.hh> 
17 #include·<dune/common/simd/base.hh> 
18 #include·<dune/common/simd/defaults.hh> 
19 Go_to_the_source_code_of_this_file.11 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 ·Namespaces12 ·Namespaces
31 namespace· Dune13 namespace· Dune
32  ··········Dune·namespace.14  ··········Dune·namespace.
33  15  
34 namespace· Dune::Simd16 namespace· Dune::Std
 17  ··········Namespace·for·features·backported·from·new·C++·standards.
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 ·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  18  
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. 
  
72 ===============================================================================19 ===============================================================================
73 ·····Generated·by [doxygen]·1.9.420 ·····Generated·by [doxygen]·1.9.4
25.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:·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, 98 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_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_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">standard.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="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">//·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_STANDARD_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>
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>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>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</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> 
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>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</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> 
80 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00239.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="a00272.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="a00266.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>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</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>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>
85 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">namespace·</span>Simd·{</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>
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> 
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>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>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>{</div>
93 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</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">us[·...·truncated·by·diffoscope;·len:·107,·SHA:·6bf4b29d31aaf7a2a9e6b7cb45e8b104695d73220d75e0bc2a281be512e67137·...·]</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>
96 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</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>
97 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</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> 
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> 
105 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>········<span·class="keywordflow">return</span>·v;</div>93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··}·<span·class="comment">//·namespace·Std</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> 
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>94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</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> 
113 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</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>95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>}·<span·class="comment">//·namespace·Dune</span></div>
116 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</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#a19296f860eb9fda0a58ab8c43747370d">anyTrue</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> 
118 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</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#ga6850149b7bbe8eff67835ecfd8471f7d">allTrue</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> 
120 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</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> 
125 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div> 
126 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····}·<span·class="comment">//·namespace·Overloads</span></div> 
127 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··}·<span·class="comment">//·namespace·Simd</span></div> 
128 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>}·<span·class="comment">//·namespace·Dune</span></div> 
129 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> 
130 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_SIMD_STANDARD_HH</span></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>
131 <div·class="ttc"·id="aa00239_html"><div·class="ttname"><a·href="a00239.html">indices.hh</a></div></div> 
132 <div·class="ttc"·id="aa00266_html"><div·class="ttname"><a·href="a00266.html">defaults.hh</a></div><div·class="ttdoc">Default·implementations·for·SIMD·Implementations.</div></div> 
133 <div·class="ttc"·id="aa00272_html"><div·class="ttname"><a·href="a00272.html">base.hh</a></div><div·class="ttdoc">Basic·definitions·for·SIMD·Implementations.</div></div> 
134 <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> 
135 <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> 
136 <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> 
137 <div·class="ttc"·id="aa00420_html_ga6850149b7bbe8eff67835ecfd8471f7d"><div·class="ttname"><a·href="a00420.html#ga6850149b7bbe8eff67835ecfd8471f7d">Dune::Simd::Overloads::allTrue</a></div><div·class="ttdeci">bool·allTrue(ADLTag&lt;·0·&gt;,·const·Mask·&amp;mask)</div><div·class="ttdoc">implements·Simd::allTrue()</div><div·class="ttdef"><b>Definition:</b>·defaults.hh:104</div></div> 
138 <div·class="ttc"·id="aa00420_html_gaa272813526339482ae077b1a0e52a01e"><div·class="ttname"><a·href="a00420.html#gaa272813526339482ae077b1a0e52a01e">Dune::Simd::Overloads::anyFalse</a></div><div·class="ttdeci">bool·anyFalse(ADLTag&lt;·0·&gt;,·const·Mask·&amp;mask)</div><div·class="ttdoc">implements·Simd::anyFalse()</div><div·class="ttdef"><b>Definition:</b>·defaults.hh:114</div></div> 
139 <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>98 <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="aa00430_html_a19296f860eb9fda0a58ab8c43747370d"><div·class="ttname"><a·href="a00430.html#a19296f860eb9fda0a58ab8c43747370d">Dune::Simd::Overloads::anyTrue</a></div><div·class="ttdeci">bool·anyTrue(ADLTag&lt;·5·&gt;,·const·AlignedNumber&lt;·bool,·align·&gt;·&amp;mask)</div><div·class="ttdef"><b>Definition:</b>·debugalign.hh:543</div></div> 
141 <div·class="ttc"·id="aa00430_html_ae0b09f360e2832ce7df95ac0ded0dbcf"><div·class="ttname"><a·href="a00430.html#ae0b09f360e2832ce7df95ac0ded0dbcf">Dune::Simd::Overloads::lane</a></div><div·class="ttdeci">T·&amp;·lane(ADLTag&lt;·5·&gt;,·std::size_t·l,·AlignedNumber&lt;·T,·align·&gt;·&amp;v)</div><div·class="ttdef"><b>Definition:</b>·debugalign.hh:520</div></div> 
142 <div·class="ttc"·id="aa02608_html"><div·class="ttname"><a·href="a02608.html">Dune::Simd::Overloads::ADLTag</a></div><div·class="ttdoc">Tag·used·to·force·late-binding·lookup·in·Dune::Simd::Overloads.</div><div·class="ttdef"><b>Definition:</b>·base.hh:182</div></div> 
143 <div·class="ttc"·id="aa02620_html"><div·class="ttname"><a·href="a02620.html">Dune::Simd::Overloads::ScalarType</a></div><div·class="ttdoc">should·have·a·member·type·type</div><div·class="ttdef"><b>Definition:</b>·standard.hh:60</div></div> 
144 <div·class="ttc"·id="aa02620_html_ab4f6f38e2c9e3272e5146799d512d978"><div·class="ttname"><a·href="a02620.html#ab4f6f38e2c9e3272e5146799d512d978">Dune::Simd::Overloads::ScalarType::type</a></div><div·class="ttdeci">V·type</div><div·class="ttdef"><b>Definition:</b>·standard.hh:60</div></div> 
145 <div·class="ttc"·id="aa02624_html"><div·class="ttname"><a·href="a02624.html">Dune::Simd::Overloads::RebindType</a></div><div·class="ttdoc">should·have·a·member·type·type</div><div·class="ttdef"><b>Definition:</b>·standard.hh:67</div></div> 
146 <div·class="ttc"·id="aa02624_html_a36ba8db89c385f576f383a984ef8c286"><div·class="ttname"><a·href="a02624.html#a36ba8db89c385f576f383a984ef8c286">Dune::Simd::Overloads::RebindType::type</a></div><div·class="ttdeci">S·type</div><div·class="ttdef"><b>Definition:</b>·standard.hh:67</div></div> 
147 <div·class="ttc"·id="aa02628_html"><div·class="ttname"><a·href="a02628.html">Dune::Simd::Overloads::LaneCount</a></div><div·class="ttdoc">should·be·derived·from·a·Dune::index_constant</div><div·class="ttdef"><b>Definition:</b>·standard.hh:74</div></div> 
148 </div><!--·fragment·--></div><!--·contents·-->99 </div><!--·fragment·--></div><!--·contents·-->
149 <!--·start·footer·part·-->100 <!--·start·footer·part·-->
150 <hr·class="footer"/><address·class="footer"><small>101 <hr·class="footer"/><address·class="footer"><small>
151 Generated·by&#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
152 </small></address>103 </small></address>
153 </body>104 </body>
154 </html>105 </html>
4.06 KB
html2text {}
    
Offset 4, 126 lines modifiedOffset 4, 45 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·simd7 ····*·std
8 standard.hh8 utility.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
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#ifndef·DUNE_COMMON_SIMD_STANDARD_HH13 ·3#ifndef·DUNE_COMMON_STD_UTILITY_HH
14 ·4#define·DUNE_COMMON_SIMD_STANDARD_HH14 ·4#define·DUNE_COMMON_STD_UTILITY_HH
15 ·515 ·5
16 ·20#include·<cstddef> 
17 ·21#include·<type_traits> 
18 ·22#include·<utility>16 ·6#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> 
23 ·2717 ·7
 18 ·8#warning·dune/common/std/utility.hh·is·deprecated·and·will·be·removed·after
 19 Dune·2.8.\
 20 ·9·Include·<utility>·instead
24 ·45namespace·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 ·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 
42 ·86·template<class·V> 
43 87·V·lane(ADLTag<2>,·std::size_t,·V·v) 
44 ·88·{ 
45 ·89·return·v; 
46 ·90·} 
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·} 
53 ·97 
54 ·98·//·No·Simd::cond()·implementation,·the·overload·for·bool·masks·in·the 
55 ·99·//·interface·is·sufficient 
56 ·10021 ·10
57 102·inline·bool·anyTrue(ADLTag<2>,·bool·mask)·{·return·mask;·}22 ·11namespace·Dune
 23 ·12{
58 ·10324 ·13
59 105·inline·bool·allTrue(ADLTag<2>,·bool·mask)·{·return·mask;·}25 ·14·namespace·Std
 26 ·15·{
60 ·10627 ·16
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 ·112 
65 ·114 
66 ·115·}·//·namespace·Overloads28 ·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
67 ·116·}·//·namespace·Simd34 ·23·}·//·namespace·Std
 35 ·24
68 ·117}·//·namespace·Dune36 ·25}·//·namespace·Dune
 37 ·26
 38 ·27#endif·//·#ifndef·DUNE_COMMON_STD_UTILITY_HH
69 ·118 
70 ·119#endif·//·DUNE_COMMON_SIMD_STANDARD_HH 
71 indices.hh 
72 defaults.hh 
73 Default·implementations·for·SIMD·Implementations. 
74 base.hh 
75 Basic·definitions·for·SIMD·Implementations. 
76 Dune::index_constant 
77 std::integral_constant<·std::size_t,·i·>·index_constant 
78 An·index·constant·with·value·i. 
79 Definition:·indices.hh:30 
80 Dune::Simd::Overloads::mask 
81 Mask<·V·>·mask(ADLTag<·0,·std::is_same<·V,·Mask<·V·>·>::value·>,·const·V·&v) 
82 implements·Simd::mask() 
83 Definition:·defaults.hh:153 
84 Dune::Simd::Overloads::allFalse 
85 bool·allFalse(ADLTag<·0·>,·const·Mask·&mask) 
86 implements·Simd::allFalse() 
87 Definition:·defaults.hh:124 
88 Dune::Simd::Overloads::allTrue 
89 bool·allTrue(ADLTag<·0·>,·const·Mask·&mask) 
90 implements·Simd::allTrue() 
91 Definition:·defaults.hh:104 
92 Dune::Simd::Overloads::anyFalse 
93 bool·anyFalse(ADLTag<·0·>,·const·Mask·&mask) 
94 implements·Simd::anyFalse() 
95 Definition:·defaults.hh:114 
96 Dune39 Dune
97 Dune·namespace.40 Dune·namespace.
98 Definition:·alignedallocator.hh:1341 Definition:·alignedallocator.hh:13
99 Dune::Simd::Overloads::anyTrue 
100 bool·anyTrue(ADLTag<·5·>,·const·AlignedNumber<·bool,·align·>·&mask) 
101 Definition:·debugalign.hh:543 
102 Dune::Simd::Overloads::lane 
103 T·&·lane(ADLTag<·5·>,·std::size_t·l,·AlignedNumber<·T,·align·>·&v) 
104 Definition:·debugalign.hh:520 
105 Dune::Simd::Overloads::ADLTag 
106 Tag·used·to·force·late-binding·lookup·in·Dune::Simd::Overloads. 
107 Definition:·base.hh:182 
108 Dune::Simd::Overloads::ScalarType 
109 should·have·a·member·type·type 
110 Definition:·standard.hh:60 
111 Dune::Simd::Overloads::ScalarType::type 
112 V·type 
113 Definition:·standard.hh:60 
Max diff block lines reached; 116/4138 bytes (2.80%) of diff not shown.
11.0 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:·io.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, 76 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><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_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>
 70 ··<div·class="headertitle"><div·class="title">apply.hh·File·Reference</div></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> 
73 </div><!--header-->71 </div><!--header-->
74 <div·class="contents">72 <div·class="contents">
  
75 <p>IO·interface·of·the·SIMD·abstraction.·· 
76 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&lt;ios&gt;</code><br·/>73 <div·class="textblock"><code>#include·&lt;tuple&gt;</code><br·/>
78 <code>#include·&lt;type_traits&gt;</code><br·/> 
79 <code>#include·&lt;<a·class="el"·href="a00233_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
82 </div>74 </div>
83 <p><a·href="a00278_source.html">Go·to·the·source·code·of·this·file.</a></p>75 <p><a·href="a00278_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">76 <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="a02632.html">Dune::SimdImpl::Inserter&lt;·T·&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>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
91 Namespaces</h2></td></tr>78 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>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>
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>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>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <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>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>
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>83 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr>
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <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> 
120 </table>85 </table>
121 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
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> 
125 </div></div><!--·contents·-->86 </div><!--·contents·-->
126 <!--·start·footer·part·-->87 <!--·start·footer·part·-->
127 <hr·class="footer"/><address·class="footer"><small>88 <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.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
129 </small></address>90 </small></address>
130 </body>91 </body>
131 </html>92 </html>
1.9 KB
html2text {}
    
Offset 4, 58 lines modifiedOffset 4, 22 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·simd7 ····*·std
8 Classes·|·Namespaces·|·Functions8 Namespaces
9 io.hh·File·Reference9 apply.hh·File·Reference
 10 #include·<tuple>
10 Common·»·Vectorization·»·Library_Developer's_Interface 
11 IO·interface·of·the·SIMD·abstraction.·More... 
12 #include·<ios> 
13 #include·<type_traits> 
14 #include·<dune/common/rangeutilities.hh> 
15 #include·<dune/common/simd/simd.hh> 
16 #include·<dune/common/typetraits.hh> 
17 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
18 ·Classes 
19 class· Dune::SimdImpl::Inserter<_T_> 
20   
21 ·Namespaces12 ·Namespaces
22 namespace· Dune13 namespace· Dune
23  ··········Dune·namespace.14  ··········Dune·namespace.
24  15  
25 namespace· Dune::SimdImpl 
26   
27 namespace· Dune::Simd16 namespace· Dune::Std
 17  ··········Namespace·for·features·backported·from·new·C++·standards.
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  18  
50 *****·Detailed·Description·***** 
51 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. 
  
55 ===============================================================================19 ===============================================================================
56 ·····Generated·by [doxygen]·1.9.420 ·····Generated·by [doxygen]·1.9.4
23.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a00278_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:·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, 107 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_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_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">io.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="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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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>
 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_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_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_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="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;ios&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>·</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>
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="l00017"·name="l00017"></a><span·class="lineno">···17</span>····<span·class="keyword">using·</span>std::apply;</div>
78 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</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="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00233.html">dune/common/rangeutilities.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="a04442.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="a00386.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>89 <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="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="l00029"·name="l00029"></a><span·class="lineno">···29</span>······T·value_;</div> 
90 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> 
91 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">public</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</span>·T·&amp;value)·:·value_(value)·{}</div> 
93 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</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> 
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> 
96 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>························································Stream&gt;::value&gt;·&gt;</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#aa6b65b59351d83c3fb4a8dc175e1116f">operator&lt;&lt;</a>(Stream·&amp;out,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02632.html">Inserter</a>·&amp;ins)</div> 
98 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</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> 
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_function"·href="a00419.html#gac6a0cf43eb7664581bd8a6954d7ff305">Simd::lanes</a>(ins.value_)))</div> 
101 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>········{</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#gaca5433c99a350b973623f94491e43a86">Simd::lane</a>(l,·ins.value_));</div> 
103 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··········sep·=·<span·class="stringliteral">&quot;,·&quot;</span>;</div> 
104 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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> 
106 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="stringliteral">········return·out;</span></div> 
107 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="stringliteral">······}</span></div> 
108 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="stringliteral">····};</span></div> 
109 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="stringliteral"></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> 
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> 
112 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="stringliteral">····{</span></div> 
113 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="stringliteral">······return·{·v·};</span></div> 
114 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="stringliteral">····}</span></div> 
115 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="stringliteral"></span>·</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> 
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> 
118 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="stringliteral">····{</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> 
120 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="stringliteral">····}</span></div> 
121 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="stringliteral"></span>·</div> 
122 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="stringliteral">··}</span></div> 
123 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="stringliteral"></span>·</div> 
124 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="stringliteral">··namespace·Simd·{</span></div> 
125 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="stringliteral"></span>·</div> 
126 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="stringliteral"></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> 
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> 
129 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="stringliteral">····{</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> 
131 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="stringliteral">····}</span></div> 
132 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="stringliteral"></span>·</div> 
133 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="stringliteral"></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> 
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> 
136 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="stringliteral">····{</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> 
138 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="stringliteral">····}</span></div> 
139 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="stringliteral"></span>·</div> 
140 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="stringliteral"></span>·</div> 
141 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span><span·class="stringliteral"></span>·</div> 
142 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="stringliteral">··}·//·namespace·Simd</span></div> 
143 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span><span·class="stringliteral">}·//·namespace·Dune</span></div> 
144 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span><span·class="stringliteral"></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>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>
146 <div·class="ttc"·id="aa00233_html"><div·class="ttname"><a·href="a00233.html">rangeutilities.hh</a></div><div·class="ttdoc">Utilities·for·reduction·like·operations·on·ranges.</div></div> 
147 <div·class="ttc"·id="aa00386_html"><div·class="ttname"><a·href="a00386.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></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;·T,·from·&gt;,·std::integral_constant&lt;·T,·to·&gt;)·noexcept</div><div·class="ttdef"><b>Definition:</b>·rangeutilities.hh:300</div></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="ttdoc">Autonomous·copy·of·an·expression's·value·for·use·in·auto·type·deduction.</div><div·class="ttdef"><b>Definition:</b>·typetraits.hh:642</div></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·SIMD·type.</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:305</div></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">Extract·an·element·of·a·SIMD·type.</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:324</div></div> 
152 <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>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>
153 <div·class="ttc"·id="aa02632_html"><div·class="ttname"><a·href="a02632.html">Dune::SimdImpl::Inserter</a></div><div·class="ttdef"><b>Definition:</b>·io.hh:28</div></div> 
154 <div·class="ttc"·id="aa02632_html_a232e95fd4c68d29088364920b6049269"><div·class="ttname"><a·href="a02632.html#a232e95fd4c68d29088364920b6049269">Dune::SimdImpl::Inserter::Inserter</a></div><div·class="ttdeci">Inserter(const·T·&amp;value)</div><div·class="ttdef"><b>Definition:</b>·io.hh:32</div></div> 
155 <div·class="ttc"·id="aa02632_html_aa6b65b59351d83c3fb4a8dc175e1116f"><div·class="ttname"><a·href="a02632.html#aa6b65b59351d83c3fb4a8dc175e1116f">Dune::SimdImpl::Inserter::operator&lt;&lt;</a></div><div·class="ttdeci">friend·Stream·&amp;·operator&lt;&lt;(Stream·&amp;out,·const·Inserter·&amp;ins)</div><div·class="ttdef"><b>Definition:</b>·io.hh:37</div></div> 
156 <div·class="ttc"·id="aa04442_html"><div·class="ttname"><a·href="a04442.html">simd.hh</a></div><div·class="ttdoc">Include·file·for·users·of·the·SIMD·abstraction·layer.</div></div> 
157 </div><!--·fragment·--></div><!--·contents·-->92 </div><!--·fragment·--></div><!--·contents·-->
Max diff block lines reached; 243/20652 bytes (1.18%) of diff not shown.
3.54 KB
html2text {}
    
Offset 4, 122 lines modifiedOffset 4, 37 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·simd7 ····*·std
8 io.hh8 apply.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_SIMD_IO_HH15 ·5#ifndef·DUNE_COMMON_STD_APPLY_HH
14 ·4#define·DUNE_COMMON_SIMD_IO_HH16 ·6#define·DUNE_COMMON_STD_APPLY_HH
15 ·5 
16 ·16#include·<ios> 
17 ·17#include·<type_traits>17 ·7
 18 ·8#include·<tuple>
 19 ·9
 20 ·10namespace·Dune
 21 ·11{
 22 12·namespace·Std
 23 ·13·{
 24 ·14
 25 ·17·using·std::apply;
18 ·1826 ·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 ·24 
25 25·namespace·SimdImpl·{ 
26 ·26 
27 ·27·template<class·T> 
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·{ 
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·=·",·"; 
44 ·44·} 
45 ·45·out·<<·'>'; 
46 ·46·return·out; 
47 ·47·} 
48 ·48·}; 
49 ·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·}; 
54 ·54·} 
55 ·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 ·63 
64 ·64·namespace·Simd·{ 
65 ·65 
66 ·82 
67 ·89·template<class·V> 
68 90·auto·vio(const·V·&v) 
69 ·91·{ 
70 ·92·return·SimdImpl::Inserter<V>{·v·}; 
71 ·93·} 
72 ·94 
73 ·96 
74 ·105·template<class·V> 
75 106·auto·io(const·V·&v) 
76 ·107·{ 
77 ·108·return·SimdImpl::io(v); 
78 ·109·} 
79 ·110 
80 ·112 
81 ·114 
82 ·115·}·//·namespace·Simd27 ·19·}·//·namespace·Std
83 ·116}·//·namespace·Dune28 ·20}·//·namespace·Dune
 29 ·21
 30 ·22#endif·//·#ifndef·DUNE_COMMON_STD_APPLY_HH
84 ·117 
85 ·118#endif·//·DUNE_COMMON_SIMD_IO_HH 
86 rangeutilities.hh 
87 Utilities·for·reduction·like·operations·on·ranges. 
88 typetraits.hh 
89 Traits·for·type·conversions·and·type·information. 
90 Dune::range 
91 static·StaticIntegralRange<·T,·to,·from·>·range(std::integral_constant<·T,·from 
92 >,·std::integral_constant<·T,·to·>)·noexcept 
93 Definition:·rangeutilities.hh:300 
94 Dune::autoCopy 
95 constexpr·AutonomousValue<·T·>·autoCopy(T·&&v) 
96 Autonomous·copy·of·an·expression's·value·for·use·in·auto·type·deduction. 
97 Definition:·typetraits.hh:642 
98 Dune::Simd::lanes 
99 constexpr·std::size_t·lanes() 
100 Number·of·lanes·in·a·SIMD·type. 
101 Definition:·simd/interface.hh:305 
102 Dune::Simd::lane 
103 decltype(auto)·lane(std::size_t·l,·V·&&v) 
104 Extract·an·element·of·a·SIMD·type. 
105 Definition:·simd/interface.hh:324 
106 Dune31 Dune
107 Dune·namespace.32 Dune·namespace.
108 Definition:·alignedallocator.hh:1333 Definition:·alignedallocator.hh:13
109 Dune::SimdImpl::Inserter 
110 Definition:·io.hh:28 
111 Dune::SimdImpl::Inserter::Inserter 
112 Inserter(const·T·&value) 
113 Definition:·io.hh:32 
114 Dune::SimdImpl::Inserter::operator<< 
Max diff block lines reached; 116/3600 bytes (3.22%) of diff not shown.
38.0 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:·test.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, 496 lines modifiedOffset 58, 43 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><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="#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="#typedef-members">Typedefs</a>··</div> 
73 ··<div·class="headertitle"><div·class="title">test.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 <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·/>74 <div·class="textblock"><code>#include·&lt;functional&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="a00026_source.html">dune/common/classname.hh</a>&gt;</code><br·/> 
89 <code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/hybridutilities.hh</a>&gt;</code><br·/> 
90 <code>#include·&lt;<a·class="el"·href="a00233_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/> 
91 <code>#include·&lt;<a·class="el"·href="a00278_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="a04442_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/> 
94 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/> 
95 <code>#include·&lt;<a·class="el"·href="a00197_source.html">dune/common/typelist.hh</a>&gt;</code><br·/> 
96 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
97 </div>75 </div>
98 <p><a·href="a00281_source.html">Go·to·the·source·code·of·this·file.</a></p>76 <p><a·href="a00281_source.html">Go·to·the·source·code·of·this·file.</a></p>
99 <table·class="memberdecls">77 <table·class="memberdecls">
100 <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>
101 Classes</h2></td></tr>79 Classes</h2></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>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>
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> 
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="a02728.html">Dune::Simd::UnitTest</a></td></tr> 
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 </table><table·class="memberdecls">83 </table><table·class="memberdecls">
108 <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>
109 Namespaces</h2></td></tr>85 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>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>
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>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>
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <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>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>
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>90 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr>
115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <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="a00281.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="a00281.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="a00281.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="a00281.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="a00281.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="a00281.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="a00281.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="a00281.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="a00281.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="a00281.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="a00281.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="a00281.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="a00281.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="a00281.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> 
158 </table>92 </table>
159 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
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; 271/32453 bytes (0.84%) of diff not shown.
6.24 KB
html2text {}
    
Offset 4, 205 lines modifiedOffset 4, 27 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·simd7 ····*·std
8 Classes·|·Namespaces·|·Macros·|·Typedefs8 Classes·|·Namespaces
9 test.hh·File·Reference9 functional.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> 
20 #include·<utility>10 #include·<functional>
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.11 Go_to_the_source_code_of_this_file.
31 ·Classes12 ·Classes
 13 struct· Dune::Std::identity
 14  ·······A·function·object·type·whose·operator()·returns·its·argument
 15 ·········unchanged.·More...
32 struct· Dune::Simd::EndMark 
33  ·······final·element·marker·for·RebindList·More... 
34   
35 ·class· Dune::Simd::UnitTest 
36  16  
37 ·Namespaces17 ·Namespaces
38 namespace· Dune18 namespace· Dune
39  ··········Dune·namespace.19  ··········Dune·namespace.
40  20  
41 namespace· Dune::Simd21 namespace· Dune::Std
 22  ··········Namespace·for·features·backported·from·new·C++·standards.
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  23  
85 *****·Detailed·Description·***** 
86 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, 
118 ······················· M3, 
119 ······················· V1, 
120 ······················· V2, 
121 ······················· V3, 
122 ······················· NAME  
Max diff block lines reached; 116/6364 bytes (1.82%) of diff not shown.
423 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:·test.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, 1985 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><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_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">test.hh</div></div>68 ··<div·class="headertitle"><div·class="title">functional.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
Diff chunk too large, falling back to line-by-line diff (28 lines added, 1943 lines removed)
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:·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">//·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">//·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="preprocessor">#ifndef·DUNE_COMMON_SIMD_TEST_HH</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="preprocessor">#define·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>
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><span·class="preprocessor">#ifndef·DUNE_COMMON_STD_FUNCTIONAL_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>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="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstddef&gt;</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">#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;functional&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>·</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>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="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="l00011"·name="l00011"></a><span·class="lineno">···11</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>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</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>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="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;unordered_set&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="l00021"·name="l00021"></a><span·class="lineno">···21</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="l00022"·name="l00022"></a><span·class="lineno">···22</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="preprocessor">#include·&lt;<a·class="code"·href="a00026.html">dune/common/classname.hh</a>&gt;</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">#include·&lt;<a·class="code"·href="a00065.html">dune/common/hybridutilities.hh</a>&gt;</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">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00233.html">dune/common/rangeutilities.hh</a>&gt;</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="preprocessor">#include·&lt;<a·class="code"·href="a00278.html">dune/common/simd/io.hh</a>&gt;</span></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">···27</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00263.html">dune/common/simd/loop.hh</a>&gt;</span></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·)·<s[·...·truncated·by·diffoscope;·len:·138,·SHA:·cb4e90f95e2aa0c11e68906e7d593e91df75ba6c971b9c9d7619d5c670d6a3d8·...·]</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="a04442.html">dune/common/simd/simd.hh</a>&gt;</span></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">#include·&lt;<a·class="code"·href="a00113.html">dune/common/std/type_traits.hh</a>&gt;</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="preprocessor">#include·&lt;<a·class="code"·href="a00197.html">dune/common/typelist.hh</a>&gt;</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><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00386.html">dune/common/typetraits.hh</a>&gt;</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>·</div>96 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>}·<span·class="comment">//·namespace·Dune</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>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="keyword">namespace·</span>Simd·{</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="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; 6973/357728 bytes (1.95%) of diff not shown.
73.2 KB
html2text {}
    
Offset 4, 2091 lines modifiedOffset 4, 51 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·simd7 ····*·std
8 test.hh8 functional.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:
10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
Diff chunk too large, falling back to line-by-line diff (25 lines added, 2010 lines removed)
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_SIMD_TEST_HH15 ·5#ifndef·DUNE_COMMON_STD_FUNCTIONAL_HH
14 ·4#define·DUNE_COMMON_SIMD_TEST_HH16 ·6#define·DUNE_COMMON_STD_FUNCTIONAL_HH
15 ·517 ·7
16 ·12#include·<algorithm>18 ·8#include·<functional>
17 ·13#include·<cstddef>19 ·9
18 ·14#include·<iostream>20 ·10namespace·Dune
19 ·15#include·<sstream>21 ·11{
20 ·16#include·<string>22 ·12
21 ·17#include·<type_traits>23 ·13·namespace·Std
22 ·18#include·<typeindex>24 ·14·{
23 ·19#include·<typeinfo>25 ·15
24 ·20#include·<unordered_set>26 ·22#if·DUNE_HAVE_CXX_STD_IDENTITY
25 ·21#include·<utility>27 ·23·using·std::identity;
26 ·2228 ·24#else·//DUNE_HAVE_CXX_STD_IDENTITY
27 ·23#include·<dune/common/classname.hh>29 25·struct·identity·{
28 ·24#include·<dune/common/hybridutilities.hh>30 ·26·template<class·T>
29 ·25#include·<dune/common/rangeutilities.hh>31 27·constexpr·T&&·operator()(T&&·t·)·const·noexcept·{return·std::forward<T>(t);}
30 ·26#include·<dune/common/simd/io.hh>32 ·28·};
31 ·27#include·<dune/common/simd/loop.hh>33 ·29#endif
32 ·28#include·<dune/common/simd/simd.hh>34 ·30·}·//·namespace·Std
33 ·29#include·<dune/common/std/type_traits.hh>35 ·31
34 ·30#include·<dune/common/typelist.hh>36 ·32}·//·namespace·Dune
35 ·31#include·<dune/common/typetraits.hh>37 ·33
36 ·3238 ·34#endif·//·#ifndef·DUNE_COMMON_STD_FUNCTIONAL_HH
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; 2421/74897 bytes (3.23%) of diff not shown.
9.77 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:·sllist.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, 65 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="#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">sllist.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>71 ··<div·class="headertitle"><div·class="title">make_array.hh·File·Reference</div></div>
73 </div><!--header-->72 </div><!--header-->
74 <div·class="contents">73 <div·class="contents">
  
75 <p>Implements·a·singly·linked·list·together·with·the·necessary·iterators.·· 
76 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/>74 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>
78 <code>#include·&lt;cassert&gt;</code><br·/> 
79 <code>#include·&quot;<a·class="el"·href="a00182_source.html">iteratorfacades.hh</a>&quot;</code><br·/> 
80 <code>#include·&lt;ostream&gt;</code><br·/>75 <code>#include·&lt;type_traits&gt;</code><br·/>
81 </div>76 </div>
82 <p><a·href="a00284_source.html">Go·to·the·source·code·of·this·file.</a></p>77 <p><a·href="a00284_source.html">Go·to·the·source·code·of·this·file.</a></p>
83 <table·class="memberdecls">78 <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"> 
99 <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>
100 Namespaces</h2></td></tr>80 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>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>
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>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>
103 <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>
104 </table><table·class="memberdecls">87 </table><table·class="memberdecls">
105 <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>
106 Functions</h2></td></tr>89 Functions</h2></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> 
109 <tr·class="separator:gab672fc0e72d7d5c69943bbf2a0bdb421"><td·class="memSeparator"·colspan="2">&#160;</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>
110 </table>94 </table>
111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
112 <div·class="textblock"><p·>Implements·a·singly·linked·list·together·with·the·necessary·iterators.·</p> 
113 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl> 
114 </div></div><!--·contents·-->95 </div><!--·contents·-->
115 <!--·start·footer·part·-->96 <!--·start·footer·part·-->
116 <hr·class="footer"/><address·class="footer"><small>97 <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.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
118 </small></address>99 </small></address>
119 </body>100 </body>
120 </html>101 </html>
1.59 KB
html2text {}
    
Offset 4, 45 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 Classes·|·Namespaces·|·Functions8 Namespaces·|·Functions
 9 make_array.hh·File·Reference
8 sllist.hh·File·Reference 
9 Common 
10 Implements·a·singly·linked·list·together·with·the·necessary·iterators.·More... 
11 #include·<memory>10 #include·<array>
 11 #include·<type_traits>
12 #include·<cassert> 
13 #include·"iteratorfacades.hh" 
14 #include·<ostream> 
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  
 17 namespace· Dune::Std
 18  ··········Namespace·for·features·backported·from·new·C++·standards.
 19  
33 ·Functions20 ·Functions
34 template<typename·T·,·typename·A·> 
35 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·SLList<·T,·A·> 
36 ················&sllist)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...
37  25  
38 *****·Detailed·Description·***** 
39 Implements·a·singly·linked·list·together·with·the·necessary·iterators. 
40 ··Author 
41 ······Markus·Blatt 
  
42 ===============================================================================26 ===============================================================================
43 ·····Generated·by [doxygen]·1.9.427 ·····Generated·by [doxygen]·1.9.4
146 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:·sllist.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, 634 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>··</ul>64 <li·class="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">sllist.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="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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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> 
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_SLLIST_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_MAKE_ARRAY_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>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>
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;memory&gt;</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>
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">#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·&quot;<a·class="code"·href="a00182.html">iteratorfacades.hh</a>&quot;</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>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;ostream&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>
 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>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>
 85 <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="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>
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="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span>Std·{</div>
87 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</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>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>
 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>
90 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</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>
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="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>
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>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>
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>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>
96 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··{</div>102 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</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>103 <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>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>
102 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>105 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</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="a00[·...·truncated·by·diffoscope;·len:·59,·SHA:·2ebeb28df5011d171b17cc56752437cc488d58bd1153019fb0adbbb8af089a01·...·]</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>
104 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>108 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</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> 
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> 
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> 
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> 
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> 
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#ga07373aa465c1db378233026b89420275">push_front</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00397.html#ga9548258d3f4de56a110c6f549780ec2a">MemberType</a>&amp;·item);</div> 
130 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</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> 
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> 
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> 
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_function"·href="a00397.html#gaae74580801beccdd3ad849dfafc81cdf">end</a>()·<span·class="keyword">const</span>;</div> 
146 <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> 
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> 
Max diff block lines reached; 1494/125615 bytes (1.19%) of diff not shown.
23.0 KB
html2text {}
    
Offset 4, 806 lines modifiedOffset 4, 61 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 sllist.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
14 ·5#ifndef·DUNE_SLLIST_HH 
15 ·6#define·DUNE_SLLIST_HH 
16 ·713 ·3#ifndef·DUNE_COMMON_STD_MAKE_ARRAY_HH
 14 ·4#define·DUNE_COMMON_STD_MAKE_ARRAY_HH
 15 ·5
17 ·8#include·<memory>16 ·6#include·<array>
18 ·9#include·<cassert> 
19 ·10#include·"iteratorfacades.hh" 
20 ·11#include·<ostream>17 ·7#include·<type_traits>
 18 ·8
 19 ·9#if·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY
 20 ·10#include·<experimental/array>
 21 ·11#endif
21 ·1222 ·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
22 ·13namespace·Dune26 ·16namespace·Dune·{
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>;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·}
39 ·4843 ·48
40 ·49·public:44 ·49#endif·//·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY
Diff chunk too large, falling back to line-by-line diff (9 lines added, 743 lines removed)
41 ·5045 ·50
42 54·typedef·typename·A::size_type·size_type;46 ·51}
43 ·5547 ·52}
44 59·typedef·T·MemberType;48 ·53
45 ·6049 ·54#endif
46 64·using·Allocator·=·typename·std::allocator_traits<A>::template50 Dune::Std::make_array
47 rebind_alloc<Element>;51 std::array<·typename·std::common_type<·Args...·>::type,·sizeof...(Args)>
48 ·6552 make_array(const·Args·&...·args)
49 69·typedef·SLListIterator<T,A>·iterator;53 Create·and·initialize·an·array.
50 ·7054 Definition:·make_array.hh:43
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 ·104 
64 108·SLList<T,A>&·operator=(const·SLList<T,A>&·other); 
65 ·109 
66 ·110 
67 115·inline·void·push_back(const·MemberType&·item); 
68 ·116 
69 121·inline·void·push_front(const·MemberType&·item); 
70 ·122 
71 126·inline·void·pop_front(); 
72 ·127 
73 129·inline·void·clear(); 
74 ·130 
75 138·inline·iterator·begin(); 
76 ·139 
77 147·inline·const_iterator·begin()·const; 
78 ·148 
79 156·inline·ModifyIterator·beginModify(); 
80 ·157 
81 165·inline·ModifyIterator·endModify(); 
82 ·166 
83 173·inline·iterator·end(); 
84 ·174 
85 181·inline·const_iterator·end()·const; 
86 ·182 
87 188·inline·bool·empty()·const; 
88 ·189 
89 194·inline·int·size()·const; 
90 ·195 
91 196·bool·operator==(const·SLList&·sl)·const; 
92 ·197 
93 ·198 
94 199·bool·operator!=(const·SLList&·sl)·const; 
95 ·200 
96 ·201·private: 
97 ·203·struct·Element 
98 ·204·{ 
99 208·Element*·next_; 
100 212·MemberType·item_; 
Max diff block lines reached; 616/23576 bytes (2.61%) of diff not shown.
31.0 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:·bigunsignedint.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, 104 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;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="#typedef-members">Typedefs</a>·&#124;
72 <a·href="#func-members">Functions</a>··</div>72 <a·href="#var-members">Variables</a>··</div>
73 ··<div·class="headertitle"><div·class="title">bigunsignedint.hh·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">type_traits.hh·File·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Portable·very·large·unsigned·integers.·· 
77 <a·href="#details">More...</a></p> 
78 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>
79 <code>#include·&lt;iostream&gt;</code><br·/> 
80 <code>#include·&lt;limits&gt;</code><br·/> 
81 <code>#include·&lt;cstdint&gt;</code><br·/> 
82 <code>#include·&lt;cstdlib&gt;</code><br·/> 
83 <code>#include·&lt;type_traits&gt;</code><br·/> 
84 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>77 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
85 <code>#include·&lt;<a·class="el"·href="a00038_source.html">dune/common/hash.hh</a>&gt;</code><br·/>78 <code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/>
86 </div>79 </div>
87 <p><a·href="a00287_source.html">Go·to·the·source·code·of·this·file.</a></p>80 <p><a·href="a00287_source.html">Go·to·the·source·code·of·this·file.</a></p>
88 <table·class="memberdecls">81 <table·class="memberdecls">
89 <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>
90 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="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>
91 <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>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>
92 <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>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>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <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="a01304.html">Dune::IsNumber&lt;·bigunsignedint&lt;·k·&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="a02876.html">Dune::Std::disjunction&lt;·B·&gt;</a></td></tr>
95 <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>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>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <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="a01308.html">std::numeric_limits&lt;·Dune::bigunsignedint&lt;·k·&gt;·&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="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>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 </table><table·class="memberdecls">96 </table><table·class="memberdecls">
100 <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>
101 Namespaces</h2></td></tr>98 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>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>
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>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>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 <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>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>
106 <tr·class="memdesc:a00424"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">STL·namespace.·<br·/></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>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 </table><table·class="memberdecls">105 </table><table·class="memberdecls">
109 <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>
110 Macros</h2></td></tr> 
111 <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>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>
112 <tr·class="separator:gaf87f343423f6514fb0bea86e67539446"><td·class="memSeparator"·colspan="2">&#160;</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>
113 </table><table·class="memberdecls">136 </table><table·class="memberdecls">
114 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>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>
115 Functions</h2></td></tr> 
116 <tr·class="memitem:ga49e9aab7260e82c77e7fd410ecb339c1"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
117 <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> 
118 <tr·class="separator:ga49e9aab7260e82c77e7fd410ecb339c1"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
119 <tr·class="memitem:gaa1064cddd9687941b214fd8fb438922b"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
120 <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> 
121 <tr·class="separator:gaa1064cddd9687941b214fd8fb438922b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
122 <tr·class="memitem:ga80f9fd2604e395d902fb0df692cdaca4"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
123 <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> 
124 <tr·class="separator:ga80f9fd2604e395d902fb0df692cdaca4"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
125 <tr·class="memitem:ga18a74c0d02300748edcf3bc9c58eaf27"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
126 <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> 
127 <tr·class="separator:ga18a74c0d02300748edcf3bc9c58eaf27"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
128 <tr·class="memitem:ga5e2147f08b4e20eb876456a231859903"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
129 <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> 
130 <tr·class="separator:ga5e2147f08b4e20eb876456a231859903"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
131 <tr·class="memitem:gac8578d991f3565183d9abd2d808f97b9"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
Max diff block lines reached; 557/25397 bytes (2.19%) of diff not shown.
6.05 KB
html2text {}
    
Offset 4, 90 lines modifiedOffset 4, 102 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·|·Variables
 9 type_traits.hh·File·Reference
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>10 #include·<type_traits>
16 #include·<dune/common/exceptions.hh> 
17 #include·<dune/common/hash.hh>11 #include·<dune/common/typetraits.hh>
 12 #include·<dune/common/typeutilities.hh>
18 Go_to_the_source_code_of_this_file.13 Go_to_the_source_code_of_this_file.
19 ·Classes14 ·Classes
20 ·class· Dune::bigunsignedint<_k_> 
21  ·······Portable·very·large·unsigned·integers.·More...15 struct· Dune::Std::nonesuch
 16  ·······Type·representing·a·lookup·failure·by·std::detected_or·and·friends.
 17 ·········More...
22  18  
23 struct· Dune::IsNumber<_bigunsignedint<_k_>_> 
24  ·······Declare·big·unsigned·int·is·a·number.·More...19 struct· Dune::Std::conjunction<_B_>
 20  ·······forms·the·logical·conjunction·of·the·type·traits·B...·More...
25  21  
26 struct· std::numeric_limits<_Dune::bigunsignedint<_k_>_>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  27  
28 ·Namespaces28 ·Namespaces
29 namespace· Dune29 namespace· Dune
30  ··········Dune·namespace.30  ··········Dune·namespace.
31  31  
32 namespace· std32 namespace· Dune::Std
33  ··········STL·namespace.33  ··········Namespace·for·features·backported·from·new·C++·standards.
34  34  
35 ·Macros 
36 #define DUNE_BINOP(OP)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...
37  98  
38 ·Functions 
39 template<int·k> 
40 ·····std::ostream·& Dune::operator<<·(std::ostream·&s,·const·bigunsignedint<·k 
41 ·····················>·&x) 
42   
43 template<int·k> 
44 bigunsignedint<·k·> Dune::operator+·(const·bigunsignedint<·k·>·&x,·std:: 
45 ·····················uintmax_t·y) 
46   
47 template<int·k> 
48 bigunsignedint<·k·> Dune::operator-·(const·bigunsignedint<·k·>·&x,·std:: 
49 ·····················uintmax_t·y) 
50   
51 template<int·k> 
52 bigunsignedint<·k·> Dune::operator*·(const·bigunsignedint<·k·>·&x,·std:: 
53 ·····················uintmax_t·y) 
Max diff block lines reached; 116/6176 bytes (1.88%) of diff not shown.
214 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:·bigunsignedint.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, 738 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">bigunsignedint.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="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_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_STD_TYPE_TRAITS_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_BIGUNSIGNEDINT_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> 
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>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>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00143.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;<a·class="code"·href="a00014.html">dune/common/typetraits.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="a00038.html">dune/common/hash.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="a00257.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>
 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>87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</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>88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
89 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</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>90 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">namespace·</span>Std</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>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>
95 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">namespace·</span>Impl·{</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>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>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>
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>·</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>
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>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> 
111 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">protected</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>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>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>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>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>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>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>·</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>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>
121 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>124 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</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>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>
124 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">public</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>
125 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</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>
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>136 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
Max diff block lines reached; 156591/182994 bytes (85.57%) of diff not shown.
35.1 KB
html2text {}
    
Offset 4, 923 lines modifiedOffset 4, 284 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 bigunsignedint.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
 15 ·5#ifndef·DUNE_COMMON_STD_TYPE_TRAITS_HH
 16 ·6#define·DUNE_COMMON_STD_TYPE_TRAITS_HH
 17 ·7
14 ·5 
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>18 ·8#include·<type_traits>
24 ·15#include·<dune/common/exceptions.hh> 
25 ·16#include·<dune/common/hash.hh>19 ·9#include·<dune/common/typetraits.hh>
26 ·1720 ·10#include·<dune/common/typeutilities.hh>
 21 ·11
 22 ·12#if·__has_include(<experimental/type_traits>)
 23 ·13#include·<experimental/type_traits>
 24 ·14#endif
 25 ·15
27 ·24namespace·Dune26 ·16namespace·Dune
 27 ·17{
 28 ·18
 29 ·20
 30 ·29namespace·Std
28 ·25{ 
29 ·26#if·HAVE_MPI 
30 ·27·template<class·K> 
31 ·28·struct·MPITraits; 
32 ·29#endif 
33 ·3031 ·30{
34 ·36·namespace·Impl·{32 ·31
 33 ·34·using·std::bool_constant;
 34 ·35
 35 ·36#if·DUNE_HAVE_CXX_EXPERIMENTAL_IS_DETECTED
35 ·3736 ·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
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·{49 ·50
56 ·51 
57 ·52·protected: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)
58 ·5354 ·53
59 ·54·static·std::uint16_t&·digit(T&·big_unsigned_int,·std::size_t·i)55 ·54#ifndef·DOXYGEN
60 ·55·{56 ·55
61 ·56·return·big_unsigned_int.digit[i];57 ·56·namespace·Impl·{
62 ·57·}58 ·57
63 ·58 
64 ·59·}; 
65 ·6059 ·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
66 ·61·}63 ·61·{
67 ·62 
68 ·72·template<int·k> 
69 73·class·bigunsignedint·{ 
70 ·74·public: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·}
71 ·7579 ·75
 80 ·76#endif·//·DOXYGEN
 81 ·77
 82 ·79
 83 87·struct·nonesuch
 84 ·88·{
 85 89·nonesuch()·=·delete;
 86 90·~nonesuch()·=·delete;
Max diff block lines reached; 31221/35877 bytes (87.02%) of diff not shown.
29.7 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:·math.hh·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, 202 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="#define-members">Macros</a>·&#124; 
72 <a·href="#func-members">Functions</a>··</div> 
73 ··<div·class="headertitle"><div·class="title">math.hh·File·Reference</div></div>70 ··<div·class="headertitle"><div·class="title">variant.hh·File·Reference</div></div>
74 </div><!--header-->71 </div><!--header-->
75 <div·class="contents">72 <div·class="contents">
  
76 <p>Some·useful·basic·math·stuff.·· 
77 <a·href="#details">More...</a></p> 
78 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/>73 <div·class="textblock"><code>#include·&lt;variant&gt;</code><br·/>
79 <code>#include·&lt;complex&gt;</code><br·/> 
80 <code>#include·&lt;limits&gt;</code><br·/> 
81 <code>#include·&lt;type_traits&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00158_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/> 
83 </div>74 </div>
84 <p><a·href="a00290_source.html">Go·to·the·source·code·of·this·file.</a></p>75 <p><a·href="a00290_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="nested-classes"·name="nested-classes"></a> 
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> 
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> 
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="namespaces"·name="namespaces"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
106 Namespaces</h2></td></tr>78 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>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>
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>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>
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</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>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>
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>83 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr>
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</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> 
114 <tr·class="separator:"><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="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="a00290.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="a00290.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"> 
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: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> 
147 <tr·class="separator:ad23b1e7dff795bbdcd86389aeab065ba"><td·class="memSeparator"·colspan="2">&#160;</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> 
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> 
161 <tr·class="separator:a826fe50216822399903f37a0b901a9d4"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
162 <tr·class="memitem:aab4ad4b002d6757a35d82f9d7954e604"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
163 <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> 
164 <tr·class="separator:aab4ad4b002d6757a35d82f9d7954e604"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
165 <tr·class="memitem:a5fe96f40a2f7d525f8828086e306bc6a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
166 <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> 
Max diff block lines reached; 4338/24675 bytes (17.58%) of diff not shown.
5.5 KB
html2text {}
    
Offset 4, 156 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·|·Macros·|·Functions7 ····*·std
 8 Namespaces
8 math.hh·File·Reference9 variant.hh·File·Reference
9 Some·useful·basic·math·stuff.·More... 
10 #include·<cmath>10 #include·<variant>
11 #include·<complex> 
12 #include·<limits> 
13 #include·<type_traits> 
14 #include·<dune/common/typeutilities.hh> 
15 Go_to_the_source_code_of_this_file.11 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 ·Namespaces12 ·Namespaces
35 namespace· Dune13 namespace· Dune
36  ··········Dune·namespace.14  ··········Dune·namespace.
37  15  
38 namespace· Dune::MathOverloads 
39  ··········namespace·for·customization·of·math·functions·with·Dune-Semantics 
40   
41 namespace· Dune::MathImpl16 namespace· Dune::Std
 17  ··········Namespace·for·features·backported·from·new·C++·standards.
42   
43 ·Macros 
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   
120 template<class·T·,·class·=·std::enable_if_t<Impl::isComplexLike<T>::value>> 
121 ·················auto Dune::MathOverloads::isFinite·(const·T·&t,·PriorityTag< 
122 ·······················2·>,·ADLTag) 
123  18  
124 *****·Detailed·Description·***** 
Max diff block lines reached; 116/5607 bytes (2.07%) of diff not shown.
75.6 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:·math.hh·Source·File</title>8 <title>dune-common:·variant.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, 334 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">math.hh</div></div>68 ··<div·class="headertitle"><div·class="title">variant.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_MATH_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_VARIANT_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>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>
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="l00012"·name="l00012"></a><span·class="lineno">···12</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;variant&gt;·instead</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> 
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>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="preprocessor">#include·&lt;<a·class="code"·href="a00158.html">dune/common/typeutilities.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>
84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</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>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><span·class="keyword">namespace·</span>Std·{</div>
 85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>··<span·class="keyword">using·</span>std::variant;</div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>··<span·class="keyword">using·</span>std::visit;</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>
 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>
 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>
 90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>··<span·class="keyword">using·</span>std::get_if;</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>
 92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">using·</span>std::monostate;</div>
86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</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>}</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>·</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> 
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> 
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> 
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> 
Max diff block lines reached; 8892/64810 bytes (13.72%) of diff not shown.
12.1 KB
html2text {}
    
Offset 4, 400 lines modifiedOffset 4, 48 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 math.hh7 ····*·std
 8 variant.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_MATH_HH 
15 ·6#define·DUNE_MATH_HH15 ·5#ifndef·DUNE_COMMON_STD_VARIANT_HH
 16 ·6#define·DUNE_COMMON_STD_VARIANT_HH
16 ·717 ·7
 18 ·8#warning·dune/common/std/variant.hh·is·deprecated·and·will·be·removed·after
 19 Dune·2.8.\
 20 ·9·Include·<variant>·instead
 21 ·10
17 ·12#include·<cmath>22 ·11#include·<variant>
 23 ·12
18 ·13#include·<complex> 
19 ·14#include·<limits> 
20 ·15#include·<type_traits> 
21 ·16 
22 ·17#include·<dune/common/typeutilities.hh> 
23 ·18 
24 ·19namespace·Dune24 ·13namespace·Dune·{
 25 ·14namespace·Std·{
 26 ·15·using·std::variant;
 27 ·16·using·std::visit;
 28 ·17·using·std::variant_size;
 29 ·18·using·std::variant_size_v;
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;30 ·19·using·std::get;
 31 ·20·using·std::get_if;
 32 ·21·using·std::holds_alternative;
 33 ·22·using·std::monostate;
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 ·126 
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 
Max diff block lines reached; 3180/12416 bytes (25.61%) of diff not shown.
13.4 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:·debugalign.cc·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 63, 46 lines modifiedOffset 63, 75 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">debugalign.cc·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 <p>This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.··
 76 <a·href="#details">More...</a></p>
75 <div·class="textblock"><code>#include·&lt;config.h&gt;</code><br·/>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;cstddef&gt;</code><br·/>81 <code>#include·&lt;cstddef&gt;</code><br·/>
77 <code>#include·&lt;cstdlib&gt;</code><br·/> 
78 <code>#include·&lt;functional&gt;</code><br·/>82 <code>#include·&lt;initializer_list&gt;</code><br·/>
79 <code>#include·&lt;ios&gt;</code><br·/> 
80 <code>#include·&lt;iostream&gt;</code><br·/>83 <code>#include·&lt;iostream&gt;</code><br·/>
81 <code>#include·&lt;utility&gt;</code><br·/>84 <code>#include·&lt;memory&gt;</code><br·/>
 85 <code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>
82 <code>#include·&lt;<a·class="el"·href="a00254_source.html">dune/common/debugalign.hh</a>&gt;</code><br·/>86 <code>#include·&lt;<a·class="el"·href="a00350_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a00008_source.html">dune/common/genericiterator.hh</a>&gt;</code><br·/>
 91 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 92 </div>
 93 <p><a·href="a00293_source.html">Go·to·the·source·code·of·this·file.</a></p>
83 </div><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="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>
 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>
 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>
 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>
 120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 121 </table><table·class="memberdecls">
84 <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>
85 Namespaces</h2></td></tr>123 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>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>
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>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>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>126 <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: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> 
94 <tr·class="separator:a9f0c3f5a28263a8dd6cb81d9cfd8c929"><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>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>
102 </div><!--·contents·-->130 </div></div><!--·contents·-->
103 <!--·start·footer·part·-->131 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>132 <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.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
106 </small></address>134 </small></address>
107 </body>135 </body>
108 </html>136 </html>
2.62 KB
html2text {}
    
Offset 4, 39 lines modifiedOffset 4, 60 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
 8 diagonalmatrix.hh·File·Reference
 9 This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.·More...
 10 #include·<algorithm>
 11 #include·<cassert>
 12 #include·<cmath>
 13 #include·<complex>
10 #include·<cstddef>14 #include·<cstddef>
 15 #include·<initializer_list>
11 #include·<cstdlib> 
12 #include·<functional> 
13 #include·<ios> 
14 #include·<iostream>16 #include·<iostream>
15 #include·<utility>17 #include·<memory>
 18 #include·<dune/common/boundschecking.hh>
16 #include·<dune/common/debugalign.hh>19 #include·<dune/common/densematrix.hh>
 20 #include·<dune/common/exceptions.hh>
 21 #include·<dune/common/fmatrix.hh>
 22 #include·<dune/common/fvector.hh>
 23 #include·<dune/common/genericiterator.hh>
 24 #include·<dune/common/typetraits.hh>
 25 Go_to_the_source_code_of_this_file.
 26 ·Classes
 27 ·class· Dune::DiagonalMatrix<_K,_n_>
 28  ·······A·diagonal·matrix·of·static·size.·More...
 29  
 30 struct· Dune::FieldTraits<_DiagonalMatrix<_K,_n_>_>
 31  
 32 ·class· Dune::DiagonalMatrixWrapper<_DiagonalMatrixType_>
 33  
 34 ·class· Dune::DiagonalRowVectorConst<_K,_n_>
 35  
 36 ·class· Dune::DiagonalRowVector<_K,_n_>
 37  
 38 struct· Dune::const_reference<_DiagonalRowVector<_K,_n_>_>
 39  
 40 struct· Dune::const_reference<_DiagonalRowVectorConst<_K,_n_>_>
 41  
 42 struct· Dune::mutable_reference<_DiagonalRowVector<_K,_n_>_>
 43  
 44 struct· Dune::mutable_reference<_DiagonalRowVectorConst<_K,_n_>_>
 45  
 46 ·class· Dune::ContainerWrapperIterator<_CW,_T,_R_>
 47  ·······Iterator·class·for·sparse·vector-like·containers.·More...
 48  
 49 struct· Dune::DenseMatrixAssigner<_DenseMatrix,_DiagonalMatrix<_field,_N_>_>
 50  
17 ·Namespaces51 ·Namespaces
18 namespace· Dune52 namespace· Dune
19  ··········Dune·namespace.53  ··········Dune·namespace.
20  54  
 55 *****·Detailed·Description·*****
 56 This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.
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   
  
36 ===============================================================================57 ===============================================================================
37 ·····Generated·by [doxygen]·1.9.458 ·····Generated·by [doxygen]·1.9.4
19.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:·stdstreams.cc·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 63, 48 lines modifiedOffset 63, 96 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="#typedef-members">Typedefs</a>·&#124;
71 <a·href="#var-members">Variables</a>··</div>73 <a·href="#func-members">Functions</a>··</div>
72 ··<div·class="headertitle"><div·class="title">stdstreams.cc·File·Reference</div></div>74 ··<div·class="headertitle"><div·class="title">simd.hh·File·Reference</div></div>
73 </div><!--header-->75 </div><!--header-->
74 <div·class="contents">76 <div·class="contents">
75 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00050_source.html">stdstreams.hh</a>&quot;</code><br·/> 
 77 <p>Abstractions·for·support·of·dedicated·SIMD·data·types.··
 78 <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="a00305_source.html">dune/common/conditional.hh</a>&gt;</code><br·/>
 84 <code>#include·&lt;<a·class="el"·href="a00317_source.html">dune/common/debugalign.hh</a>&gt;</code><br·/>
 85 <code>#include·&lt;<a·class="el"·href="a00146_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/>
 86 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00149_source.html">dune/common/vc.hh</a>&gt;</code><br·/>
 88 </div>
 89 <p><a·href="a00296_source.html">Go·to·the·source·code·of·this·file.</a></p>
76 </div><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="a02592.html">Dune::SimdScalarTypeTraits&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>
 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>
 102 </table><table·class="memberdecls">
77 <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>
78 Namespaces</h2></td></tr>104 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>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>
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>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>
81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 </table><table·class="memberdecls">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">
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a>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>
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>128 <tr·class="separator:afc2c37fe2704917536f5263272d0a7e2"><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>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>
96 <tr·class="separator:ga4bff1feeab1e96f08aca7796cc69b4ea"><td·class="memSeparator"·colspan="2">&#160;</td></tr>136 <tr·class="separator:ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5"><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>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>
99 <tr·class="separator:ga765267750e6b2718fa718ab5f9fa1ed9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>143 <tr·class="separator:a8cc9a46e5ec32e3b68c3071cf1a25361"><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>144 </table>
 145 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 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="a00305.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>
104 </div><!--·contents·-->151 </div></div><!--·contents·-->
105 <!--·start·footer·part·-->152 <!--·start·footer·part·-->
106 <hr·class="footer"/><address·class="footer"><small>153 <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.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
108 </small></address>155 </small></address>
109 </body>156 </body>
110 </html>157 </html>
3.41 KB
html2text {}
    
Offset 4, 36 lines modifiedOffset 4, 81 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" 
10 ·Namespaces 
11 namespace· Dune 
12  ··········Dune·namespace. 
13   
14 ·Variables 
15 DVVerbType Dune::dvverb·(std::cout) 
16  ··········stream·for·very·verbose·output.·More...7 Classes·|·Namespaces·|·Typedefs·|·Functions
 8 simd.hh·File·Reference
 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>
 19 Go_to_the_source_code_of_this_file.
 20 ·Classes
 21 struct· Dune::SimdScalarTypeTraits<_T_>
17  22  
18 ·DVerbType Dune::dverb·(std::cout) 
19  ··········Singleton·of·verbose·debug·stream.·More...23 struct· Dune::SimdScalarTypeTraits<_AlignedNumber<_T,_align_>_>
 24  ·······deduce·the·underlying·scalar·data·type·of·an·AlignedNumber·More...
20  25  
 26 struct· Dune::SimdIndexTypeTraits<_V,_typename_>
21 ·DInfoType Dune::dinfo·(std::cout) 
22  ··········Stream·for·informative·output.·More... 
23  27  
 28 struct· Dune::SimdMaskTypeTraits<_V,_typename_>
24 ·DWarnType Dune::dwarn·(std::cerr) 
25  ··········Stream·for·warnings·indicating·problems.·More... 
26  29  
 30 ·Namespaces
 31 namespace· Dune
 32  ··········Dune·namespace.
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  33  
 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·*****
 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.
  
33 ===============================================================================78 ===============================================================================
34 ·····Generated·by [doxygen]·1.9.479 ·····Generated·by [doxygen]·1.9.4
8.18 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:·fmatrixev.cc·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 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="#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">fmatrixev.cc·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">debugalign.cc·File·Reference</div></div>
72 </div><!--header-->73 </div><!--header-->
73 <div·class="contents">74 <div·class="contents">
74 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/>75 <div·class="textblock"><code>#include·&lt;config.h&gt;</code><br·/>
75 <code>#include·&lt;cmath&gt;</code><br·/> 
76 <code>#include·&lt;cassert&gt;</code><br·/>76 <code>#include·&lt;cstddef&gt;</code><br·/>
 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·/>
77 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>82 <code>#include·&lt;<a·class="el"·href="a00317_source.html">dune/common/debugalign.hh</a>&gt;</code><br·/>
78 </div><table·class="memberdecls">83 </div><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 </table><table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
80 Macros</h2></td></tr>91 Functions</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="a00299.html#afa3d4fc0f9c478d5f00cc7586b9dad48">DUNE_FMATRIXEIGENVALUES_CC</a></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[·...·truncated·by·diffoscope;·len:·69,·SHA:·d422b185c2685a4cea3bcf65a557ada64698887bad37ac7a520b3f56a1d5af88·...·]</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>
82 <tr·class="separator:afa3d4fc0f9c478d5f00cc7586b9dad48"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:a9f0c3f5a28263a8dd6cb81d9cfd8c929"><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>
83 </table>101 </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> 
  
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> 
97 </div><!--·contents·-->102 </div><!--·contents·-->
98 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
99 <hr·class="footer"/><address·class="footer"><small>104 <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.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
101 </small></address>106 </small></address>
102 </body>107 </body>
103 </html>108 </html>
1.48 KB
html2text {}
    
Offset 4, 22 lines modifiedOffset 4, 39 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·Reference7 Namespaces·|·Functions
 8 debugalign.cc·File·Reference
 9 #include·<config.h>
 10 #include·<cstddef>
 11 #include·<cstdlib>
 12 #include·<functional>
 13 #include·<ios>
9 #include·<iostream>14 #include·<iostream>
 15 #include·<utility>
10 #include·<cmath> 
11 #include·<cassert> 
12 #include·<dune/common/exceptions.hh>16 #include·<dune/common/debugalign.hh>
13 ·Macros 
14 #define DUNE_FMATRIXEIGENVALUES_CC17 ·Namespaces
 18 namespace· Dune
 19  ··········Dune·namespace.
 20  
 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...
15  35  
16 *****·Macro·Definition·Documentation·***** 
17 *****·◆ DUNE_FMATRIXEIGENVALUES_CC·***** 
18 #define·DUNE_FMATRIXEIGENVALUES_CC 
  
19 ===============================================================================36 ===============================================================================
20 ·····Generated·by [doxygen]·1.9.437 ·····Generated·by [doxygen]·1.9.4
13.4 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:·lru.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 64, 44 lines modifiedOffset 64, 84 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">lru.hh·File·Reference</div></div>72 <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>
73 </div><!--header-->74 </div><!--header-->
74 <div·class="contents">75 <div·class="contents">
  
75 <p>LRU·Cache·Container,·using·an·STL·like·interface.··76 <p>Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·size.··
76 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;list&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·/>
78 <code>#include·&lt;utility&gt;</code><br·/>84 <code>#include·&lt;utility&gt;</code><br·/>
 85 <code>#include·&lt;initializer_list&gt;</code><br·/>
79 <code>#include·&lt;map&gt;</code><br·/>86 <code>#include·&lt;algorithm&gt;</code><br·/>
80 <code>#include·&lt;memory&gt;</code><br·/>87 <code>#include·&quot;<a·class="el"·href="a00014_source.html">typetraits.hh</a>&quot;</code><br·/>
 88 <code>#include·&quot;<a·class="el"·href="a00341_source.html">exceptions.hh</a>&quot;</code><br·/>
 89 <code>#include·&quot;<a·class="el"·href="a00392_source.html">ftraits.hh</a>&quot;</code><br·/>
 90 <code>#include·&quot;<a·class="el"·href="a00107_source.html">densevector.hh</a>&quot;</code><br·/>
 91 <code>#include·&quot;<a·class="el"·href="a00173_source.html">boundschecking.hh</a>&quot;</code><br·/>
81 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>92 <code>#include·&lt;<a·class="el"·href="a00182_source.html">dune/common/math.hh</a>&gt;</code><br·/>
 93 <code>#include·&lt;<a·class="el"·href="a00209_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/>
82 </div>94 </div>
83 <p><a·href="a00302_source.html">Go·to·the·source·code·of·this·file.</a></p>95 <p><a·href="a00302_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">96 <table·class="memberdecls">
85 <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>
86 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="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>
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>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>
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>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>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table><table·class="memberdecls">113 </table><table·class="memberdecls">
91 <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>
92 Namespaces</h2></td></tr>115 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>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>
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>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>
95 <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>
 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>
 124 Functions</h2></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>
 136 <tr·class="separator:abe1edb9dee17e22e019dcc99fda44e7f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 </table>137 </table>
97 <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·>Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·size.·</p>
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·-->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.66 KB
html2text {}
    
Offset 4, 31 lines modifiedOffset 4, 75 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 lru.hh·File·Reference8 fvector.hh·File·Reference
9 LRU·Cache·Container,·using·an·STL·like·interface.·More...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>
10 #include·<list>14 #include·<cstddef>
 15 #include·<cstdlib>
 16 #include·<complex>
 17 #include·<cstring>
11 #include·<utility>18 #include·<utility>
12 #include·<map> 
13 #include·<memory>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>
14 #include·<dune/common/exceptions.hh>27 #include·<dune/common/promotiontraits.hh>
15 Go_to_the_source_code_of_this_file.28 Go_to_the_source_code_of_this_file.
16 ·Classes29 ·Classes
17 class· Dune::lru<_Key,_Tp,_Traits_> 
18  ······LRU·Cache·Container.·More...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...
19  44  
20 ·Namespaces45 ·Namespaces
21 namespace· Dune46 namespace· Dune
22  ··········Dune·namespace.47  ··········Dune·namespace.
23  48  
 49 namespace· Dune::MathOverloads
 50  ··········namespace·for·customization·of·math·functions·with·Dune-Semantics
 51  
 52 ·Functions
 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  
24 *****·Detailed·Description·*****69 *****·Detailed·Description·*****
 70 Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a
 71 compile-time·given·size.
25 LRU·Cache·Container,·using·an·STL·like·interface. 
26 ··Author 
27 ······Christian·Engwer 
  
28 ===============================================================================72 ===============================================================================
29 ·····Generated·by [doxygen]·1.9.473 ·····Generated·by [doxygen]·1.9.4
174 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:·lru.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, 208 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">lru.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="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>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>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_FVECTOR_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_FVECTOR_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;array&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>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cmath&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>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;memory&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>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</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="a00014.html">typetraits.hh</a>&quot;</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="a00143.html">dune/common/exceptions.hh</a>&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="a00341.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="a00392.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="a00107.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="a00173.html">boundschecking.hh</a>&quot;</span></div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</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="a00182.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="a00209.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>
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>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>
86 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</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>
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>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>
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>103 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</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>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="cod[·...·truncated·by·diffoscope;·len:·83,·SHA:·e1252fd5cf6755b9e6d9b6d689adaad6dc955e4c7e463e52d1d99dca4837b372·...·];</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>
116 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</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>
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> 
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> 
129 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····{</div>112 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</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>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#aaaf[·...·truncated·by·diffoscope;·len:·162,·SHA:·2f7af4f5a612a739800770cf25dd38cad0e972cf30e32d6636f7909a5dcb1475·...·];</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>
131 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</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>
132 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>127 <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_functi[·...·truncated·by·diffoscope;·len:·103,·SHA:·25dadaa1ffbf45854213a8cbe5655929d46d6df843b52f9d4ca4ad1d90bcdc6a·...·]</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>
134 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">····</span>{</div>133 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··};</div>
Max diff block lines reached; 107055/148757 bytes (71.97%) of diff not shown.
28.2 KB
html2text {}
    
Offset 4, 269 lines modifiedOffset 4, 769 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 lru.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#ifndef·DUNE_COMMON_LRU_HH14 ·5#ifndef·DUNE_FVECTOR_HH
15 ·6#define·DUNE_COMMON_LRU_HH15 ·6#define·DUNE_FVECTOR_HH
16 ·716 ·7
17 ·8#include·<list>17 ·8#include·<array>
 18 ·9#include·<cmath>
 19 ·10#include·<cstddef>
 20 ·11#include·<cstdlib>
 21 ·12#include·<complex>
 22 ·13#include·<cstring>
18 ·9#include·<utility>23 ·14#include·<utility>
19 ·10#include·<map> 
20 ·11#include·<memory> 
21 ·1224 ·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>
22 ·13#include·<dune/common/exceptions.hh>35 ·26#include·<dune/common/promotiontraits.hh>
23 ·1436 ·27
24 ·20namespace·Dune·{37 ·28namespace·Dune·{
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;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·{
 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;
43 ·38·};66 ·78·};
 67 ·79
 68 ·80·template<typename·T,·int·SIZE,·int·SIZE1>
 69 81·struct·IsFieldVectorSizeCorrect<FieldVector<T,SIZE1>,SIZE>
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·{70 ·82·{
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 ·5871 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;
57 ·59·public:81 ·98·public:
 82 100·constexpr·static·int·dimension·=·SIZE;
 83 ·101
58 60·typedef·typename·Traits::key_type·key_type;84 102·typedef·typename·Base::size_type·size_type;
59 61·typedef·typename·allocator::value_type·value_type;85 103·typedef·typename·Base::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; 
Max diff block lines reached; 22688/28849 bytes (78.64%) of diff not shown.
4.4 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:·ios_state.cc·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 63, 25 lines modifiedOffset 63, 34 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="#func-members">Functions</a>··</div>
71 ··<div·class="headertitle"><div·class="title">ios_state.cc·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">conditional.hh·File·Reference</div></div>
72 </div><!--header-->73 </div><!--header-->
73 <div·class="contents">74 <div·class="contents">
74 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00227_source.html">dune/common/ios_state.hh</a>&gt;</code><br·/> 
 75 <p><a·href="a00305_source.html">Go·to·the·source·code·of·this·file.</a></p>
75 </div><table·class="memberdecls">76 <table·class="memberdecls">
76 <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>
77 Namespaces</h2></td></tr>78 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>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>
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>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>
80 <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="func-members"·name="func-members"></a>
 84 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>
 88 <tr·class="separator:aa7df1a64bf1697e91502bce842535577"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>89 </table>
82 </div><!--·contents·-->90 </div><!--·contents·-->
83 <!--·start·footer·part·-->91 <!--·start·footer·part·-->
84 <hr·class="footer"/><address·class="footer"><small>92 <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.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
86 </small></address>94 </small></address>
87 </body>95 </body>
594 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 Namespaces 
8 ios_state.cc·File·Reference 
9 #include·<dune/common/ios_state.hh>7 Namespaces·|·Functions
 8 conditional.hh·File·Reference
 9 Go_to_the_source_code_of_this_file.
10 ·Namespaces10 ·Namespaces
11 namespace· Dune11 namespace· Dune
12  ··········Dune·namespace.12  ··········Dune·namespace.
13  13  
 14 ·Functions
 15 template<typename·T1·,·typename·T2·>
 16 const·T1 Dune::cond·(bool·b,·const·T1·&v1,·const·T2·&v2)
 17  ········conditional·evaluate·More...
 18  
  
14 ===============================================================================19 ===============================================================================
15 ·····Generated·by [doxygen]·1.9.420 ·····Generated·by [doxygen]·1.9.4
16.3 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:·parametertree.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 64, 69 lines modifiedOffset 64, 78 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">propertymap.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 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;cstddef&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·/>77 <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·/>78 <code>#include·&lt;type_traits&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="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
92 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/fvector.hh</a>&gt;</code><br·/> 
93 <code>#include·&lt;<a·class="el"·href="a00026_source.html">dune/common/classname.hh</a>&gt;</code><br·/> 
94 </div>79 </div>
95 <p><a·href="a00308_source.html">Go·to·the·source·code·of·this·file.</a></p>80 <p><a·href="a00308_source.html">Go·to·the·source·code·of·this·file.</a></p>
96 <table·class="memberdecls">81 <table·class="memberdecls">
97 <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>
98 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="a02440.html">Dune::PropertyMapTraits&lt;·PM·&gt;</a></td></tr>
 85 <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="a02344.html">Dune::ParameterTree</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="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>
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>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>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <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>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>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <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>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>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <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>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>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <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>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>
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <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>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>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <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>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>
113 <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">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>
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>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>
115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
116 </table><table·class="memberdecls">119 </table><table·class="memberdecls">
117 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>120 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
118 Namespaces</h2></td></tr>121 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>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>
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>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>
121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>124 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 125 </table><table·class="memberdecls">
 126 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 127 Functions</h2></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>
122 </table>134 </table>
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> 
125 </div></div><!--·contents·-->135 </div><!--·contents·-->
126 <!--·start·footer·part·-->136 <!--·start·footer·part·-->
127 <hr·class="footer"/><address·class="footer"><small>137 <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.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
129 </small></address>139 </small></address>
130 </body>140 </body>
131 </html>141 </html>
3.1 KB
html2text {}
    
Offset 4, 56 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·|·Namespaces7 Classes·|·Namespaces·|·Functions
8 parametertree.hh·File·Reference8 propertymap.hh·File·Reference
9 A·hierarchical·structure·of·string·parameters.·More... 
10 #include·<array> 
11 #include·<cstddef>9 #include·<cstddef>
12 #include·<iostream> 
13 #include·<istream> 
14 #include·<iterator>10 #include·<iterator>
15 #include·<locale> 
16 #include·<map> 
17 #include·<ostream> 
18 #include·<sstream> 
19 #include·<string> 
20 #include·<typeinfo>11 #include·<type_traits>
21 #include·<vector> 
22 #include·<algorithm> 
23 #include·<bitset> 
24 #include·<dune/common/exceptions.hh> 
25 #include·<dune/common/fvector.hh> 
26 #include·<dune/common/classname.hh> 
27 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
28 ·Classes13 ·Classes
 14 struct· Dune::PropertyMapTraits<_PM_>
29 ·class· Dune::ParameterTree 
30  ·······Hierarchical·structure·of·string·parameters.·More... 
31  15  
32 struct· Dune::ParameterTree::Parser<_std::basic_string<_char,_traits, 
33 ·········Allocator_>_>16 struct· Dune::ReadablePropertyMapTag
 17  ·······Tag·for·the·category·of·readable·property·maps.·More...
34  18  
35 struct· Dune::ParameterTree::Parser<_bool_>19 struct· Dune::WritablePropertyMapTag
 20  ·······Tag·for·the·category·of·writable·property·maps.·More...
36  21  
37 struct· Dune::ParameterTree::Parser<_bool_>::ToLower22 struct· Dune::ReadWritePropertyMapTag
 23  ·······Tag·for·the·category·of·readable·and·writable·property·maps.·More...
38  24  
39 struct· Dune::ParameterTree::Parser<_FieldVector<_T,_n_>_>25 struct· Dune::LvaluePropertyMapTag
 26  ·······Tag·for·the·category·of·lvalue·property·maps.·More...
40  27  
41 struct· Dune::ParameterTree::Parser<_std::array<_T,_n_>_>28 struct· Dune::PropertyMapTraits<_T_*_>
42  29  
43 struct· Dune::ParameterTree::Parser<_std::bitset<_n_>_>30 struct· Dune::PropertyMapTraits<_const_T_*_>
44  31  
45 struct· Dune::ParameterTree::Parser<_std::vector<_T,_A_>_>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...
46  50  
47 ·Namespaces51 ·Namespaces
48 namespace· Dune52 namespace· Dune
49  ··········Dune·namespace.53  ··········Dune·namespace.
50  54  
51 *****·Detailed·Description·***** 
52 A·hierarchical·structure·of·string·parameters.55 ·Functions
 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  
  
53 ===============================================================================64 ===============================================================================
54 ·····Generated·by [doxygen]·1.9.465 ·····Generated·by [doxygen]·1.9.4
129 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:·parametertree.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 62, 309 lines modifiedOffset 62, 269 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">propertymap.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">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</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>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_PROPERTYMAP_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_PROPERTYMAP_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>78 <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="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>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</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> 
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>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>
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>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</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="a00143.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="a00206.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="a00026.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>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>
98 <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>
 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>
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>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>
100 <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>
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>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="a024[·...·truncated·by·diffoscope;·len:·54,·SHA:·4f4e13bcb05b6ff01b7ecb91ebc6c7133704092213afc5e2374e8edd503c5f01·...·];</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>
104 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">struct·</span>Parser;</div>92 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</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>
 95 <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>
 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>
105 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>98 <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>99 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</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#a431a09c44d7[·...·truncated·by·diffoscope;·len:·37,·SHA:·9d2632fc69909d14621e2a3cdf956b97e08e87e853206ff3c5680e2cfb9aa792·...·]</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>
109 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>102 <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>····<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>103 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</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>
112 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>107 <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:·24,·SHA:·b2d5e1f74ad60ca1ab75eb993c3372284818f01a710861d16b75893c6234fa74·...·];</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>
 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>
114 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>116 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
115 <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>·</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:·109,·SHA:·8891e4d9b23ed8208c0752f70993e63fd3cacc552c503c796c3aa2937770d3d0·...·];</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>
117 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</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>
118 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>129 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</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>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>
121 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>138 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</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&am[·...·truncated·by·diffoscope;·len:·42,·SHA:·fc6968ebe6126ceff7f47132bf48ee624181382b901c411824bfb19ad2bab11e·...·];</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">cla[·...·truncated·by·diffoscope;·len:·18,·SHA:·3f287ca02af1f3394b101f43fb561aeda7970b741633b2d764bd19e7c4819969·...·];</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>
 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>
 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>
123 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>148 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</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>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>
Max diff block lines reached; 82566/109604 bytes (75.33%) of diff not shown.
21.8 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 propertymap.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_HH14 ·5#ifndef·DUNE_PROPERTYMAP_HH
15 ·6#define·DUNE_PARAMETERTREE_HH15 ·6#define·DUNE_PROPERTYMAP_HH
16 ·716 ·7
17 ·12#include·<array> 
18 ·13#include·<cstddef>17 ·8#include·<cstddef>
19 ·14#include·<iostream> 
20 ·15#include·<istream> 
21 ·16#include·<iterator>18 ·9#include·<iterator>
 19 ·10#include·<type_traits>
 20 ·11
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> 
33 ·28#include·<dune/common/fvector.hh> 
34 ·29#include·<dune/common/classname.hh> 
35 ·30 
36 ·31namespace·Dune·{21 ·12namespace·Dune
37 ·32 
38 36·class·ParameterTree22 ·13{
 23 ·14
 24 ·15·template<class·PM>
 25 16·struct·PropertyMapTraits
39 ·37·{26 ·17·{
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 ·4227 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·{
45 ·43·public:95 ·109·public:
 96 113·typedef·RAI·RandomAccessIterator;
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 ·62 
Max diff block lines reached; 18406/22328 bytes (82.43%) of diff not shown.
22.4 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:·mpitraits.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 58, 51 lines modifiedOffset 58, 111 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">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 <a·href="#func-members">Functions</a>··</div>
 72 ··<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>
72 </div><!--header-->73 </div><!--header-->
73 <div·class="contents">74 <div·class="contents">
  
74 <p>Traits·classes·for·mapping·types·onto·MPI_Datatype.··75 <p>Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·compile-time·given·number·of·rows·and·columns.··
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;cmath&gt;</code><br·/>
77 <code>#include·&lt;cstdint&gt;</code><br·/>78 <code>#include·&lt;cstddef&gt;</code><br·/>
78 <code>#include·&lt;type_traits&gt;</code><br·/>79 <code>#include·&lt;iostream&gt;</code><br·/>
79 <code>#include·&lt;utility&gt;</code><br·/>80 <code>#include·&lt;algorithm&gt;</code><br·/>
80 <code>#include·&lt;complex&gt;</code><br·/>81 <code>#include·&lt;initializer_list&gt;</code><br·/>
81 <code>#include·&lt;mpi.h&gt;</code><br·/>82 <code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>
 83 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 84 <code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
 85 <code>#include·&lt;<a·class="el"·href="a00350_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/>
 86 <code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/precision.hh</a>&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00209_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/matrixconcepts.hh</a>&gt;</code><br·/>
 90 <code>#include·&quot;<a·class="el"·href="a00215_source.html">fmatrixev.hh</a>&quot;</code><br·/>
82 </div>91 </div>
83 <p><a·href="a00311_source.html">Go·to·the·source·code·of·this·file.</a></p>92 <p><a·href="a00311_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">93 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
86 Classes</h2></td></tr>95 Classes</h2></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="a01732.html">Dune::DenseMatVecTraits&lt;·FieldMatrix&lt;·K,·ROWS,·COLS·&gt;·&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="a01736.html">Dune::FieldTraits&lt;·FieldMatrix&lt;·K,·ROWS,·COLS·&gt;·&gt;</a></td></tr>
 99 <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="a01288.html">Dune::MPITraits&lt;·T·&gt;</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="a01408.html">Dune::FieldMatrix&lt;·K,·ROWS,·COLS·&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>101 <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>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table><table·class="memberdecls">103 </table><table·class="memberdecls">
91 <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>
92 Namespaces</h2></td></tr>105 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>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>
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>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>
95 <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: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>
 110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 </table><table·class="memberdecls">
 112 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 113 Functions</h2></td></tr>
 114 <tr·class="memitem:a9f70ac3f14f482a99d4e01ada277d5c1"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>
 115 <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>
 116 <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>
 117 <tr·class="separator:a9f70ac3f14f482a99d4e01ada277d5c1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 118 <tr·class="memitem:a67155815b034773129d21bfe3992f0b6"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>
 119 <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>
 120 <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>
 121 <tr·class="separator:a67155815b034773129d21bfe3992f0b6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 122 <tr·class="memitem:a27757ac69a505e206e82b5b184333f15"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>
 123 <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>
 124 <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>
 125 <tr·class="separator:a27757ac69a505e206e82b5b184333f15"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 126 <tr·class="memitem:a4944da58b2dcefc979ea0fccf87971c4"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>
 127 <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>
 128 <tr·class="separator:a4944da58b2dcefc979ea0fccf87971c4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 129 <tr·class="memitem:a8569be33ba4985b1ceda0e3bc05aadd8"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>
 130 <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>
 131 <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>
 132 <tr·class="separator:a8569be33ba4985b1ceda0e3bc05aadd8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 133 <tr·class="memitem:a6ae34a44709f5ad6bae281284d08bc8a"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>
 134 <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>
 135 <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>
 136 <tr·class="separator:a6ae34a44709f5ad6bae281284d08bc8a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 137 <tr·class="memitem:a95f823a566af9fca2f8f4add5bea7bc0"><td·class="memTemplParams"·colspan="2">template&lt;class·K·,·int·m,·int·n,·int·p&gt;·</td></tr>
 138 <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>
 139 <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>
 140 <tr·class="separator:a95f823a566af9fca2f8f4add5bea7bc0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 141 <tr·class="memitem:aed0b39ddfc6a99aed9241609b0bbfbc0"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·int·rows,·int·cols&gt;·</td></tr>
 142 <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>
 143 <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>
 144 <tr·class="separator:aed0b39ddfc6a99aed9241609b0bbfbc0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 145 <tr·class="memitem:aef7fb29fd8ec4371bbca42d7aaa15ddc"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·int·rows,·int·cols&gt;·</td></tr>
 146 <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>
 147 <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>
 148 <tr·class="separator:aef7fb29fd8ec4371bbca42d7aaa15ddc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 149 <tr·class="memitem:aec4fb9018af90beee9fac48f355a445b"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·int·rows,·int·cols&gt;·</td></tr>
 150 <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>
 151 <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>
 152 <tr·class="separator:aec4fb9018af90beee9fac48f355a445b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 153 <tr·class="memitem:a659763bbed47d93b0a03d9dc2d49c6f0"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·int·rows,·int·cols&gt;·</td></tr>
 154 <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>
 155 <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>
 156 <tr·class="separator:a659763bbed47d93b0a03d9dc2d49c6f0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 </table>157 </table>
97 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>158 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 159 <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>
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> 
100 </div></div><!--·contents·-->160 </div></div><!--·contents·-->
101 <!--·start·footer·part·-->161 <!--·start·footer·part·-->
102 <hr·class="footer"/><address·class="footer"><small>162 <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.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
104 </small></address>164 </small></address>
Max diff block lines reached; 9/17286 bytes (0.05%) of diff not shown.
5.46 KB
html2text {}
    
Offset 4, 35 lines modifiedOffset 4, 119 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·|·Functions
9 mpitraits.hh·File·Reference8 fmatrix.hh·File·Reference
10 Common·»·Parallel_Communication 
11 Traits·classes·for·mapping·types·onto·MPI_Datatype.·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>
12 #include·<cstddef>13 #include·<cstddef>
13 #include·<cstdint> 
14 #include·<type_traits> 
15 #include·<utility> 
16 #include·<complex> 
17 #include·<mpi.h>14 #include·<iostream>
 15 #include·<algorithm>
 16 #include·<initializer_list>
 17 #include·<dune/common/boundschecking.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"
18 Go_to_the_source_code_of_this_file.26 Go_to_the_source_code_of_this_file.
19 ·Classes27 ·Classes
20 struct· Dune::MPITraits<_T_> 
21  ·······A·traits·class·describing·the·mapping·of·types·onto·MPI_Datatypes. 
22 ·········More...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...
23  34  
24 ·Namespaces35 ·Namespaces
25 namespace· Dune36 namespace· Dune
26  ··········Dune·namespace.37  ··········Dune·namespace.
27  38  
 39 namespace· Dune::FMatrixHelp
 40  
 41 ·Functions
 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  
 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  
 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...
 112  
28 *****·Detailed·Description·*****113 *****·Detailed·Description·*****
 114 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and
 115 compile-time·given·number·of·rows·and·columns.
29 Traits·classes·for·mapping·types·onto·MPI_Datatype. 
30 ··Author 
31 ······Markus·Blatt 
Max diff block lines reached; 116/5564 bytes (2.08%) of diff not shown.
875 KB
./usr/share/doc/libdune-common-doc/doxygen/a00311_source.html
    
Offset 21, 2048 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 (1775 lines added, 1775 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·206d·7069·7472·6169·7473·2e68·6820··n:·mpitraits.hh·000001b0:·6e3a·2066·6d61·7472·6978·2e68·6820·536f··n:·fmatrix.hh·So
000001c0:·536f·7572·6365·2046·696c·653c·2f74·6974··Source·File</tit000001c0:·7572·6365·2046·696c·653c·2f74·6974·6c65··urce·File</title
000001d0:·6c65·3e0a·3c6c·696e·6b20·6872·6566·3d22··le>.<link·href="000001d0:·3e0a·3c6c·696e·6b20·6872·6566·3d22·7461··>.<link·href="ta
000001e0:·7461·6273·2e63·7373·2220·7265·6c3d·2273··tabs.css"·rel="s000001e0:·6273·2e63·7373·2220·7265·6c3d·2273·7479··bs.css"·rel="sty
000001f0:·7479·6c65·7368·6565·7422·2074·7970·653d··tylesheet"·type=000001f0:·6c65·7368·6565·7422·2074·7970·653d·2274··lesheet"·type="t
00000200:·2274·6578·742f·6373·7322·2f3e·0a3c·7363··"text/css"/>.<sc00000200:·6578·742f·6373·7322·2f3e·0a3c·7363·7269··ext/css"/>.<scri
00000210:·7269·7074·2074·7970·653d·2274·6578·742f··ript·type="text/00000210:·7074·2074·7970·653d·2274·6578·742f·6a61··pt·type="text/ja
00000220:·6a61·7661·7363·7269·7074·2220·7372·633d··javascript"·src=00000220:·7661·7363·7269·7074·2220·7372·633d·226a··vascript"·src="j
00000230:·226a·7175·6572·792e·6a73·223e·3c2f·7363··"jquery.js"></sc00000230:·7175·6572·792e·6a73·223e·3c2f·7363·7269··query.js"></scri
00000240:·7269·7074·3e0a·3c73·6372·6970·7420·7479··ript>.<script·ty00000240:·7074·3e0a·3c73·6372·6970·7420·7479·7065··pt>.<script·type
00000250:·7065·3d22·7465·7874·2f6a·6176·6173·6372··pe="text/javascr00000250:·3d22·7465·7874·2f6a·6176·6173·6372·6970··="text/javascrip
00000260:·6970·7422·2073·7263·3d22·6479·6e73·6563··ipt"·src="dynsec00000260:·7422·2073·7263·3d22·6479·6e73·6563·7469··t"·src="dynsecti
00000270:·7469·6f6e·732e·6a73·223e·3c2f·7363·7269··tions.js"></scri00000270:·6f6e·732e·6a73·223e·3c2f·7363·7269·7074··ons.js"></script
00000280:·7074·3e0a·3c6c·696e·6b20·6872·6566·3d22··pt>.<link·href="00000280:·3e0a·3c6c·696e·6b20·6872·6566·3d22·7365··>.<link·href="se
00000290:·7365·6172·6368·2f73·6561·7263·682e·6373··search/search.cs00000290:·6172·6368·2f73·6561·7263·682e·6373·7322··arch/search.css"
000002a0:·7322·2072·656c·3d22·7374·796c·6573·6865··s"·rel="styleshe000002a0:·2072·656c·3d22·7374·796c·6573·6865·6574···rel="stylesheet
000002b0:·6574·2220·7479·7065·3d22·7465·7874·2f63··et"·type="text/c000002b0:·2220·7479·7065·3d22·7465·7874·2f63·7373··"·type="text/css
000002c0:·7373·222f·3e0a·3c73·6372·6970·7420·7479··ss"/>.<script·ty000002c0:·222f·3e0a·3c73·6372·6970·7420·7479·7065··"/>.<script·type
000002d0:·7065·3d22·7465·7874·2f6a·6176·6173·6372··pe="text/javascr000002d0:·3d22·7465·7874·2f6a·6176·6173·6372·6970··="text/javascrip
000002e0:·6970·7422·2073·7263·3d22·7365·6172·6368··ipt"·src="search000002e0:·7422·2073·7263·3d22·7365·6172·6368·2f73··t"·src="search/s
000002f0:·2f73·6561·7263·6864·6174·612e·6a73·223e··/searchdata.js">000002f0:·6561·7263·6864·6174·612e·6a73·223e·3c2f··earchdata.js"></
00000300:·3c2f·7363·7269·7074·3e0a·3c73·6372·6970··</script>.<scrip00000300:·7363·7269·7074·3e0a·3c73·6372·6970·7420··script>.<script·
00000310:·7420·7479·7065·3d22·7465·7874·2f6a·6176··t·type="text/jav00000310:·7479·7065·3d22·7465·7874·2f6a·6176·6173··type="text/javas
00000320:·6173·6372·6970·7422·2073·7263·3d22·7365··ascript"·src="se00000320:·6372·6970·7422·2073·7263·3d22·7365·6172··cript"·src="sear
00000330:·6172·6368·2f73·6561·7263·682e·6a73·223e··arch/search.js">00000330:·6368·2f73·6561·7263·682e·6a73·223e·3c2f··ch/search.js"></
00000340:·3c2f·7363·7269·7074·3e0a·3c6c·696e·6b20··</script>.<link·00000340:·7363·7269·7074·3e0a·3c6c·696e·6b20·6872··script>.<link·hr
00000350:·6872·6566·3d22·646f·7879·6765·6e2e·6373··href="doxygen.cs00000350:·6566·3d22·646f·7879·6765·6e2e·6373·7322··ef="doxygen.css"
00000360:·7322·2072·656c·3d22·7374·796c·6573·6865··s"·rel="styleshe00000360:·2072·656c·3d22·7374·796c·6573·6865·6574···rel="stylesheet
00000370:·6574·2220·7479·7065·3d22·7465·7874·2f63··et"·type="text/c00000370:·2220·7479·7065·3d22·7465·7874·2f63·7373··"·type="text/css
00000380:·7373·2220·2f3e·0a3c·2f68·6561·643e·0a3c··ss"·/>.</head>.<00000380:·2220·2f3e·0a3c·2f68·6561·643e·0a3c·626f··"·/>.</head>.<bo
00000390:·626f·6479·3e0a·3c64·6976·2069·643d·2274··body>.<div·id="t00000390:·6479·3e0a·3c64·6976·2069·643d·2274·6f70··dy>.<div·id="top
000003a0:·6f70·223e·3c21·2d2d·2064·6f20·6e6f·7420··op"><!--·do·not·000003a0:·223e·3c21·2d2d·2064·6f20·6e6f·7420·7265··"><!--·do·not·re
000003b0:·7265·6d6f·7665·2074·6869·7320·6469·762c··remove·this·div,000003b0:·6d6f·7665·2074·6869·7320·6469·762c·2069··move·this·div,·i
000003c0:·2069·7420·6973·2063·6c6f·7365·6420·6279···it·is·closed·by000003c0:·7420·6973·2063·6c6f·7365·6420·6279·2064··t·is·closed·by·d
000003d0:·2064·6f78·7967·656e·2120·2d2d·3e0a·3c64···doxygen!·-->.<d000003d0:·6f78·7967·656e·2120·2d2d·3e0a·3c64·6976··oxygen!·-->.<div
000003e0:·6976·2069·643d·2274·6974·6c65·6172·6561··iv·id="titlearea000003e0:·2069·643d·2274·6974·6c65·6172·6561·223e···id="titlearea">
000003f0:·223e·0a3c·7461·626c·6520·6365·6c6c·7370··">.<table·cellsp000003f0:·0a3c·7461·626c·6520·6365·6c6c·7370·6163··.<table·cellspac
00000400:·6163·696e·673d·2230·2220·6365·6c6c·7061··acing="0"·cellpa00000400:·696e·673d·2230·2220·6365·6c6c·7061·6464··ing="0"·cellpadd
00000410:·6464·696e·673d·2230·223e·0a20·3c74·626f··dding="0">.·<tbo00000410:·696e·673d·2230·223e·0a20·3c74·626f·6479··ing="0">.·<tbody
00000420:·6479·3e0a·203c·7472·2069·643d·2270·726f··dy>.·<tr·id="pro00000420:·3e0a·203c·7472·2069·643d·2270·726f·6a65··>.·<tr·id="proje
00000430:·6a65·6374·726f·7722·3e0a·2020·3c74·6420··jectrow">.··<td·00000430:·6374·726f·7722·3e0a·2020·3c74·6420·6964··ctrow">.··<td·id
00000440:·6964·3d22·7072·6f6a·6563·7461·6c69·676e··id="projectalign00000440:·3d22·7072·6f6a·6563·7461·6c69·676e·223e··="projectalign">
00000450:·223e·0a20·2020·3c64·6976·2069·643d·2270··">.···<div·id="p00000450:·0a20·2020·3c64·6976·2069·643d·2270·726f··.···<div·id="pro
00000460:·726f·6a65·6374·6e61·6d65·223e·6475·6e65··rojectname">dune00000460:·6a65·6374·6e61·6d65·223e·6475·6e65·2d63··jectname">dune-c
00000470:·2d63·6f6d·6d6f·6e3c·7370·616e·2069·643d··-common<span·id=00000470:·6f6d·6d6f·6e3c·7370·616e·2069·643d·2270··ommon<span·id="p
00000480:·2270·726f·6a65·6374·6e75·6d62·6572·223e··"projectnumber">00000480:·726f·6a65·6374·6e75·6d62·6572·223e·2623··rojectnumber">&#
00000490:·2623·3136·303b·322e·392e·303c·2f73·7061··&#160;2.9.0</spa00000490:·3136·303b·322e·392e·303c·2f73·7061·6e3e··160;2.9.0</span>
000004a0:·6e3e·0a20·2020·3c2f·6469·763e·0a20·203c··n>.···</div>.··<000004a0:·0a20·2020·3c2f·6469·763e·0a20·203c·2f74··.···</div>.··</t
000004b0:·2f74·643e·0a20·3c2f·7472·3e0a·203c·2f74··/td>.·</tr>.·</t000004b0:·643e·0a20·3c2f·7472·3e0a·203c·2f74·626f··d>.·</tr>.·</tbo
000004c0:·626f·6479·3e0a·3c2f·7461·626c·653e·0a3c··body>.</table>.<000004c0:·6479·3e0a·3c2f·7461·626c·653e·0a3c·2f64··dy>.</table>.</d
000004d0:·2f64·6976·3e0a·3c21·2d2d·2065·6e64·2068··/div>.<!--·end·h000004d0:·6976·3e0a·3c21·2d2d·2065·6e64·2068·6561··iv>.<!--·end·hea
000004e0:·6561·6465·7220·7061·7274·202d·2d3e·0a3c··eader·part·-->.<000004e0:·6465·7220·7061·7274·202d·2d3e·0a3c·212d··der·part·-->.<!-
000004f0:·212d·2d20·4765·6e65·7261·7465·6420·6279··!--·Generated·by000004f0:·2d20·4765·6e65·7261·7465·6420·6279·2044··-·Generated·by·D
00000500:·2044·6f78·7967·656e·2031·2e39·2e34·202d···Doxygen·1.9.4·-00000500:·6f78·7967·656e·2031·2e39·2e34·202d·2d3e··oxygen·1.9.4·-->
00000510:·2d3e·0a3c·7363·7269·7074·2074·7970·653d··->.<script·type=00000510:·0a3c·7363·7269·7074·2074·7970·653d·2274··.<script·type="t
00000520:·2274·6578·742f·6a61·7661·7363·7269·7074··"text/javascript00000520:·6578·742f·6a61·7661·7363·7269·7074·223e··ext/javascript">
00000530:·223e·0a2f·2a20·406c·6963·656e·7365·206d··">./*·@license·m00000530:·0a2f·2a20·406c·6963·656e·7365·206d·6167··./*·@license·mag
00000540:·6167·6e65·743a·3f78·743d·7572·6e3a·6274··agnet:?xt=urn:bt00000540:·6e65·743a·3f78·743d·7572·6e3a·6274·6968··net:?xt=urn:btih
00000550:·6968·3a64·3364·3961·3961·3635·3935·3532··ih:d3d9a9a65955200000550:·3a64·3364·3961·3961·3635·3935·3532·3166··:d3d9a9a6595521f
00000560:·3166·3936·3636·6135·6539·3463·6338·3330··1f9666a5e94cc83000000560:·3936·3636·6135·6539·3463·6338·3330·6461··9666a5e94cc830da
00000570:·6461·6238·3362·3635·3639·3926·616d·703b··dab83b65699&amp;00000570:·6238·3362·3635·3639·3926·616d·703b·646e··b83b65699&amp;dn
00000580:·646e·3d65·7870·6174·2e74·7874·204d·4954··dn=expat.txt·MIT00000580:·3d65·7870·6174·2e74·7874·204d·4954·202a··=expat.txt·MIT·*
00000590:·202a·2f0a·7661·7220·7365·6172·6368·426f···*/.var·searchBo00000590:·2f0a·7661·7220·7365·6172·6368·426f·7820··/.var·searchBox·
000005a0:·7820·3d20·6e65·7720·5365·6172·6368·426f··x·=·new·SearchBo000005a0:·3d20·6e65·7720·5365·6172·6368·426f·7828··=·new·SearchBox(
000005b0:·7828·2273·6561·7263·6842·6f78·222c·2022··x("searchBox",·"000005b0:·2273·6561·7263·6842·6f78·222c·2022·7365··"searchBox",·"se
000005c0:·7365·6172·6368·222c·2753·6561·7263·6827··search",'Search'000005c0:·6172·6368·222c·2753·6561·7263·6827·2c27··arch",'Search','
000005d0:·2c27·2e68·746d·6c27·293b·0a2f·2a20·406c··,'.html');./*·@l000005d0:·2e68·746d·6c27·293b·0a2f·2a20·406c·6963··.html');./*·@lic
000005e0:·6963·656e·7365·2d65·6e64·202a·2f0a·3c2f··icense-end·*/.</000005e0:·656e·7365·2d65·6e64·202a·2f0a·3c2f·7363··ense-end·*/.</sc
000005f0:·7363·7269·7074·3e0a·3c73·6372·6970·7420··script>.<script·000005f0:·7269·7074·3e0a·3c73·6372·6970·7420·7479··ript>.<script·ty
00000600:·7479·7065·3d22·7465·7874·2f6a·6176·6173··type="text/javas00000600:·7065·3d22·7465·7874·2f6a·6176·6173·6372··pe="text/javascr
00000610:·6372·6970·7422·2073·7263·3d22·6d65·6e75··cript"·src="menu00000610:·6970·7422·2073·7263·3d22·6d65·6e75·6461··ipt"·src="menuda
00000620:·6461·7461·2e6a·7322·3e3c·2f73·6372·6970··data.js"></scrip00000620:·7461·2e6a·7322·3e3c·2f73·6372·6970·743e··ta.js"></script>
00000630:·743e·0a3c·7363·7269·7074·2074·7970·653d··t>.<script·type=00000630:·0a3c·7363·7269·7074·2074·7970·653d·2274··.<script·type="t
00000640:·2274·6578·742f·6a61·7661·7363·7269·7074··"text/javascript00000640:·6578·742f·6a61·7661·7363·7269·7074·2220··ext/javascript"·
00000650:·2220·7372·633d·226d·656e·752e·6a73·223e··"·src="menu.js">00000650:·7372·633d·226d·656e·752e·6a73·223e·3c2f··src="menu.js"></
00000660:·3c2f·7363·7269·7074·3e0a·3c73·6372·6970··</script>.<scrip00000660:·7363·7269·7074·3e0a·3c73·6372·6970·7420··script>.<script·
00000670:·7420·7479·7065·3d22·7465·7874·2f6a·6176··t·type="text/jav00000670:·7479·7065·3d22·7465·7874·2f6a·6176·6173··type="text/javas
00000680:·6173·6372·6970·7422·3e0a·2f2a·2040·6c69··ascript">./*·@li00000680:·6372·6970·7422·3e0a·2f2a·2040·6c69·6365··cript">./*·@lice
00000690:·6365·6e73·6520·6d61·676e·6574·3a3f·7874··cense·magnet:?xt00000690:·6e73·6520·6d61·676e·6574·3a3f·7874·3d75··nse·magnet:?xt=u
000006a0:·3d75·726e·3a62·7469·683a·6433·6439·6139··=urn:btih:d3d9a9000006a0:·726e·3a62·7469·683a·6433·6439·6139·6136··rn:btih:d3d9a9a6
000006b0:·6136·3539·3535·3231·6639·3636·3661·3565··a6595521f9666a5e000006b0:·3539·3535·3231·6639·3636·3661·3565·3934··595521f9666a5e94
000006c0:·3934·6363·3833·3064·6162·3833·6236·3536··94cc830dab83b656000006c0:·6363·3833·3064·6162·3833·6236·3536·3939··cc830dab83b65699
000006d0:·3939·2661·6d70·3b64·6e3d·6578·7061·742e··99&amp;dn=expat.000006d0:·2661·6d70·3b64·6e3d·6578·7061·742e·7478··&amp;dn=expat.tx
000006e0:·7478·7420·4d49·5420·2a2f·0a24·2866·756e··txt·MIT·*/.$(fun000006e0:·7420·4d49·5420·2a2f·0a24·2866·756e·6374··t·MIT·*/.$(funct
000006f0:·6374·696f·6e28·2920·7b0a·2020·696e·6974··ction()·{.··init000006f0:·696f·6e28·2920·7b0a·2020·696e·6974·4d65··ion()·{.··initMe
00000700:·4d65·6e75·2827·272c·7472·7565·2c66·616c··Menu('',true,fal00000700:·6e75·2827·272c·7472·7565·2c66·616c·7365··nu('',true,false
00000710:·7365·2c27·7365·6172·6368·2e70·6870·272c··se,'search.php',00000710:·2c27·7365·6172·6368·2e70·6870·272c·2753··,'search.php','S
00000720:·2753·6561·7263·6827·293b·0a20·2024·2864··'Search');.··$(d00000720:·6561·7263·6827·293b·0a20·2024·2864·6f63··earch');.··$(doc
00000730:·6f63·756d·656e·7429·2e72·6561·6479·2866··ocument).ready(f00000730:·756d·656e·7429·2e72·6561·6479·2866·756e··ument).ready(fun
00000740:·756e·6374·696f·6e28·2920·7b20·696e·6974··unction()·{·init00000740:·6374·696f·6e28·2920·7b20·696e·6974·5f73··ction()·{·init_s
00000750:·5f73·6561·7263·6828·293b·207d·293b·0a7d··_search();·});.}00000750:·6561·7263·6828·293b·207d·293b·0a7d·293b··earch();·});.});
00000760:·293b·0a2f·2a20·406c·6963·656e·7365·2d65··);./*·@license-e00000760:·0a2f·2a20·406c·6963·656e·7365·2d65·6e64··./*·@license-end
00000770:·6e64·202a·2f0a·3c2f·7363·7269·7074·3e0a··nd·*/.</script>.00000770:·202a·2f0a·3c2f·7363·7269·7074·3e0a·3c64···*/.</script>.<d
00000780:·3c64·6976·2069·643d·226d·6169·6e2d·6e61··<div·id="main-na00000780:·6976·2069·643d·226d·6169·6e2d·6e61·7622··iv·id="main-nav"
00000790:·7622·3e3c·2f64·6976·3e0a·3c21·2d2d·2077··v"></div>.<!--·w00000790:·3e3c·2f64·6976·3e0a·3c21·2d2d·2077·696e··></div>.<!--·win
000007a0:·696e·646f·7720·7368·6f77·696e·6720·7468··indow·showing·th000007a0:·646f·7720·7368·6f77·696e·6720·7468·6520··dow·showing·the·
000007b0:·6520·6669·6c74·6572·206f·7074·696f·6e73··e·filter·options000007b0:·6669·6c74·6572·206f·7074·696f·6e73·202d··filter·options·-
000007c0:·202d·2d3e·0a3c·6469·7620·6964·3d22·4d53···-->.<div·id="MS000007c0:·2d3e·0a3c·6469·7620·6964·3d22·4d53·6561··->.<div·id="MSea
000007d0:·6561·7263·6853·656c·6563·7457·696e·646f··earchSelectWindo000007d0:·7263·6853·656c·6563·7457·696e·646f·7722··rchSelectWindow"
000007e0:·7722·0a20·2020·2020·6f6e·6d6f·7573·656f··w".·····onmouseo000007e0:·0a20·2020·2020·6f6e·6d6f·7573·656f·7665··.·····onmouseove
000007f0:·7665·723d·2272·6574·7572·6e20·7365·6172··ver="return·sear000007f0:·723d·2272·6574·7572·6e20·7365·6172·6368··r="return·search
00000800:·6368·426f·782e·4f6e·5365·6172·6368·5365··chBox.OnSearchSe00000800:·426f·782e·4f6e·5365·6172·6368·5365·6c65··Box.OnSearchSele
00000810:·6c65·6374·5368·6f77·2829·220a·2020·2020··lectShow()".····00000810:·6374·5368·6f77·2829·220a·2020·2020·206f··ctShow()".·····o
00000820:·206f·6e6d·6f75·7365·6f75·743d·2272·6574···onmouseout="ret00000820:·6e6d·6f75·7365·6f75·743d·2272·6574·7572··nmouseout="retur
00000830:·7572·6e20·7365·6172·6368·426f·782e·4f6e··urn·searchBox.On00000830:·6e20·7365·6172·6368·426f·782e·4f6e·5365··n·searchBox.OnSe
00000840:·5365·6172·6368·5365·6c65·6374·4869·6465··SearchSelectHide00000840:·6172·6368·5365·6c65·6374·4869·6465·2829··archSelectHide()
00000850:·2829·220a·2020·2020·206f·6e6b·6579·646f··()".·····onkeydo00000850:·220a·2020·2020·206f·6e6b·6579·646f·776e··".·····onkeydown
00000860:·776e·3d22·7265·7475·726e·2073·6561·7263··wn="return·searc00000860:·3d22·7265·7475·726e·2073·6561·7263·6842··="return·searchB
00000870:·6842·6f78·2e4f·6e53·6561·7263·6853·656c··hBox.OnSearchSel00000870:·6f78·2e4f·6e53·6561·7263·6853·656c·6563··ox.OnSearchSelec
00000880:·6563·744b·6579·2865·7665·6e74·2922·3e0a··ectKey(event)">.00000880:·744b·6579·2865·7665·6e74·2922·3e0a·3c2f··tKey(event)">.</
00000890:·3c2f·6469·763e·0a0a·3c21·2d2d·2069·6672··</div>..<!--·ifr00000890:·6469·763e·0a0a·3c21·2d2d·2069·6672·616d··div>..<!--·ifram
000008a0:·616d·6520·7368·6f77·696e·6720·7468·6520··ame·showing·the·000008a0:·6520·7368·6f77·696e·6720·7468·6520·7365··e·showing·the·se
000008b0:·7365·6172·6368·2072·6573·756c·7473·2028··search·results·(000008b0:·6172·6368·2072·6573·756c·7473·2028·636c··arch·results·(cl
000008c0:·636c·6f73·6564·2062·7920·6465·6661·756c··closed·by·defaul000008c0:·6f73·6564·2062·7920·6465·6661·756c·7429··osed·by·default)
000008d0:·7429·202d·2d3e·0a3c·6469·7620·6964·3d22··t)·-->.<div·id="000008d0:·202d·2d3e·0a3c·6469·7620·6964·3d22·4d53···-->.<div·id="MS
000008e0:·4d53·6561·7263·6852·6573·756c·7473·5769··MSearchResultsWi000008e0:·6561·7263·6852·6573·756c·7473·5769·6e64··earchResultsWind
000008f0:·6e64·6f77·223e·0a3c·6966·7261·6d65·2073··ndow">.<iframe·s000008f0:·6f77·223e·0a3c·6966·7261·6d65·2073·7263··ow">.<iframe·src
00000900:·7263·3d22·6a61·7661·7363·7269·7074·3a76··rc="javascript:v00000900:·3d22·6a61·7661·7363·7269·7074·3a76·6f69··="javascript:voi
00000910:·6f69·6428·3029·2220·6672·616d·6562·6f72··oid(0)"·framebor00000910:·6428·3029·2220·6672·616d·6562·6f72·6465··d(0)"·frameborde
Max diff block lines reached; 610490/856017 bytes (71.32%) of diff not shown.
39.4 KB
html2text {}
    
Offset 4, 224 lines modifiedOffset 4, 1065 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 fmatrix.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_FMATRIX_HH
16 ·6#define·DUNE_MPITRAITS_HH15 ·6#define·DUNE_FMATRIX_HH
17 ·716 ·7
 17 ·8#include·<cmath>
18 ·18#if·HAVE_MPI 
19 ·19 
20 ·20#include·<cstddef>18 ·9#include·<cstddef>
21 ·21#include·<cstdint> 
22 ·22#include·<type_traits> 
23 ·23#include·<utility> 
24 ·24#include·<complex>19 ·10#include·<iostream>
 20 ·11#include·<algorithm>
 21 ·12#include·<initializer_list>
 22 ·13
 23 ·14#include·<dune/common/boundschecking.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>
 31 ·22
 32 ·23namespace·Dune
 33 ·24{
25 ·2534 ·25
26 ·26#include·<mpi.h>35 ·26·namespace·Impl
27 ·2736 ·27·{
 37 ·28
28 ·28namespace·Dune 
29 ·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·}; 
49 ·58·template<class·T>38 ·29·template<class·M>
50 ·59·MPI_Datatype·MPITraits<T>::datatype·=·MPI_DATATYPE_NULL;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_];
 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_;
 69 ·59·};
51 ·6070 ·60
52 ·61#ifndef·DOXYGEN71 ·61·}
53 ·6272 ·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;
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); 
Max diff block lines reached; 36182/40283 bytes (89.82%) of diff not shown.
31.4 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:·mpi_collective_benchmark.cc·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 58, 328 lines modifiedOffset 58, 75 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><li·class="navelem"><a·class="el"·href="dir_be46aaae597ce098e36afa8d6ef4f49b.html">benchmark</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="#func-members">Functions</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
 70 <a·href="#namespaces">Namespaces</a>·&#124;
70 <a·href="#var-members">Variables</a>··</div>71 <a·href="#define-members">Macros</a>··</div>
71 ··<div·class="headertitle"><div·class="title">mpi_collective_benchmark.cc·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">reservedvector.hh·File·Reference</div></div>
72 </div><!--header-->73 </div><!--header-->
73 <div·class="contents">74 <div·class="contents">
  
 75 <p>An·stl-compliant·random-access·container·which·stores·everything·on·the·stack.··
 76 <a·href="#details">More...</a></p>
74 <div·class="textblock"><code>#include·&lt;config.h&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 78 <code>#include·&lt;array&gt;</code><br·/>
 79 <code>#include·&lt;cassert&gt;</code><br·/>
75 <code>#include·&lt;iostream&gt;</code><br·/>80 <code>#include·&lt;iostream&gt;</code><br·/>
76 <code>#include·&lt;iomanip&gt;</code><br·/> 
77 <code>#include·&lt;thread&gt;</code><br·/>81 <code>#include·&lt;iterator&gt;</code><br·/>
78 <code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/parallel/mpihelper.hh</a>&gt;</code><br·/>82 <code>#include·&lt;cstddef&gt;</code><br·/>
 83 <code>#include·&lt;initializer_list&gt;</code><br·/>
79 <code>#include·&lt;<a·class="el"·href="a00371_source.html">dune/common/timer.hh</a>&gt;</code><br·/>84 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/hash.hh</a>&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00308_source.html">dune/common/parametertree.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00209_source.html">dune/common/parametertreeparser.hh</a>&gt;</code><br·/>85 </div>
 86 <p><a·href="a00314_source.html">Go·to·the·source·code·of·this·file.</a></p>
82 </div><table·class="memberdecls">87 <table·class="memberdecls">
 88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 89 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>
 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>
 92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 93 </table><table·class="memberdecls">
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></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="a00314.html#afb912825e02284a6c9ff4f616d528d86">communicate</a>·(C[·...·truncated·by·diffoscope;·len:·10,·SHA:·d22a84c2a5e3eae29ada527627297ed16318ac7794a5a1288fd179025ce0074f·...·]</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>
 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>
87 <tr·class="separator:afb912825e02284a6c9ff4f616d528d86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><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="a00314.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="a00314.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="a00314.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="a00314.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="a00314.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="a00314.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="a00314.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="a00314.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="a00314.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">99 </table><table·class="memberdecls">
110 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a>100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
111 Variables</h2></td></tr>101 Macros</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="a00314.html#a65543e75bc949ecdb95a25b1f4e11675">CHECKSIZE</a>(X)&#160;&#160;&#160;{}</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="a00314.html#a27e2a51c9830747b1c6fd2825389fbae">options</a></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="a00314.html#a27e2a51c9830747b1c6fd2825389fbae">More...</a><br·/></td></tr> 
114 <tr·class="separator:a27e2a51c9830747b1c6fd2825389fbae"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:a65543e75bc949ecdb95a25b1f4e11675"><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="a00314.html#a041dd892dba6b2c051d9ab750ef9f3c7">all_methods</a></td></tr> 
116 <tr·class="separator:a041dd892dba6b2c051d9ab750ef9f3c7"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
117 </table>104 </table>
 105 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 106 <div·class="textblock"><p·>An·stl-compliant·random-access·container·which·stores·everything·on·the·stack.·</p>
118 <h2·class="groupheader">Function·Documentation</h2>107 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>
 108 <a·id="a65543e75bc949ecdb95a25b1f4e11675"·name="a65543e75bc949ecdb95a25b1f4e11675"></a>
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> 
Max diff block lines reached; 5597/25021 bytes (22.37%) of diff not shown.
6.85 KB
html2text {}
    
Offset 4, 147 lines modifiedOffset 4, 39 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·parallel 
8 ····*·benchmark 
9 Functions·|·Variables 
10 mpi_collective_benchmark.cc·File·Reference 
11 #include·<config.h>7 Classes·|·Namespaces·|·Macros
 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>
12 #include·<iostream>14 #include·<iostream>
13 #include·<iomanip> 
14 #include·<thread>15 #include·<iterator>
15 #include·<dune/common/parallel/mpihelper.hh>16 #include·<cstddef>
 17 #include·<initializer_list>
16 #include·<dune/common/timer.hh>18 #include·<dune/common/hash.hh>
 19 Go_to_the_source_code_of_this_file.
 20 ·Classes
 21 class· Dune::ReservedVector<_T,_n_>
 22  ······A·Vector·class·with·statically·reserved·memory.·More...
17 #include·<dune/common/parametertree.hh> 
18 #include·<dune/common/parametertreeparser.hh> 
19 ·Functions 
20 template<class·CC·> 
21 ························void communicate·(CC·&cc) 
22  23  
23 template<class·CC·> 
24 ········Dune::Future<·void·> startCommunication·(CC·&cc)24 ·Namespaces
 25 namespace· Dune
 26  ··········Dune·namespace.
25  27  
26 template<class·CC·> 
27 ······················double runBlocking·(CC·&cc)28 ·Macros
 29 #define CHECKSIZE(X)   {}
28  30  
 31 *****·Detailed·Description·*****
 32 An·stl-compliant·random-access·container·which·stores·everything·on·the·stack.
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·*****33 *****·Macro·Definition·Documentation·*****
 34 *****·◆ CHECKSIZE·*****
 35 #define·CHECKSIZE·(· X·)·   {}
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 
Max diff block lines reached; 116/6995 bytes (1.66%) of diff not shown.
85.4 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:·indexset.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 58, 124 lines modifiedOffset 58, 386 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="#enum-members">Enumerations</a>·&#124;71 <a·href="#define-members">Macros</a>·&#124;
 72 <a·href="#typedef-members">Typedefs</a>·&#124;
72 <a·href="#func-members">Functions</a>··</div>73 <a·href="#func-members">Functions</a>·&#124;
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·[·...·truncated·by·diffoscope;·len:·44,·SHA:·2db5edcca7176f8e7fd477ee34392f020e4b1871f940daf04a24f52de3ccff20·...·]</div>74 <a·href="#var-members">Variables</a>··</div>
 75 ··<div·class="headertitle"><div·class="title">debugalign.hh·File·Reference</div></div>
74 </div><!--header-->76 </div><!--header-->
75 <div·class="contents">77 <div·class="contents">
  
76 <p>Provides·a·map·between·global·and·local·indices.·· 
77 <a·href="#details">More...</a></p> 
78 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
79 <code>#include·&lt;<a·class="el"·href="a00062_source.html">dune/common/arraylist.hh</a>&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>79 <code>#include·&lt;cassert&gt;</code><br·/>
 80 <code>#include·&lt;cmath&gt;</code><br·/>
 81 <code>#include·&lt;complex&gt;</code><br·/>
 82 <code>#include·&lt;cstddef&gt;</code><br·/>
 83 <code>#include·&lt;cstdint&gt;</code><br·/>
 84 <code>#include·&lt;cstdlib&gt;</code><br·/>
 85 <code>#include·&lt;functional&gt;</code><br·/>
81 <code>#include·&lt;iostream&gt;</code><br·/>86 <code>#include·&lt;istream&gt;</code><br·/>
82 <code>#include·&quot;<a·class="el"·href="a00356_source.html">localindex.hh</a>&quot;</code><br·/>87 <code>#include·&lt;ostream&gt;</code><br·/>
 88 <code>#include·&lt;type_traits&gt;</code><br·/>
83 <code>#include·&lt;stdint.h&gt;</code><br·/>89 <code>#include·&lt;utility&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a00323_source.html">dune/common/classname.hh</a>&gt;</code><br·/>
 91 <code>#include·&lt;<a·class="el"·href="a00251_source.html">dune/common/indices.hh</a>&gt;</code><br·/>
 92 <code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>
 93 <code>#include·&lt;<a·class="el"·href="a00359_source.html">dune/common/simd/defaults.hh</a>&gt;</code><br·/>
 94 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
84 </div>95 </div>
85 <p><a·href="a00317_source.html">Go·to·the·source·code·of·this·file.</a></p>96 <p><a·href="a00317_source.html">Go·to·the·source·code·of·this·file.</a></p>
86 <table·class="memberdecls">97 <table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
88 Classes</h2></td></tr>99 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>100 <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>
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>101 <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>
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="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>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="a01360.html">Dune::IsNumber&lt;·AlignedNumberImpl::AlignedNumber&lt;·T,·align·&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> 
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <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>105 <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>
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>106 <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>
100 <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">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>
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>109 <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>110 <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>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <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>112 <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>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 </table><table·class="memberdecls">114 </table><table·class="memberdecls">
109 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>115 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
110 Namespaces</h2></td></tr>116 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>117 <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>118 <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>119 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 120 <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>
 121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 122 <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>
 123 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr>
 124 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 125 <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>
 126 <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>
 127 <tr·class="separator:"><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="define-members"·name="define-members"></a>
 130 Macros</h2></td></tr>
 131 <tr·class="memitem:ac631559314e81560b9e4d2949a9c6f9e"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html#ac631559314e81560b9e4d2949a9c6f9e">DUNE_ASSIGN_OP</a>(OP)</td></tr>
 132 <tr·class="separator:ac631559314e81560b9e4d2949a9c6f9e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 133 <tr·class="memitem:a29d7d4052b3f82e3ac4809355498a1a0"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html#a29d7d4052b3f82e3ac4809355498a1a0">DUNE_BINARY_OP</a>(OP)</td></tr>
 134 <tr·class="separator:a29d7d4052b3f82e3ac4809355498a1a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 135 <tr·class="memitem:a9b2955907ac5ff3c53a5e1dc45e10532"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(name)</td></tr>
 136 <tr·class="separator:a9b2955907ac5ff3c53a5e1dc45e10532"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 </table><table·class="memberdecls">137 </table><table·class="memberdecls">
115 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="enum-members"·name="enum-members"></a>138 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 139 Typedefs</h2></td></tr>
 140 <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>
 141 <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>
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>142 <tr·class="separator:aeeddbd17746ee9ac74ce286741916e4c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
122 </table><table·class="memberdecls">143 </table><table·class="memberdecls">
123 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>144 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
124 Functions</h2></td></tr>145 Functions</h2></td></tr>
 146 <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>
 147 <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>
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> 
Max diff block lines reached; 10222/69067 bytes (14.80%) of diff not shown.
17.9 KB
html2text {}
    
Offset 4, 110 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·|·Macros·|·Typedefs·|·Functions·|·Variables
 8 debugalign.hh·File·Reference
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>9 #include·<algorithm>
13 #include·<dune/common/arraylist.hh> 
14 #include·<dune/common/exceptions.hh>10 #include·<cassert>
 11 #include·<cmath>
 12 #include·<complex>
 13 #include·<cstddef>
 14 #include·<cstdint>
 15 #include·<cstdlib>
 16 #include·<functional>
15 #include·<iostream>17 #include·<istream>
16 #include·"localindex.hh"18 #include·<ostream>
 19 #include·<type_traits>
17 #include·<stdint.h>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>
18 Go_to_the_source_code_of_this_file.26 Go_to_the_source_code_of_this_file.
19 ·Classes27 ·Classes
20 ·class· Dune::IndexPair<_TG,_TL_> 
21  ·······A·pair·consisting·of·a·global·and·local·index.·More...28 ·class· Dune::AlignedBase<_align,_Impl_>
 29  ·······CRTP·base·mixin·class·to·check·alignment.·More...
22  30  
 31 struct· Dune::IsNumber<_AlignedNumberImpl::AlignedNumber<_T,_align_>_>
23 ·class· Dune::InvalidIndexSetState 
24  ·······Exception·indicating·that·the·index·set·is·not·in·the·expected·state. 
25 ·········More... 
26  32  
 33 ·class· Dune::AlignedNumberImpl::AlignedNumber<_T,_align_>
 34  ·······aligned·wrappers·for·arithmetic·types·More...
27 ·class· Dune::ParallelIndexSet<_TG,_TL,_N_> 
28  ·······Manager·class·for·the·mapping·between·local·indices·and·globally 
29 ·········unique·indices.·More... 
30  35  
 36 struct· Dune::Simd::Overloads::ScalarType<_AlignedNumber<_T,_align_>_>
31 ·class· Dune::ParallelIndexSet<_TG,_TL,_N_>::iterator 
32  ·······The·iterator·over·the·pairs.·More... 
33  37  
 38 struct· Dune::Simd::Overloads::RebindType<_U,_AlignedNumber<_T,_align_>_>
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  39  
 40 struct· Dune::Simd::Overloads::LaneCount<_AlignedNumber<_T,_align_>_>
38 struct· Dune::LocalIndexComparator<_T_> 
39   
40 struct· Dune::IndexSetSortFunctor<_TG,_TL_> 
41  41  
42 ·Namespaces42 ·Namespaces
43 namespace· Dune43 namespace· Dune
44  ··········Dune·namespace.44  ··········Dune·namespace.
45  45  
46 ·Enumerations 
47 enum· Dune::ParallelIndexSetState·{·Dune::GROUND·,·Dune::RESIZE·} 
48  ·····The·states·the·index·set·can·be·in.·More...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  
 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...
49  67  
50 ·Functions68 ·Functions
 69 ·······ViolatedAlignmentHandler·& Dune::violatedAlignmentHandler·()
 70  ·································access·the·handler·called·by
 71 ···································violatedAlignment()·More...
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  72  
56 template<class·TG·,·class·TL·> 
57 ··········bool Dune::operator==·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair< 
58 ················TG,·TL·>·&)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...
59  78  
60 template<class·TG·,·class·TL·> 
61 ··········bool Dune::operator!=·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair< 
62 ················TG,·TL·>·&)79 ·····························bool Dune::isAligned·(const·void·*p,·std::size_t
 80 ···································align)
 81  ·································check·whether·an·address·conforms·to·the
 82 ···································given·alignment·More...
63  83  
64 template<class·TG·,·class·TL·> 
65 ··········bool Dune::operator<·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair< 
66 ················TG,·TL·>·&)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...
67  87  
 88 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(+)
68 template<class·TG·,·class·TL·> 
69 ··········bool Dune::operator>·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair< 
70 ················TG,·TL·>·&) 
71  89  
 90 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(-)
Max diff block lines reached; 116/18297 bytes (0.63%) of diff not shown.
347 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:·indexset.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 58, 912 lines modifiedOffset 58, 617 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">debugalign.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_INDEXSET_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_INDEXSET_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;algorithm&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;<a·class="code"·href="a00062.html">dune/common/arraylist.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>
 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>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00143.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;functional&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>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>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00356.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>91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00323.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="a00251.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="a00365.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="a00359.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="a00014.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>96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</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>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="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> 
90 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</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>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">ViolatedAlig[·...·truncated·by·diffoscope;·len:·18,·SHA:·790c3fecb41a717aa5cf208127ebaf3a73c03dc12f4b3b0a83f85630375cde3f·...·]</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>
93 <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>
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> 
96 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>102 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</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> 
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;,·<[·...·truncated·by·diffoscope;·len:·61,·SHA:·7c45c9f197b057d5b23e571bdf15e1141cdd3094d07cc010c86bd0187bc6b9b1·...·]);</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">viola[·...·truncated·by·diffoscope;·len:·24,·SHA:·ef0c821dfa12504e7279a99e62a7081282ba99a9b9a3a469f98d4137f3f37ea2·...·]);</div>
 104 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
99 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>105 <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;,·[·...·truncated·by·diffoscope;·len:·64,·SHA:·94cd6e1553c96f9f6bad27aee8be888219e3f00efb3dce970ba96536ac4a0846·...·]</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="keywordtyp[·...·truncated·by·diffoscope;·len:·142,·SHA:·620b394f4dca84fd84b2977574e114a01f280b4d4fde807d6dabf76222e9a951·...·]</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>
102 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</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>
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>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>
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>114 <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>115 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</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>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>
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;,[·...·truncated·by·diffoscope;·len:·45,·SHA:·833264094a0d5593eead1b5c01ec1fc86b81032aaa9bc0658505461632f8d490·...·]</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>
123 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>130 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</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;[·...·truncated·by·diffoscope;·len:·45,·SHA:·3dd8c2e88a4890efb4faddb1825c22077f3783929d40b41f55b2e977e741c443·...·];</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#ab9b8b9ec0d62[·...·truncated·by·diffoscope;·len:·180,·SHA:·0bbd46b1ac4065acbd7f54c311a0069a997a4f07410e769757b04da4698e5b2d·...·];</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>
126 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</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>
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> 
Max diff block lines reached; 254706/299457 bytes (85.06%) of diff not shown.
54.9 KB
html2text {}
    
Offset 4, 1120 lines modifiedOffset 4, 748 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 debugalign.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_DEBUGALIGN_HH
 15 ·6#define·DUNE_DEBUGALIGN_HH
17 ·716 ·7
18 ·8#include·<algorithm>17 ·8#include·<algorithm>
19 ·9#include·<dune/common/arraylist.hh> 
20 ·10#include·<dune/common/exceptions.hh>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>
21 ·11#include·<iostream>25 ·16#include·<istream>
22 ·12 
23 ·13#include·"localindex.hh" 
24 ·14 
25 ·15#include·<stdint.h>·//·for·uint32_t 
26 ·1626 ·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>
 35 ·26
27 ·17namespace·Dune36 ·27namespace·Dune·{
 37 ·28
 38 30·using·ViolatedAlignmentHandler·=
 39 ·31·std::function<void(const·char*,·std::size_t,·const·void*)>;
28 ·18{ 
29 ·28·//·forward·declarations 
30 ·29 
31 ·30·template<class·TG,·class·TL> 
32 ·31·class·IndexPair; 
33 ·3240 ·32
 41 ·34
 42 ·40·ViolatedAlignmentHandler·&violatedAlignmentHandler();
 43 ·41
34 ·38·template<class·TG,·class·TL> 
35 ·39·std::ostream&·operator<<(std::ostream&·os,·const·IndexPair<TG,TL>&·pair); 
36 ·40 
37 ·41·template<class·TG,·class·TL> 
38 ·42·bool·operator==(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&); 
39 ·4344 ·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)
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·{50 ·57·{
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>·>;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
Max diff block lines reached; 48916/56227 bytes (87.00%) of diff not shown.
13.2 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:·communicator.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 58, 73 lines modifiedOffset 58, 68 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="#define-members">Macros</a>··</div>
 70 ··<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>
69 <a·href="#nested-classes">Classes</a>·&#124; 
70 <a·href="#namespaces">Namespaces</a>··</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-->71 </div><!--header-->
73 <div·class="contents">72 <div·class="contents">
  
74 <p>Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.··73 <p>Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.··
75 <a·href="#details">More...</a></p>74 <a·href="#details">More...</a></p>
  
76 <div·class="textblock"><code>#include·&lt;cassert&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·/> 
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="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
84 <code>#include·&lt;<a·class="el"·href="a04445_source.html">dune/common/parallel/interface.hh</a>&gt;</code><br·/> 
85 <code>#include·&lt;<a·class="el"·href="a00323_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00050_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/> 
87 </div> 
88 <p><a·href="a00320_source.html">Go·to·the·source·code·of·this·file.</a></p>75 <p><a·href="a00320_source.html">Go·to·the·source·code·of·this·file.</a></p>
89 <table·class="memberdecls">76 <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">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> 
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> 
112 </table><table·class="memberdecls"> 
113 <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="define-members"·name="define-members"></a>
114 Namespaces</h2></td></tr>78 Macros</h2></td></tr>
 79 <tr·class="memitem:afd8117b5ac0497a09e3bdecafbf518a6"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00320.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>&#160;&#160;&#160;inline</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> 
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> 
117 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:afd8117b5ac0497a09e3bdecafbf518a6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 81 <tr·class="memitem:a97b632609f7c06170ec5e2be5729c4f0"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00320.html#a97b632609f7c06170ec5e2be5729c4f0">DUNE_GENERALIZED_CONSTEXPR</a>&#160;&#160;&#160;constexpr</td></tr>
 82 <tr·class="separator:a97b632609f7c06170ec5e2be5729c4f0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
118 </table>83 </table>
119 <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>
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>85 <div·class="textblock"><p·>Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.·</p>
 86 <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>
 87 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>
 88 <a·id="a97b632609f7c06170ec5e2be5729c4f0"·name="a97b632609f7c06170ec5e2be5729c4f0"></a>
 89 <h2·class="memtitle"><span·class="permalink"><a·href="#a97b632609f7c06170ec5e2be5729c4f0">&#9670;&nbsp;</a></span>DUNE_GENERALIZED_CONSTEXPR</h2>
  
 90 <div·class="memitem">
 91 <div·class="memproto">
 92 ······<table·class="memname">
 93 ········<tr>
 94 ··········<td·class="memname">#define·DUNE_GENERALIZED_CONSTEXPR&#160;&#160;&#160;constexpr</td>
 95 ········</tr>
 96 ······</table>
 97 </div><div·class="memdoc">
  
 98 </div>
 99 </div>
 100 <a·id="afd8117b5ac0497a09e3bdecafbf518a6"·name="afd8117b5ac0497a09e3bdecafbf518a6"></a>
 101 <h2·class="memtitle"><span·class="permalink"><a·href="#afd8117b5ac0497a09e3bdecafbf518a6">&#9670;&nbsp;</a></span>DUNE_INLINE_VARIABLE</h2>
  
 102 <div·class="memitem">
 103 <div·class="memproto">
 104 ······<table·class="memname">
 105 ········<tr>
 106 ··········<td·class="memname">#define·DUNE_INLINE_VARIABLE&#160;&#160;&#160;inline</td>
 107 ········</tr>
 108 ······</table>
 109 </div><div·class="memdoc">
  
 110 </div>
 111 </div>
122 </div></div><!--·contents·-->112 </div><!--·contents·-->
123 <!--·start·footer·part·-->113 <!--·start·footer·part·-->
124 <hr·class="footer"/><address·class="footer"><small>114 <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.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
126 </small></address>116 </small></address>
127 </body>117 </body>
128 </html>118 </html>
2.62 KB
html2text {}
    
Offset 4, 61 lines modifiedOffset 4, 31 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.
7 ····*·parallel 
8 Classes·|·Namespaces 
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...11 More...
13 #include·<cassert> 
14 #include·<cstddef> 
15 #include·<iostream> 
16 #include·<map> 
17 #include·<type_traits> 
18 #include·<utility> 
19 #include·<mpi.h> 
20 #include·<dune/common/exceptions.hh> 
21 #include·<dune/common/parallel/interface.hh> 
22 #include·<dune/common/parallel/remoteindices.hh> 
23 #include·<dune/common/stdstreams.hh> 
24 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
 13 ·Macros
 14 #define DUNE_INLINE_VARIABLE   inline
25 ·Classes 
26 struct· Dune::SizeOne 
27  ·······Flag·for·marking·indexed·data·structures·where·data·at·each·index·is 
28 ·········of·the·same·size.·More... 
29  15  
 16 #define DUNE_GENERALIZED_CONSTEXPR   constexpr
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   
50 ·Namespaces 
51 namespace· Dune 
52  ··········Dune·namespace. 
53  17  
54 *****·Detailed·Description·*****18 *****·Detailed·Description·*****
55 Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication. 
56 ··Author 
57 ······Markus·Blatt19 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
  
58 ===============================================================================28 ===============================================================================
59 ·····Generated·by [doxygen]·1.9.429 ·····Generated·by [doxygen]·1.9.4
210 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:·communicator.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 58, 1026 lines modifiedOffset 58, 43 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">communicator.hh</div></div>68 ··<div·class="headertitle"><div·class="title">keywords.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
Diff chunk too large, falling back to line-by-line diff (22 lines added, 1005 lines removed)
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:·2·-*-</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">//·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_KEYWORDS_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_KEYWORDS_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>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_COMMUNICATOR</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="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno"><a·class="line"·href="a00320.html#afd8117b5ac0497a09e3bdecafbf518a6">···19</a></span><span·class="preprocessor">#define·DUNE_INLINE_VARIABLE·inline</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>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>·</div>79 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</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="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·DUNE_INLINE_VARIABLE</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>81 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#endif</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>82 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</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>83 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</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>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="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>85 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00320.html#a97b632609f7c06170ec5e2be5729c4f0">···30</a></span><span·class="preprocessor">#define·DUNE_GENERALIZED_CONSTEXPR·constexpr</span></div>
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>86 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#else</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>87 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</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="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00143.html">dune/common/exceptions.hh</a>&gt;</span></div>89 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</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="a04445.html">dune/common/parallel/interface.hh</a>&gt;</span></div>90 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</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="a00323.html">dune/common/parallel/remoteindices.hh</a>&gt;</span></div>91 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</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="a00050.html">dune/common/stdstreams.hh</a>&gt;</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>
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> 
95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</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> 
97 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··{};</div> 
98 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</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> 
100 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··{};</div> 
101 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div> 
102 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</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> 
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> 
105 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</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</a>;</div> 
107 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</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="a02000.html#a2cda5e943599178476fac79e207b365b">IndexedType</a>;</div> 
109 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</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"·href="a02000.html#a82711a42e162a721414c8d9737a8ee0c">IndexedTypeFlag</a>;</div> 
111 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</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="code·hl_function"·href="a02000.html#ab9aacd93b76315b459857b3ee5d4b6d0">getAddress</a>(<span·class="keyword">const</span>·V&amp;·v,·<span·class="keywordtype">int</span>·index);</div> 
113 <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</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#a4b5cf5c019f467b3e1f7798b076ceee8">getSize</a>(<span·class="keyword">const</span>·V&amp;,·<span·class="keywordtype">int</span>·index);</div> 
115 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>··};</div> 
116 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</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·class="code·hl_class"·href="a02004.html">FieldVector</a>;</div> 
118 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</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·class="code·hl_class"·href="a02008.html">VariableBlockVector</a>;</div> 
120 <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</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> 
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">VariableBlockVector</a>&lt;<a·class="code·hl_class"·href="a02004.html">FieldVector</a>&lt;K,·n&gt;,·A&gt;·&gt;</div> 
123 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno">··179</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&gt;</a>,·A&gt;·<a·class="code·hl_typedef"·href="a02012.html#a63316a3f87f4edf2011ffa151e1abd73">Type</a>;</div> 
125 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</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.html#af196fdca100c252ea392e44d2cdf02b8">IndexedType</a>;</div> 
127 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</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_typedef"·href="a02012.html#a19085e204009d8644f44f8b9645559f1">IndexedTypeFlag</a>;</div> 
129 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno">··185</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="code·hl_function"·href="a02012.html#ac381be5d5dd975a4352d69067772476e">getAddress</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02008.html">Type</a>&amp;·v,·<span·class="keywordtype">int</span>·i);</div> 
131 <div·class="line"><a·id="l00187"·name="l00187"></a><span·class="lineno">··187</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#a0d606c4b57293f6b13b0d1e933cfb32e">getSize</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02008.html">Type</a>&amp;·v,·<span·class="keywordtype">int</span>·i);</div> 
133 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>··};</div> 
134 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</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_class"·href="a01556.html">IOError</a></div> 
136 <div·class="line"><a·id="l00195"·name="l00195"></a><span·class="lineno">··195</span>··{};</div> 
137 <div·class="line"><a·id="l00196"·name="l00196"></a><span·class="lineno">··196</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> 
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> 
140 <div·class="line"><a·id="l00202"·name="l00202"></a><span·class="lineno">··202</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#a2cda5e943599178476fac79e207b365b">CommPolicy&lt;T&gt;::IndexedType</a>·<a·class="code·hl_typedef"·href="a02020.html#a75f3ea805efadcb366dc402490a20929">IndexedType</a>;</div> 
142 <div·class="line"><a·id="l00204"·name="l00204"></a><span·class="lineno">··204</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#a75f3ea805efadcb366dc402490a20929">IndexedType</a>&amp;·<a·class="code·hl_function"·href="a02020.html#ae8c09be11f1f4489951ea82e5fe9d9fc">gather</a>(<span·class="keyword">const</span>·T&amp;·vec,·std::size_t·i);</div> 
144 <div·class="line"><a·id="l00206"·name="l00206"></a><span·class="lineno">··206</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#a3a2e583dfb9e572e4e0606cfafcd4aa2">scatter</a>(T&amp;·vec,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02020.html#a75f3ea805efadcb366dc402490a20929">IndexedType</a>&amp;·v,·std::size_t·i);</div> 
146 <div·class="line"><a·id="l00208"·name="l00208"></a><span·class="lineno">··208</span>·</div> 
147 <div·class="line"><a·id="l00209"·name="l00209"></a><span·class="lineno">··209</span>··};</div> 
148 <div·class="line"><a·id="l00210"·name="l00210"></a><span·class="lineno">··210</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> 
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> 
151 <div·class="line"><a·id="l00224"·name="l00224"></a><span·class="lineno">··224</span>··{</div> 
152 <div·class="line"><a·id="l00225"·name="l00225"></a><span·class="lineno">··225</span>··<span·class="keyword">public</span>:</div> 
153 <div·class="line"><a·id="l00226"·name="l00226"></a><span·class="lineno">··226</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> 
155 <div·class="line"><a·id="l00231"·name="l00231"></a><span·class="lineno">··231</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> 
157 <div·class="line"><a·id="l00236"·name="l00236"></a><span·class="lineno">··236</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>·GlobalIndex;</div> 
159 <div·class="line"><a·id="l00241"·name="l00241"></a><span·class="lineno">··241</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> 
161 <div·class="line"><a·id="l00246"·name="l00246"></a><span·class="lineno">··246</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="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> 
166 <div·class="line"><a·id="l00260"·name="l00260"></a><span·class="lineno">··260</span>····~DatatypeCommunicator();</div> 
Max diff block lines reached; 271/175303 bytes (0.15%) of diff not shown.
38.5 KB
html2text {}
    
Offset 4, 1208 lines modifiedOffset 4, 35 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 keywords.hh
7 ····*·parallel 
8 communicator.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
Diff chunk too large, falling back to line-by-line diff (21 lines added, 1191 lines removed)
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_COMMUNICATOR12 ·3#ifndef·DUNE_COMMON_KEYWORDS_HH
16 ·6#define·DUNE_COMMUNICATOR13 ·4#define·DUNE_COMMON_KEYWORDS_HH
17 ·714 ·5
18 ·8#if·HAVE_MPI15 ·18#if·__cpp_inline_variables·>=·201606
19 ·916 19#define·DUNE_INLINE_VARIABLE·inline
20 ·10#include·<cassert>17 ·20#else
21 ·11#include·<cstddef>18 ·22
22 ·12#include·<iostream>19 ·25#define·DUNE_INLINE_VARIABLE
23 ·13#include·<map>20 ·26#endif
24 ·14#include·<type_traits>21 ·27
25 ·15#include·<utility>22 ·28
26 ·1623 ·29#if·__cpp_constexpr·>=·201304
27 ·17#include·<mpi.h>24 30#define·DUNE_GENERALIZED_CONSTEXPR·constexpr
28 ·1825 ·31#else
29 ·19#include·<dune/common/exceptions.hh>26 ·33
30 ·20#include·<dune/common/parallel/interface.hh>27 ·36#define·DUNE_GENERALIZED_CONSTEXPR
31 ·21#include·<dune/common/parallel/remoteindices.hh>28 ·37#endif
32 ·22#include·<dune/common/stdstreams.hh>29 ·38
33 ·2330 ·39
34 ·24namespace·Dune31 ·40#endif·//·DUNE_COMMON_KEYWORDS_HH
35 ·25{ 
36 109·struct·SizeOne 
37 ·110·{}; 
38 ·111 
39 117·struct·VariableSize 
40 ·118·{}; 
41 ·119 
42 ·120 
43 ·126·template<class·V> 
44 127·struct·CommPolicy 
45 ·128·{ 
46 140·typedef·V·Type; 
47 ·141 
48 147·typedef·typename·V::value_type·IndexedType; 
49 ·148 
50 153·typedef·SizeOne·IndexedTypeFlag; 
51 ·154 
52 163·static·const·void*·getAddress(const·V&·v,·int·index); 
53 ·164 
54 170·static·int·getSize(const·V&,·int·index); 
55 ·171·}; 
56 ·172 
57 173·template<class·K,·int·n>·class·FieldVector; 
58 ·174 
59 175·template<class·B,·class·A>·class·VariableBlockVector; 
60 ·176 
61 ·177·template<class·K,·class·A,·int·n> 
62 178·struct·CommPolicy<VariableBlockVector<FieldVector<K,·n>,·A>·> 
63 ·179·{ 
64 180·typedef·VariableBlockVector<FieldVector<K,_n>,·A>·Type; 
65 ·181 
66 182·typedef·typename·Type::B·IndexedType; 
67 ·183 
68 184·typedef·VariableSize·IndexedTypeFlag; 
69 ·185 
70 186·static·const·void*·getAddress(const·Type&·v,·int·i); 
71 ·187 
72 188·static·int·getSize(const·Type&·v,·int·i); 
73 ·189·}; 
74 ·190 
75 194·class·CommunicationError·:·public·IOError 
76 ·195·{}; 
77 ·196 
78 ·200·template<class·T> 
79 201·struct·CopyGatherScatter 
80 ·202·{ 
81 203·typedef·typename·CommPolicy<T>::IndexedType·IndexedType; 
82 ·204 
83 205·static·const·IndexedType&·gather(const·T&·vec,·std::size_t·i); 
84 ·206 
85 207·static·void·scatter(T&·vec,·const·IndexedType&·v,·std::size_t·i); 
86 ·208 
87 ·209·}; 
88 ·210 
89 ·222·template<typename·T> 
90 ·223·class·DatatypeCommunicator·:·public·InterfaceBuilder 
91 ·224·{ 
92 ·225·public: 
93 ·226 
94 ·230·typedef·T·ParallelIndexSet; 
95 ·231 
96 ·235·typedef·Dune::RemoteIndices<ParallelIndexSet>·RemoteIndices; 
97 ·236 
98 ·240·typedef·typename·RemoteIndices::GlobalIndex·GlobalIndex; 
99 ·241 
100 ·245·typedef·typename·RemoteIndices::Attribute·Attribute; 
101 ·246 
102 ·250·typedef·typename·RemoteIndices::LocalIndex·LocalIndex; 
103 ·251 
104 ·255·DatatypeCommunicator(); 
105 ·256 
106 ·260·~DatatypeCommunicator(); 
107 ·261 
108 ·288·template<class·T1,·class·T2,·class·V> 
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; 116/39428 bytes (0.29%) of diff not shown.
14.8 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:·remoteindices.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, 89 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>·&#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">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·class="headertitle"><div·class="title">classname.hh·File·Reference</div></div>
73 </div><!--header-->72 </div><!--header-->
74 <div·class="contents">73 <div·class="contents">
  
75 <p>Classes·describing·a·distributed·indexset.··74 <p>A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type·as·a·string.··
76 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;cstdlib&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·/>77 <code>#include·&lt;memory&gt;</code><br·/>
82 <code>#include·&lt;set&gt;</code><br·/>78 <code>#include·&lt;string&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·/>79 <code>#include·&lt;typeinfo&gt;</code><br·/>
 80 <code>#include·&lt;type_traits&gt;</code><br·/>
86 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a00317_source.html">dune/common/parallel/indexset.hh</a>&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/> 
89 <code>#include·&lt;<a·class="el"·href="a00335_source.html">dune/common/parallel/plocalindex.hh</a>&gt;</code><br·/> 
90 <code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/sllist.hh</a>&gt;</code><br·/> 
91 <code>#include·&lt;<a·class="el"·href="a00050_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/> 
92 </div>81 </div>
93 <p><a·href="a00323_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00323_source.html">Go·to·the·source·code·of·this·file.</a></p>
94 <table·class="memberdecls">83 <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>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
118 Namespaces</h2></td></tr>85 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>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>
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>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>
121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
122 </table><table·class="memberdecls">89 </table><table·class="memberdecls">
123 <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>
124 Functions</h2></td></tr>91 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[·...·truncated·by·diffoscope;·len:·74,·SHA:·f2b7fe9e3f51016d23ddc55fc0d5d292c2c8ba300d77180f334eaa812f11be6e·...·]</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>
127 <tr·class="separator:ga3e5f972e5d5b0623aeaae8ea76610ef4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:a33ac30656648b528235c913852c28ac7"><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>96 <tr·class="memitem:a1d7665500285ebc74f89523cb8cf4fae"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&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[·...·truncated·by·diffoscope;·len:·75,·SHA:·85206ade97cf225f36b1cabee37a4f724146c30b2bd78f82f94abff13eb8450d·...·])</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;&a[·...·truncated·by·diffoscope;·len:·4,·SHA:·4b1c890ad32e3a219cc5ef480187853b3834fafd84065bb9a727872f1f4be640·...·])</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>
130 <tr·class="separator:ga4298476f0be2dd2f85d9fb856ff228a1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:a1d7665500285ebc74f89523cb8cf4fae"><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>100 </table>
135 <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>
136 <div·class="textblock"><p·>Classes·describing·a·distributed·indexset.·</p> 
137 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl> 
138 </div></div><!--·contents·-->103 </div></div><!--·contents·-->
139 <!--·start·footer·part·-->104 <!--·start·footer·part·-->
140 <hr·class="footer"/><address·class="footer"><small>105 <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.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
142 </small></address>107 </small></address>
143 </body>108 </body>
144 </html>109 </html>
2.84 KB
html2text {}
    
Offset 4, 74 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·|·Functions7 Namespaces·|·Functions
9 remoteindices.hh·File·Reference 
10 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets 
11 Classes·describing·a·distributed·indexset.·More...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...
12 #include·<cassert>11 #include·<cstdlib>
13 #include·<iostream> 
14 #include·<ostream> 
15 #include·<map> 
16 #include·<memory>12 #include·<memory>
17 #include·<set>13 #include·<string>
 14 #include·<typeinfo>
 15 #include·<type_traits>
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> 
27 Go_to_the_source_code_of_this_file.16 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 ·Namespaces17 ·Namespaces
51 namespace· Dune18 namespace· Dune
52  ··········Dune·namespace.19  ··········Dune·namespace.
53  20  
54 ·Functions21 ·Functions
55 template<typename·T1·,·typename·T2·> 
56 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·RemoteIndex<·T1,·T2·> 
57 ················&index)22 template<class·T·>
 23 std::string Dune::className·()
 24  ···········Provide·the·demangled·class·name·of·a·type·T·as·a·string.·More...
58  25  
59 template<class·T·,·class·A·>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...
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  30  
67 *****·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.
68 Classes·describing·a·distributed·indexset. 
69 ··Author 
70 ······Markus·Blatt 
  
71 ===============================================================================34 ===============================================================================
72 ·····Generated·by [doxygen]·1.9.435 ·····Generated·by [doxygen]·1.9.4
352 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:·remoteindices.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, 1577 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">remoteindices.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="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_REMOTEINDICES_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="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·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_CLASSNAME_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·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;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> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;map&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>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;memory&gt;</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>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;set&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>
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;utility&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>
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;vector&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>
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</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>
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>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>
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</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>
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00143.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="a00317.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="a00311.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="a00335.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="a00284.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="a00050.html">dune/common/stdstreams.hh</a>&gt;</span></div> 
Diff chunk too large, falling back to line-by-line diff (50 lines added, 1437 lines removed)
97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>92 <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>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>
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>94 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····{</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[·...·truncated·by·diffoscope;·len:·87,·SHA:·38d689de98251e342f8f3ed468c2522d17963c616e221df39b5b864cee99c21e·...·]</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>
101 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{</div>96 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>······<span·class="keywordtype">int</span>·status;</div>
102 <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="l00032"·name="l00032"></a><span·class="lineno">···32</span>······std::unique_ptr&lt;char,·void(*)(<span·class="keywordtype">void</span>*)&gt;</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>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>
104 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">private</span>:</div>99 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··················std::free);</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>100 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······<span·class="keywordflow">if</span>(·demangled·)</div>
106 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··};</div>101 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>········name·=·demangled.get();</div>
107 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</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>
108 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>103 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······<span·class="keywordflow">return</span>·name;</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>104 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····}</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>105 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··}</div>
111 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>106 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</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>107 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="comment">/*</span></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>108 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">···*·\ingroup·CxxUtilities</span></div>
114 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>109 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">···*/</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>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>
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>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>
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>112 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··{</div>
118 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>113 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·std::remove_reference&lt;T&gt;::type·TR;</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>114 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····std::string·<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>·=·Impl::demangle(·<span·class="keyword">typeid</span>(·TR·).name()·);</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:[·...·truncated·by·diffoscope;·len:·138,·SHA:·7bef6325539d45f2f0c0448d72bfeba0382c3c99745beb3bbd31f0f5e85ea400·...·]</div>115 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keywordflow">if</span>·(std::is_const&lt;TR&gt;::value)</div>
121 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>116 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>·+=·<span·class="stringliteral">&quot;·const&quot;</span>;</div>
122 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>117 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keywordflow">if</span>·(std::is_volatile&lt;TR&gt;::value)</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>118 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>·+=·<span·class="stringliteral">&quot;·volatile&quot;</span>;</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>119 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keywordflow">if</span>·(std::is_lvalue_reference&lt;T&gt;::value)</div>
125 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>120 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>·+=·<span·class="stringliteral">&quot;&amp;&quot;</span>;</div>
126 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>121 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·(std::is_rvalue_reference&lt;T&gt;::value)</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>122 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>·+=·<span·class="stringliteral">&quot;&amp;&amp;&quot;</span>;</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>123 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>;</div>
129 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··{</div>124 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</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>125 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</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">IndicesSy[·...·truncated·by·diffoscope;·len:·9,·SHA:·509f1e0cb01444ddec328934fbf129e20d0dcef6a0d6db47b8c466d2eba9926e·...·]</div>126 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="comment">/*</span></div>
132 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>127 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">···*·\ingroup·CxxUtilities</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>128 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">···*/</span></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#a0e1b4[·...·truncated·by·diffoscope;·len:·257,·SHA:·37dc25852b674102ef4b70c7bc527a0e5183cbab489b2a93014eb6e16440d236·...·]</div>129 <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>·T&gt;</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>130 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a00425.html#a1d7665500285ebc74f89523cb8cf4fae">···67</a></span>··std::string·<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>·(·T&amp;&amp;·v)</div>
136 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·········································<span·class="keyword">const</span>·T&amp;);</div>131 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··{</div>
137 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>132 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·std::remove_reference&lt;T&gt;::type·TR;</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>133 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····std::string·<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>·=·Impl::demangle(·<span·class="keyword">typeid</span>(v).name()·);</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">RemoteInd[·...·truncated·by·diffoscope;·len:·19,·SHA:·51b2dc5ccc74cfafde0f8bb6b77f6e6ae7d247dc25ab51b6a1c4f8925f0ed5fc·...·]</div>134 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keywordflow">if</span>·(std::is_const&lt;TR&gt;::value)</div>
140 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>135 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>········<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>·+=·<span·class="stringliteral">&quot;·const&quot;</span>;</div>
141 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="keyword">public</span>:</div>136 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keywordflow">if</span>·(std::is_volatile&lt;TR&gt;::value)</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">Glob[·...·truncated·by·diffoscope;·len:·10,·SHA:·6617b3855402389c14347c4bb7426923de04a403e0ea91c6f04c0d0910213b32·...·]>;</div>137 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>·+=·<span·class="stringliteral">&quot;·volatile&quot;</span>;</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">Attr[·...·truncated·by·diffoscope;·len:·4,·SHA:·904a96bbbf59321f5606ec257ed8bc3cbc717157ebdc47fefa3a8324c5065f25·...·]e</a>;</div>138 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>;</div>
144 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>139 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</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>140 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>}·<span·class="comment">//·namespace·Dune</span></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>141 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
147 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>142 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="preprocessor">#endif··</span><span·class="comment">//·DUNE_CLASSNAME_HH</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> 
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> 
151 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div> 
152 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>····<a·class="code·hl_function"·href="a02240.html#aacc30da4e4e606b7dfc63679d2adb604">RemoteIndex</a>();</div> 
153 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div> 
154 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div> 
155 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>····<a·class="code·hl_function"·href="a02240.html#aacc30da4e4e606b7dfc63679d2adb604">RemoteIndex</a>(<span·class="keyword">const</span>·T2&amp;·<a·class="code·hl_function"·href="a02240.html#a0d98b1e5d3412d5c898482870dd21479">attribute</a>,</div> 
156 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>················<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">PairType</a>*·local);</div> 
157 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div> 
158 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div> 
159 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>····<a·class="code·hl_function"·href="a02240.html#aacc30da4e4e606b7dfc63679d2adb604">RemoteIndex</a>(<span·class="keyword">const</span>·T2&amp;·<a·class="code·hl_function"·href="a02240.html#a0d98b1e5d3412d5c898482870dd21479">attribute</a>);</div> 
160 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div> 
Max diff block lines reached; 32955/297047 bytes (11.09%) of diff not shown.
61.6 KB
html2text {}
    
Offset 4, 1930 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 remoteindices.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_REMOTEINDICES_HH 
16 ·6#define·DUNE_REMOTEINDICES_HH14 ·5#ifndef·DUNE_CLASSNAME_HH
 15 ·6#define·DUNE_CLASSNAME_HH
17 ·716 ·7
18 ·8#if·HAVE_MPI 
19 ·9 
20 ·10#include·<cassert>17 ·13#include·<cstdlib>
21 ·11#include·<iostream> 
22 ·12#include·<ostream> 
23 ·13#include·<map> 
24 ·14#include·<memory>18 ·14#include·<memory>
25 ·15#include·<set>19 ·15#include·<string>
26 ·16#include·<utility>20 ·16#include·<typeinfo>
27 ·17#include·<vector>21 ·17#include·<type_traits>
28 ·1822 ·18
 23 ·19#if·__has_include(<cxxabi.h>)·&&·!DISABLE_CXA_DEMANGLE
 24 ·20#define·HAVE_CXA_DEMANGLE·1
29 ·19#include·<mpi.h>25 ·21#include·<cxxabi.h>
 26 ·22#endif·//·#if·HAVE_CXA_DEMANGLE
 27 ·23
 28 ·24namespace·Dune·{
 29 ·25
 30 ·26·namespace·Impl·{
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> 
Diff chunk too large, falling back to line-by-line diff (50 lines added, 1555 lines removed)
37 ·2731 ·27
38 ·28namespace·Dune·{32 ·28·inline·std::string·demangle(std::string·name)
39 ·40·template<typename·TG,·typename·TA>33 ·29·{
40 41·class·MPITraits<IndexPair<TG,ParallelLocalIndex<TA>·>·>34 ·30#if·HAVE_CXA_DEMANGLE
41 ·42·{35 ·31·int·status;
42 ·43·public:36 ·32·std::unique_ptr<char,·void(*)(void*)>
43 ·44·inline·static·MPI_Datatype·getType();37 ·33·demangled(abi::__cxa_demangle(name.c_str(),·nullptr,·nullptr,·&status),
44 ·45·private:38 ·34·std::free);
45 ·46·static·MPI_Datatype·type;39 ·35·if(·demangled·)
46 ·47·};40 ·36·name·=·demangled.get();
47 ·4841 ·37#endif·//·#if·HAVE_CXA_DEMANGLE
48 ·4942 ·38·return·name;
49 ·50·template<typename·T,·typename·A>43 ·39·}
50 ·51·class·RemoteIndices;44 ·40·}
51 ·5245 ·41
52 ·53·template<typename·T1,·typename·T2>46 ·43·/*
53 ·54·class·RemoteIndex;47 ·44·*·\ingroup·CxxUtilities
54 ·5548 ·45·*/
55 ·56·//·forward·declaration·needed·for·friend·declaration.49 ·46·template·<class·T>
56 ·57·template<typename·T>50 47·std::string·className·()
57 ·58·class·IndicesSyncer;51 ·48·{
58 ·5952 ·49·typedef·typename·std::remove_reference<T>::type·TR;
59 ·60·template<typename·T1,·typename·T2>53 ·50·std::string·className·=·Impl::demangle(·typeid(·TR·).name()·);
60 61·std::ostream&·operator<<(std::ostream&·os,·const·RemoteIndex<T1,T2>&·index);54 ·51·if·(std::is_const<TR>::value)
61 ·6255 ·52·className·+=·"·const";
62 ·6356 ·53·if·(std::is_volatile<TR>::value)
63 ·64·template<typename·T,·typename·A,·bool·mode>57 ·54·className·+=·"·volatile";
64 ·65·class·RemoteIndexListModifier;58 ·55·if·(std::is_lvalue_reference<T>::value)
65 ·6659 ·56·className·+=·"&";
66 ·6760 ·57·else·if·(std::is_rvalue_reference<T>::value)
67 ·71·template<typename·T1,·typename·T2>61 ·58·className·+=·"&&";
68 72·class·RemoteIndex62 ·59·return·className;
69 ·73·{63 ·60·}
70 ·74·template<typename·T>64 ·61
71 75·friend·class·IndicesSyncer;65 ·63·/*
72 ·7666 ·64·*·\ingroup·CxxUtilities
73 ·77·template<typename·T,·typename·A,·typename·A1>67 ·65·*/
74 78·friend·void·repairLocalIndexPointers(std::map<int,SLList<std::pair<typename68 ·66·template·<class·T>
75 T::GlobalIndex,·typename·T::LocalIndex::Attribute>,A>·>&,69 67·std::string·className·(·T&&·v)
76 ·79·RemoteIndices<T,A1>&,70 ·68·{
77 ·80·const·T&);71 ·69·typedef·typename·std::remove_reference<T>::type·TR;
78 ·8172 ·70·std::string·className·=·Impl::demangle(·typeid(v).name()·);
79 ·82·template<typename·T,·typename·A,·bool·mode>73 ·71·if·(std::is_const<TR>::value)
80 83·friend·class·RemoteIndexListModifier;74 ·72·className·+=·"·const";
81 ·8475 ·73·if·(std::is_volatile<TR>::value)
82 ·85·public:76 ·74·className·+=·"·volatile";
83 90·typedef·T1·GlobalIndex;77 ·75·return·className;
84 99·typedef·T2·Attribute;78 ·76·}
85 ·10079 ·77}·//·namespace·Dune
86 ·104·typedef·IndexPair<GlobalIndex,ParallelLocalIndex<Attribute>·>80 ·78
87 105·PairType;81 ·79#endif·//·DUNE_CLASSNAME_HH
88 ·106 
89 ·111·const·Attribute·attribute()·const; 
90 ·112 
91 ·118·const·PairType&·localIndexPair()·const; 
92 ·119 
93 ·123·RemoteIndex(); 
94 ·124 
95 ·125 
96 ·131·RemoteIndex(const·T2&·attribute, 
97 ·132·const·PairType*·local); 
98 ·133 
99 ·134 
100 ·140·RemoteIndex(const·T2&·attribute); 
101 ·141 
102 ·142·bool·operator==(const·RemoteIndex&·ri)·const; 
103 ·143 
104 ·144·bool·operator!=(const·RemoteIndex&·ri)·const; 
105 ·145·private: 
106 ·147·const·PairType*·localIndex_; 
107 ·148 
108 ·150·char·attribute_; 
109 ·151·}; 
110 ·152 
111 ·153·template<class·T,·class·A> 
112 ·154·std::ostream&·operator<<(std::ostream&·os,·const·RemoteIndices<T,A>& 
113 indices); 
114 ·155 
115 ·156·class·InterfaceBuilder; 
116 ·157 
Max diff block lines reached; 13033/63071 bytes (20.66%) of diff not shown.
8.24 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:·collectivecommunication.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, 24 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_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">collectivecommunication.hh·File·Reference</div></div>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">sllist.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
69 </div><!--header-->73 </div><!--header-->
70 <div·class="contents">74 <div·class="contents">
71 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/> 
 75 <p>Implements·a·singly·linked·list·together·with·the·necessary·iterators.··
 76 <a·href="#details">More...</a></p>
 77 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/>
 78 <code>#include·&lt;cassert&gt;</code><br·/>
 79 <code>#include·&quot;<a·class="el"·href="a00011_source.html">iteratorfacades.hh</a>&quot;</code><br·/>
 80 <code>#include·&lt;ostream&gt;</code><br·/>
72 </div>81 </div>
73 <p><a·href="a00326_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00326_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="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">
 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="func-members"·name="func-members"></a>
 106 Functions</h2></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>
 109 <tr·class="separator:gab672fc0e72d7d5c69943bbf2a0bdb421"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 110 </table>
 111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 112 <div·class="textblock"><p·>Implements·a·singly·linked·list·together·with·the·necessary·iterators.·</p>
 113 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
74 </div><!--·contents·-->114 </div></div><!--·contents·-->
75 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
76 <hr·class="footer"/><address·class="footer"><small>116 <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.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
78 </small></address>118 </small></address>
79 </body>119 </body>
80 </html>120 </html>
1.28 KB
html2text {}
    
Offset 4, 14 lines modifiedOffset 4, 45 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 sllist.hh·File·Reference
 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>
10 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  
 29 ·Namespaces
 30 namespace· Dune
 31  ··········Dune·namespace.
 32  
 33 ·Functions
 34 template<typename·T·,·typename·A·>
 35 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·SLList<·T,·A·>
 36 ················&sllist)
 37  
 38 *****·Detailed·Description·*****
 39 Implements·a·singly·linked·list·together·with·the·necessary·iterators.
 40 ··Author
 41 ······Markus·Blatt
  
11 ===============================================================================42 ===============================================================================
12 ·····Generated·by [doxygen]·1.9.443 ·····Generated·by [doxygen]·1.9.4
141 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:·collectivecommunication.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, 27 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_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">collectivecommunication.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="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:·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>
 75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·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_SLLIST_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;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><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00011.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>
 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>
 87 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</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>
 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>
 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>
 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>
 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>
 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>
 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#ga07373aa465c1db378233026b89420275">push_front</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00397.html#ga9548258d3f4de56a110c6f549780ec2a">MemberType</a>&amp;·item);</div>
 130 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</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>
 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>
 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>
 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_function"·href="a00397.html#gaae74580801beccdd3ad849dfafc81cdf">end</a>()·<span·class="keyword">const</span>;</div>
 146 <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>
 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>
 167 <div·class="line"><a·id="l00219"·name="l00219"></a><span·class="lineno">··219</span>····};</div>
Max diff block lines reached; 271/120947 bytes (0.22%) of diff not shown.
22.3 KB
html2text {}
    
Offset 4, 23 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 ····*·parallel 
8 collectivecommunication.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
Diff chunk too large, falling back to line-by-line diff (790 lines added, 8 lines removed)
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//·Will·be·removed·after·the·2.7·release14 ·5#ifndef·DUNE_SLLIST_HH
14 ·4#warning·"Deprecated·header,·use·#include·<dune/common/parallel/15 ·6#define·DUNE_SLLIST_HH
15 communication.hh>·instead!"16 ·7
16 ·5#include·<dune/common/parallel/communication.hh>17 ·8#include·<memory>
17 communication.hh18 ·9#include·<cassert>
18 Implements·an·utility·class·that·provides·collective·communication·methods·for19 ·10#include·"iteratorfacades.hh"
19 sequential·programs.20 ·11#include·<ostream>
 21 ·12
 22 ·13namespace·Dune
 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 ·104
 64 108·SLList<T,A>&·operator=(const·SLList<T,A>&·other);
 65 ·109
 66 ·110
 67 115·inline·void·push_back(const·MemberType&·item);
 68 ·116
 69 121·inline·void·push_front(const·MemberType&·item);
 70 ·122
 71 126·inline·void·pop_front();
 72 ·127
 73 129·inline·void·clear();
 74 ·130
 75 138·inline·iterator·begin();
 76 ·139
 77 147·inline·const_iterator·begin()·const;
 78 ·148
 79 156·inline·ModifyIterator·beginModify();
 80 ·157
 81 165·inline·ModifyIterator·endModify();
 82 ·166
 83 173·inline·iterator·end();
 84 ·174
 85 181·inline·const_iterator·end()·const;
 86 ·182
 87 188·inline·bool·empty()·const;
 88 ·189
 89 194·inline·int·size()·const;
 90 ·195
 91 196·bool·operator==(const·SLList&·sl)·const;
 92 ·197
 93 ·198
 94 199·bool·operator!=(const·SLList&·sl)·const;
 95 ·200
 96 ·201·private:
 97 ·203·struct·Element
 98 ·204·{
 99 208·Element*·next_;
 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_;
 118 ·251
 119 ·257·Element*·tail_;
 120 ·258
 121 ·260·Allocator·allocator_;
 122 ·261
 123 ·263·int·size_;
Max diff block lines reached; 116/22782 bytes (0.51%) of diff not shown.
14.8 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:·indicessyncer.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 58, 86 lines modifiedOffset 58, 41 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">stdthread.cc·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;cstdlib&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·/>
  
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="a00317_source.html">indexset.hh</a>&quot;</code><br·/> 
78 <code>#include·&quot;<a·class="el"·href="a00323_source.html">remoteindices.hh</a>&quot;</code><br·/> 
79 <code>#include·&lt;<a·class="el"·href="a00050_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/>78 <code>#include·&lt;<a·class="el"·href="a00239_source.html">dune/common/stdthread.hh</a>&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00284_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·/> 
88 </div> 
89 <p><a·href="a00329_source.html">Go·to·the·source·code·of·this·file.</a></p> 
90 <table·class="memberdecls">79 </div><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>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
98 Namespaces</h2></td></tr>81 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>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>
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>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>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 </table><table·class="memberdecls">85 </table><table·class="memberdecls">
103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
104 Functions</h2></td></tr>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>
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> 
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>89 <tr·class="separator:aa76832a917330622cdf531c2e6375f4c"><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>90 </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·-->91 </div><!--·contents·-->
136 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
137 <hr·class="footer"/><address·class="footer"><small>93 <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.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
139 </small></address>95 </small></address>
140 </body>96 </body>
141 </html>97 </html>
2.96 KB
html2text {}
    
Offset 4, 80 lines modifiedOffset 4, 24 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 stdthread.cc·File·Reference
 9 #include·<cstdlib>
 10 #include·<iostream>
 11 #include·<mutex>
 12 #include·<ostream>
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>13 #include·<dune/common/stdthread.hh>
16 #include·<dune/common/sllist.hh> 
17 #include·<cassert> 
18 #include·<cmath> 
19 #include·<limits> 
20 #include·<algorithm> 
21 #include·<functional> 
22 #include·<map> 
23 #include·<tuple> 
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   
30 ·Namespaces14 ·Namespaces
31 namespace· Dune15 namespace· Dune
32  ··········Dune·namespace.16  ··········Dune·namespace.
33  17  
34 ·Functions18 ·Functions
 19 void Dune::doAssertCallOnce·(const·char·*file,·int·line,·const·char·*function)
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... 
71  20  
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 ===============================================================================21 ===============================================================================
78 ·····Generated·by [doxygen]·1.9.422 ·····Generated·by [doxygen]·1.9.4
15.7 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:·mpicollectivecommunication.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 58, 24 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><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">
 69 <a·href="#namespaces">Namespaces</a>·&#124;
 70 <a·href="#define-members">Macros</a>·&#124;
 71 <a·href="#typedef-members">Typedefs</a>·&#124;
 72 <a·href="#var-members">Variables</a>··</div>
68 ··<div·class="headertitle"><div·class="title">mpicollectivecommunication.hh·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">stdstreams.hh·File·Reference</div></div>
69 </div><!--header-->74 </div><!--header-->
70 <div·class="contents">75 <div·class="contents">
  
 76 <p>Standard·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·debug·streams.··
 77 <a·href="#details">More...</a></p>
71 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code><br·/>78 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00095_source.html">debugstream.hh</a>&quot;</code><br·/>
72 </div>79 </div>
73 <p><a·href="a00332_source.html">Go·to·the·source·code·of·this·file.</a></p>80 <p><a·href="a00332_source.html">Go·to·the·source·code·of·this·file.</a></p>
 81 <table·class="memberdecls">
 82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
 83 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>
 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>
 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="define-members"·name="define-members"></a>
 89 Macros</h2></td></tr>
 90 <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>
 91 <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>
 92 <tr·class="separator:ga3a5303f96d33ae7299d9acd71b736998"><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="typedef-members"·name="typedef-members"></a>
 95 Typedefs</h2></td></tr>
 96 <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>
 97 <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>
 98 <tr·class="separator:ga08d48df3a7a0e3bd9c0425aba8004488"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 99 <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>
 100 <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>
 101 <tr·class="separator:ga65d14f278ea400db87ffb6a4bc7ed7b2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 <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>
 103 <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>
 104 <tr·class="separator:gab41f4590c73d6408c89475e28bf18a8e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 105 <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>
 106 <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>
 107 <tr·class="separator:ga20379ab9c4472509d420e98659683fe6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 <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>
 109 <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>
 110 <tr·class="separator:ga70e0eedd6c7f613d6e9608fabb4d240d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 <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>
 112 <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>
 113 <tr·class="separator:ga768c0b513889d713fd0017ef7ae35056"><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="var-members"·name="var-members"></a>
 116 Variables</h2></td></tr>
 117 <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>
 118 <tr·class="separator:ga2c074d4df6d5fa8fbe8b4e9d44b35df0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 119 <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>
 120 <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>
 121 <tr·class="separator:ga490cf91178ed464c3eff5871b4b03c8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 122 <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>
 123 <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>
 124 <tr·class="separator:gabdcf3b4c1aefae00afd3ecaf84f755bb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 125 <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>
 126 <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>
 127 <tr·class="separator:gaabd88387e7eb826323b9f7d3a53a283e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 128 <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>
 129 <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>
 130 <tr·class="separator:gaed2aba7a7e55b026716d5027406566a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 131 <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>
 132 <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>
 133 <tr·class="separator:ga4fc828eb9bb6c6b6143034b9211d2b72"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 134 </table>
 135 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 136 <div·class="textblock"><p·>Standard·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·debug·streams.·</p>
 137 <p·>The·standard·debug·streams·are·compiled·into·libdune·to·exist·globally.·This·file·declares·the·stream·types·and·the·global·debug·level.·</p>
74 </div><!--·contents·-->138 </div></div><!--·contents·-->
75 <!--·start·footer·part·-->139 <!--·start·footer·part·-->
76 <hr·class="footer"/><address·class="footer"><small>140 <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.4141 Generated·by&#160;<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>142 </small></address>
79 </body>143 </body>
80 </html>144 </html>
3.03 KB
html2text {}
    
Offset 4, 14 lines modifiedOffset 4, 78 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 Namespaces·|·Macros·|·Typedefs·|·Variables
 8 stdstreams.hh·File·Reference
 9 Standard·Dune·debug·streams.·More...
 10 #include·"debugstream.hh"
10 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
 12 ·Namespaces
 13 namespace· Dune
 14  ··········Dune·namespace.
 15  
 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·*****
 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.
  
11 ===============================================================================75 ===============================================================================
12 ·····Generated·by [doxygen]·1.9.476 ·····Generated·by [doxygen]·1.9.4
28.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a00332_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:·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 58, 27 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>··</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">stdstreams.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
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">//·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>
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="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>·</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="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="l00017"·name="l00017"></a><span·class="lineno">···17</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="a00362.html">dune/common/parallel/mpicommunication.hh</a>&gt;</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="a00095.html">debugstream.hh</a>&quot;</span></div>
76 <div·class="ttc"·id="aa00362_html"><div·class="ttname"><a·href="a00362.html">mpicommunication.hh</a></div><div·class="ttdoc">Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.</div></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="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>·</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>
 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>
 87 <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>
 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>
 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>
 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>
 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>
 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>
 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>
 110 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno"><a·class="line"·href="a00423.html#ga4bff1feeab1e96f08aca7796cc69b4ea">··161</a></span>··<span·class="keyword">extern</span>·<a·class="code·hl_class"·href="a01396.html">DWarnType</a>·<a·class="code·hl_variable"·href="a00423.html#ga4bff1feeab1e96f08aca7796cc69b4ea">dwarn</a>;</div>
 111 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>·</div>
 112 <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno"><a·class="line"·href="a00423.html#ga4fc828eb9bb6c6b6143034b9211d2b72">··167</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#ga4fc828eb9bb6c6b6143034b9211d2b72">GRAVE_DEBUG_LEVEL</a>·=·5;</div>
 113 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span>·</div>
 114 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno"><a·class="line"·href="a00423.html#ga70e0eedd6c7f613d6e9608fabb4d240d">··170</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01396.html">DebugStream&lt;GRAVE_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL&gt;</a>·<a·class="code·hl_typedef"·href="a00423.html#ga70e0eedd6c7f613d6e9608fabb4d240d">DGraveType</a>;</div>
 115 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>·</div>
 116 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno"><a·class="line"·href="a00423.html#ga765267750e6b2718fa718ab5f9fa1ed9">··179</a></span>··<span·class="keyword">extern</span>·<a·class="code·hl_class"·href="a01396.html">DGraveType</a>·<a·class="code·hl_variable"·href="a00423.html#ga765267750e6b2718fa718ab5f9fa1ed9">dgrave</a>;</div>
 117 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno">··180</span>·</div>
 118 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno"><a·class="line"·href="a00423.html#ga768c0b513889d713fd0017ef7ae35056">··182</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01396.html">DebugStream&lt;1&gt;</a>·<a·class="code·hl_typedef"·href="a00423.html#ga768c0b513889d713fd0017ef7ae35056">DErrType</a>;</div>
 119 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>·</div>
 120 <div·class="line"><a·id="l00195"·name="l00195"></a><span·class="lineno"><a·class="line"·href="a00423.html#gacaa61db1e034d693335d33d3919ba9ca">··195</a></span>··<span·class="keyword">extern</span>·<a·class="code·hl_class"·href="a01396.html">DErrType</a>·<a·class="code·hl_variable"·href="a00423.html#gacaa61db1e034d693335d33d3919ba9ca">derr</a>;</div>
 121 <div·class="line"><a·id="l00196"·name="l00196"></a><span·class="lineno">··196</span>·</div>
 122 <div·class="line"><a·id="l00198"·name="l00198"></a><span·class="lineno">··198</span>}</div>
 123 <div·class="line"><a·id="l00199"·name="l00199"></a><span·class="lineno">··199</span>·</div>
 124 <div·class="line"><a·id="l00200"·name="l00200"></a><span·class="lineno">··200</span><span·class="preprocessor">#endif</span></div>
 125 <div·class="ttc"·id="aa00095_html"><div·class="ttname"><a·href="a00095.html">debugstream.hh</a></div><div·class="ttdoc">Defines·several·output·streams·for·messages·of·different·importance.</div></div>
 126 <div·class="ttc"·id="aa00410_html_ga7b78ef57d1b77933ab277ebe66c79d94"><div·class="ttname"><a·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">Dune::DebugLevel</a></div><div·class="ttdeci">unsigned·int·DebugLevel</div><div·class="ttdoc">Type·for·debug·levels.</div><div·class="ttdef"><b>Definition:</b>·debugstream.hh:118</div></div>
 127 <div·class="ttc"·id="aa00423_html_ga08d48df3a7a0e3bd9c0425aba8004488"><div·class="ttname"><a·href="a00423.html#ga08d48df3a7a0e3bd9c0425aba8004488">Dune::DVVerbType</a></div><div·class="ttdeci">DebugStream&lt;·VERY_VERBOSE_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·&gt;·DVVerbType</div><div·class="ttdoc">Type·of·very·verbose·debug·stream.</div><div·class="ttdef"><b>Definition:</b>·stdstreams.hh:81</div></div>
 128 <div·class="ttc"·id="aa00423_html_ga20379ab9c4472509d420e98659683fe6"><div·class="ttname"><a·href="a00423.html#ga20379ab9c4472509d420e98659683fe6">Dune::DWarnType</a></div><div·class="ttdeci">DebugStream&lt;·WARN_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·&gt;·DWarnType</div><div·class="ttdoc">Type·of·debug·stream·with·warn·level.</div><div·class="ttdef"><b>Definition:</b>·stdstreams.hh:152</div></div>
 129 <div·class="ttc"·id="aa00423_html_ga20bcb085658a3b88393e47a1d36d667c"><div·class="ttname"><a·href="a00423.html#ga20bcb085658a3b88393e47a1d36d667c">Dune::dvverb</a></div><div·class="ttdeci">DVVerbType·dvverb(std::cout)</div><div·class="ttdoc">stream·for·very·verbose·output.</div><div·class="ttdef"><b>Definition:</b>·stdstreams.hh:95</div></div>
 130 <div·class="ttc"·id="aa00423_html_ga2c074d4df6d5fa8fbe8b4e9d44b35df0"><div·class="ttname"><a·href="a00423.html#ga2c074d4df6d5fa8fbe8b4e9d44b35df0">Dune::MINIMAL_DEBUG_LEVEL</a></div><div·class="ttdeci">static·const·DebugLevel·MINIMAL_DEBUG_LEVEL</div><div·class="ttdef"><b>Definition:</b>·stdstreams.hh:69</div></div>
 131 <div·class="ttc"·id="aa00423_html_ga3a5303f96d33ae7299d9acd71b736998"><div·class="ttname"><a·href="a00423.html#ga3a5303f96d33ae7299d9acd71b736998">DUNE_MINIMAL_DEBUG_LEVEL</a></div><div·class="ttdeci">#define·DUNE_MINIMAL_DEBUG_LEVEL</div><div·class="ttdoc">The·default·minimum·debug·level.</div><div·class="ttdef"><b>Definition:</b>·stdstreams.hh:67</div></div>
 132 <div·class="ttc"·id="aa00423_html_ga490cf91178ed464c3eff5871b4b03c8f"><div·class="ttname"><a·href="a00423.html#ga490cf91178ed464c3eff5871b4b03c8f">Dune::VERY_VERBOSE_DEBUG_LEVEL</a></div><div·class="ttdeci">static·const·DebugLevel·VERY_VERBOSE_DEBUG_LEVEL</div><div·class="ttdoc">The·level·of·the·very·verbose·debug·stream.</div><div·class="ttdef"><b>Definition:</b>·stdstreams.hh:75</div></div>
 133 <div·class="ttc"·id="aa00423_html_ga4bff1feeab1e96f08aca7796cc69b4ea"><div·class="ttname"><a·href="a00423.html#ga4bff1feeab1e96f08aca7796cc69b4ea">Dune::dwarn</a></div><div·class="ttdeci">DWarnType·dwarn(std::cerr)</div><div·class="ttdoc">Stream·for·warnings·indicating·problems.</div><div·class="ttdef"><b>Definition:</b>·stdstreams.hh:161</div></div>
 134 <div·class="ttc"·id="aa00423_html_ga4fc828eb9bb6c6b6143034b9211d2b72"><div·class="ttname"><a·href="a00423.html#ga4fc828eb9bb6c6b6143034b9211d2b72">Dune::GRAVE_DEBUG_LEVEL</a></div><div·class="ttdeci">static·const·DebugLevel·GRAVE_DEBUG_LEVEL</div><div·class="ttdoc">The·level·of·the·debug·stream·for·fatal·errors.</div><div·class="ttdef"><b>Definition:</b>·stdstreams.hh:167</div></div>
 135 <div·class="ttc"·id="aa00423_html_ga65d14f278ea400db87ffb6a4bc7ed7b2"><div·class="ttname"><a·href="a00423.html#ga65d14f278ea400db87ffb6a4bc7ed7b2">Dune::DVerbType</a></div><div·class="ttdeci">DebugStream&lt;·VERBOSE_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·&gt;·DVerbType</div><div·class="ttdoc">Type·of·more·verbose·debug·stream.</div><div·class="ttdef"><b>Definition:</b>·stdstreams.hh:107</div></div>
 136 <div·class="ttc"·id="aa00423_html_ga70e0eedd6c7f613d6e9608fabb4d240d"><div·class="ttname"><a·href="a00423.html#ga70e0eedd6c7f613d6e9608fabb4d240d">Dune::DGraveType</a></div><div·class="ttdeci">DebugStream&lt;·GRAVE_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·&gt;·DGraveType</div><div·class="ttdoc">Type·of·debug·stream·for·fatal·errors.</div><div·class="ttdef"><b>Definition:</b>·stdstreams.hh:170</div></div>
 137 <div·class="ttc"·id="aa00423_html_ga765267750e6b2718fa718ab5f9fa1ed9"><div·class="ttname"><a·href="a00423.html#ga765267750e6b2718fa718ab5f9fa1ed9">Dune::dgrave</a></div><div·class="ttdeci">DGraveType·dgrave(std::cerr)</div><div·class="ttdoc">Stream·for·warnings·indicating·fatal·errors.</div><div·class="ttdef"><b>Definition:</b>·stdstreams.hh:179</div></div>
 138 <div·class="ttc"·id="aa00423_html_ga768c0b513889d713fd0017ef7ae35056"><div·class="ttname"><a·href="a00423.html#ga768c0b513889d713fd0017ef7ae35056">Dune::DErrType</a></div><div·class="ttdeci">DebugStream&lt;·1·&gt;·DErrType</div><div·class="ttdoc">The·type·of·the·stream·used·for·error·messages.</div><div·class="ttdef"><b>Definition:</b>·stdstreams.hh:182</div></div>
 139 <div·class="ttc"·id="aa00423_html_gaabd88387e7eb826323b9f7d3a53a283e"><div·class="ttname"><a·href="a00423.html#gaabd88387e7eb826323b9f7d3a53a283e">Dune::INFO_DEBUG_LEVEL</a></div><div·class="ttdeci">static·const·DebugLevel·INFO_DEBUG_LEVEL</div><div·class="ttdoc">The·level·of·the·informative·debug·stream.</div><div·class="ttdef"><b>Definition:</b>·stdstreams.hh:122</div></div>
 140 <div·class="ttc"·id="aa00423_html_gab41f4590c73d6408c89475e28bf18a8e"><div·class="ttname"><a·href="a00423.html#gab41f4590c73d6408c89475e28bf18a8e">Dune::DInfoType</a></div><div·class="ttdeci">DebugStream&lt;·INFO_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·&gt;·DInfoType</div><div·class="ttdoc">Type·of·debug·stream·with·info·level.</div><div·class="ttdef"><b>Definition:</b>·stdstreams.hh:128</div></div>
 141 <div·class="ttc"·id="aa00423_html_gab5d2fce8ed49f95067d9b5b54d6f5def"><div·class="ttname"><a·href="a00423.html#gab5d2fce8ed49f95067d9b5b54d6f5def">Dune::dinfo</a></div><div·class="ttdeci">DInfoType·dinfo(std::cout)</div><div·class="ttdoc">Stream·for·informative·output.</div><div·class="ttdef"><b>Definition:</b>·stdstreams.hh:140</div></div>
 142 <div·class="ttc"·id="aa00423_html_gab8900dadc584357856d4f6cc06324cea"><div·class="ttname"><a·href="a00423.html#gab8900dadc584357856d4f6cc06324cea">Dune::dverb</a></div><div·class="ttdeci">DVerbType·dverb(std::cout)</div><div·class="ttdoc">Singleton·of·verbose·debug·stream.</div><div·class="ttdef"><b>Definition:</b>·stdstreams.hh:116</div></div>
 143 <div·class="ttc"·id="aa00423_html_gabdcf3b4c1aefae00afd3ecaf84f755bb"><div·class="ttname"><a·href="a00423.html#gabdcf3b4c1aefae00afd3ecaf84f755bb">Dune::VERBOSE_DEBUG_LEVEL</a></div><div·class="ttdeci">static·const·DebugLevel·VERBOSE_DEBUG_LEVEL</div><div·class="ttdoc">The·level·of·the·verbose·debug·stream.</div><div·class="ttdef"><b>Definition:</b>·stdstreams.hh:101</div></div>
 144 <div·class="ttc"·id="aa00423_html_gacaa61db1e034d693335d33d3919ba9ca"><div·class="ttname"><a·href="a00423.html#gacaa61db1e034d693335d33d3919ba9ca">Dune::derr</a></div><div·class="ttdeci">DErrType·derr(std::cerr)</div><div·class="ttdoc">Stream·for·error·messages.</div><div·class="ttdef"><b>Definition:</b>·stdstreams.hh:195</div></div>
 145 <div·class="ttc"·id="aa00423_html_gaed2aba7a7e55b026716d5027406566a0"><div·class="ttname"><a·href="a00423.html#gaed2aba7a7e55b026716d5027406566a0">Dune::WARN_DEBUG_LEVEL</a></div><div·class="ttdeci">static·const·DebugLevel·WARN_DEBUG_LEVEL</div><div·class="ttdoc">The·level·of·the·debug·stream·for·warnings.</div><div·class="ttdef"><b>Definition:</b>·stdstreams.hh:146</div></div>
 146 <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="aa01396_html"><div·class="ttname"><a·href="a01396.html">Dune::DebugStream</a></div><div·class="ttdoc">Generic·class·to·implement·debug·output·streams.</div><div·class="ttdef"><b>Definition:</b>·debugstream.hh:192</div></div>
77 </div><!--·fragment·--></div><!--·contents·-->148 </div><!--·fragment·--></div><!--·contents·-->
78 <!--·start·footer·part·-->149 <!--·start·footer·part·-->
79 <hr·class="footer"/><address·class="footer"><small>150 <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.4151 Generated·by&#160;<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>152 </small></address>
82 </body>153 </body>
83 </html>154 </html>
5.08 KB
html2text {}
    
Offset 4, 23 lines modifiedOffset 4, 155 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 stdstreams.hh
7 ····*·parallel 
8 mpicollectivecommunication.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//·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.14 ·5
 15 ·15#ifndef·DUNE_COMMON_STDSTREAMS_HH
 16 ·16#define·DUNE_COMMON_STDSTREAMS_HH
 17 ·17
 18 ·18#include·"debugstream.hh"
 19 ·19
 20 ·20namespace·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;
 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 ·96
 34 101·static·const·DebugLevel·VERBOSE_DEBUG_LEVEL·=·2;
 35 ·102
 36 107·typedef·DebugStream<VERBOSE_DEBUG_LEVEL,_MINIMAL_DEBUG_LEVEL>·DVerbType;
 37 ·108
 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 ·153
 50 161·extern·DWarnType·dwarn;
 51 ·162
 52 167·static·const·DebugLevel·GRAVE_DEBUG_LEVEL·=·5;
 53 ·168
 54 170·typedef·DebugStream<GRAVE_DEBUG_LEVEL,_MINIMAL_DEBUG_LEVEL>·DGraveType;
 55 ·171
 56 179·extern·DGraveType·dgrave;
 57 ·180
 58 182·typedef·DebugStream<1>·DErrType;
 59 ·183
 60 195·extern·DErrType·derr;
 61 ·196
 62 ·198}
 63 ·199
 64 ·200#endif
 65 debugstream.hh
 66 Defines·several·output·streams·for·messages·of·different·importance.
 67 Dune::DebugLevel
 68 unsigned·int·DebugLevel
 69 Type·for·debug·levels.
 70 Definition:·debugstream.hh:118
 71 Dune::DVVerbType
 72 DebugStream<·VERY_VERBOSE_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·>·DVVerbType
 73 Type·of·very·verbose·debug·stream.
 74 Definition:·stdstreams.hh:81
 75 Dune::DWarnType
 76 DebugStream<·WARN_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·>·DWarnType
 77 Type·of·debug·stream·with·warn·level.
 78 Definition:·stdstreams.hh:152
 79 Dune::dvverb
 80 DVVerbType·dvverb(std::cout)
 81 stream·for·very·verbose·output.
 82 Definition:·stdstreams.hh:95
 83 Dune::MINIMAL_DEBUG_LEVEL
 84 static·const·DebugLevel·MINIMAL_DEBUG_LEVEL
 85 Definition:·stdstreams.hh:69
 86 DUNE_MINIMAL_DEBUG_LEVEL
 87 #define·DUNE_MINIMAL_DEBUG_LEVEL
 88 The·default·minimum·debug·level.
 89 Definition:·stdstreams.hh:67
 90 Dune::VERY_VERBOSE_DEBUG_LEVEL
 91 static·const·DebugLevel·VERY_VERBOSE_DEBUG_LEVEL
 92 The·level·of·the·very·verbose·debug·stream.
 93 Definition:·stdstreams.hh:75
 94 Dune::dwarn
 95 DWarnType·dwarn(std::cerr)
 96 Stream·for·warnings·indicating·problems.
 97 Definition:·stdstreams.hh:161
 98 Dune::GRAVE_DEBUG_LEVEL
 99 static·const·DebugLevel·GRAVE_DEBUG_LEVEL
 100 The·level·of·the·debug·stream·for·fatal·errors.
 101 Definition:·stdstreams.hh:167
 102 Dune::DVerbType
 103 DebugStream<·VERBOSE_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·>·DVerbType
 104 Type·of·more·verbose·debug·stream.
 105 Definition:·stdstreams.hh:107
 106 Dune::DGraveType
 107 DebugStream<·GRAVE_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·>·DGraveType
 108 Type·of·debug·stream·for·fatal·errors.
 109 Definition:·stdstreams.hh:170
 110 Dune::dgrave
 111 DGraveType·dgrave(std::cerr)
 112 Stream·for·warnings·indicating·fatal·errors.
 113 Definition:·stdstreams.hh:179
 114 Dune::DErrType
 115 DebugStream<·1·>·DErrType
 116 The·type·of·the·stream·used·for·error·messages.
 117 Definition:·stdstreams.hh:182
 118 Dune::INFO_DEBUG_LEVEL
Max diff block lines reached; 116/5181 bytes (2.24%) of diff not shown.
10.1 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:·plocalindex.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 58, 67 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><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">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>70 ··<div·class="headertitle"><div·class="title">unused.hh·File·Reference</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·for·distributed·computing.··73 <p>Definition·of·the·<code>DUNE_UNUSED_PARAMETER</code>·macro.··
76 <a·href="#details">More...</a></p>74 <a·href="#details">More...</a></p>
  
77 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00356_source.html">localindex.hh</a>&quot;</code><br·/> 
78 <code>#include·&quot;<a·class="el"·href="a00317_source.html">indexset.hh</a>&quot;</code><br·/> 
79 <code>#include·&quot;<a·class="el"·href="a00311_source.html">mpitraits.hh</a>&quot;</code><br·/> 
80 <code>#include·&lt;iostream&gt;</code><br·/> 
81 </div> 
82 <p><a·href="a00335_source.html">Go·to·the·source·code·of·this·file.</a></p>75 <p><a·href="a00335_source.html">Go·to·the·source·code·of·this·file.</a></p>
83 <table·class="memberdecls">76 <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="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> 
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> 
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> 
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> 
99 </table><table·class="memberdecls"> 
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
101 Functions</h2></td></tr>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</a>(param)&#160;&#160;&#160;static_cast&lt;void&gt;(param)</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>80 <tr·class="separator:ga82d6aa0dcd7f162d42922460058fbf86"><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> 
112 </table>81 </table>
113 <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"><p·>Definition·of·the·<code>DUNE_UNUSED_PARAMETER</code>·macro.·</p>
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> 
116 </div></div><!--·contents·-->84 </div></div><!--·contents·-->
117 <!--·start·footer·part·-->85 <!--·start·footer·part·-->
118 <hr·class="footer"/><address·class="footer"><small>86 <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.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
120 </small></address>88 </small></address>
121 </body>89 </body>
122 </html>90 </html>
1.76 KB
html2text {}
    
Offset 4, 53 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
7 ····*·parallel 
8 Classes·|·Namespaces·|·Functions 
9 plocalindex.hh·File·Reference8 unused.hh·File·Reference
 9 Definition·of·the·DUNE_UNUSED_PARAMETER·macro.·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.10 Go_to_the_source_code_of_this_file.
 11 ·Macros
 12 #define DUNE_UNUSED_PARAMETER(param)   static_cast<void>(param)
18 ·Classes 
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_>_> 
26   
27 ·Namespaces 
28 namespace· Dune 
29  ··········Dune·namespace. 
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  13  
45 *****·Detailed·Description·*****14 *****·Detailed·Description·*****
 15 Definition·of·the·DUNE_UNUSED_PARAMETER·macro.
46 Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed 
47 computing. 
48 ··Author 
49 ······Markus·Blatt 
  
50 ===============================================================================16 ===============================================================================
51 ·····Generated·by [doxygen]·1.9.417 ·····Generated·by [doxygen]·1.9.4
58.6 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:·plocalindex.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 58, 268 lines modifiedOffset 58, 30 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">plocalindex.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="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_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_UNUSED_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="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>
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="a00356.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="a00317.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="a00311.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> 
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> 
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> 
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> 
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> 
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> 
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> 
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> 
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> 
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> 
162 <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno">··188</span>····<span·class="keywordflow">return</span>·!(p1==p2);</div> 
163 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>··}</div> 
164 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>·</div> 
Max diff block lines reached; 271/50743 bytes (0.53%) of diff not shown.
8.94 KB
html2text {}
    
Offset 4, 327 lines modifiedOffset 4, 22 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 unused.hh
7 ····*·parallel 
8 plocalindex.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_COMMON_UNUSED_HH
 15 ·6#define·DUNE_COMMON_UNUSED_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> 
24 ·14 
25 ·15namespace·Dune 
26 ·16{ 
27 ·1716 ·7
 17 21#define·DUNE_UNUSED_PARAMETER(param)·static_cast<void>(param)
28 ·18 
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·} 
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); 
108 ·189·} 
109 ·190 
110 ·191 
111 ·192·template<typename·T> 
112 193·struct·LocalIndexComparator<ParallelLocalIndex<T>·> 
113 ·194·{ 
114 195·static·bool·compare(const·ParallelLocalIndex<T>&·t1, 
115 ·196·const·ParallelLocalIndex<T>&·t2){ 
116 ·197·return·t1.attribute()<t2.attribute(); 
117 ·198·} 
118 ·199·}; 
119 ·200 
120 ·201 
121 ·202#if·HAVE_MPI 
122 ·203 
Max diff block lines reached; 116/9129 bytes (1.27%) of diff not shown.
7.2 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:·selection.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 58, 53 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">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>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>
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.··74 <p>A·simple·timing·class.··
75 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
 76 <div·class="textblock"><code>#include·&lt;chrono&gt;</code><br·/>
76 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00317_source.html">indexset.hh</a>&quot;</code><br·/> 
77 <code>#include·&lt;<a·class="el"·href="a00182_source.html">dune/common/iteratorfacades.hh</a>&gt;</code><br·/> 
78 </div>77 </div>
79 <p><a·href="a00338_source.html">Go·to·the·source·code·of·this·file.</a></p>78 <p><a·href="a00338_source.html">Go·to·the·source·code·of·this·file.</a></p>
80 <table·class="memberdecls">79 <table·class="memberdecls">
81 <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>
82 Classes</h2></td></tr>81 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>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="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·cached·selection·of·indices.··<a·href="a02272.html#details">More...</a><br·/></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>84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">85 </table><table·class="memberdecls">
93 <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>
94 Namespaces</h2></td></tr>87 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>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>
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="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>90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table>91 </table>
99 <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"><p·>A·simple·timing·class.·</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> 
102 </div></div><!--·contents·-->94 </div></div><!--·contents·-->
103 <!--·start·footer·part·-->95 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>96 <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.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
106 </small></address>98 </small></address>
107 </body>99 </body>
108 </html>100 </html>
1.17 KB
html2text {}
    
Offset 4, 36 lines modifiedOffset 4, 26 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 selection.hh·File·Reference8 timer.hh·File·Reference
 9 Common
 10 A·simple·timing·class.·More...
 11 #include·<chrono>
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.12 Go_to_the_source_code_of_this_file.
15 ·Classes13 ·Classes
 14 class· Dune::Timer
 15  ······A·simple·stop·watch.·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... 
24  16  
25 ·Namespaces17 ·Namespaces
26 namespace· Dune18 namespace· Dune
27  ··········Dune·namespace.19  ··········Dune·namespace.
28  20  
29 *****·Detailed·Description·*****21 *****·Detailed·Description·*****
 22 A·simple·timing·class.
30 Provides·classes·for·selecting·indices·based·on·attribute·flags. 
31 ··Author 
32 ······Markus·Blatt 
  
33 ===============================================================================23 ===============================================================================
34 ·····Generated·by [doxygen]·1.9.424 ·····Generated·by [doxygen]·1.9.4
85.7 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:·selection.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 58, 282 lines modifiedOffset 58, 147 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">selection.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="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>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>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_SELECTION_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_SELECTION_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">#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>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00317.html">indexset.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;chrono&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>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00182.html">dune/common/iteratorfacades.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;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>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>85 <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><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>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>{</div>87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</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</span>·N&gt;</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>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>
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="keyword">public</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">AttributeSet</a>;</div> 
88 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>89 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{</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>·<a·class="code·hl_typedef"·href="a02264.html[·...·truncated·by·diffoscope;·len:·57,·SHA:·87f9a246efb279fb8794470e54e0219d6515814d7c482cf25c96a72da4c53189·...·]</div>90 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">public</span>:</div>
90 <div·class="line"><a·id="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>
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> 
96 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····{</div>93 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</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>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>
99 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········++iter_;</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>
 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>······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>
100 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····}</div>103 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</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="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="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>
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>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>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>
110 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>113 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</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> 
114 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</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>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>
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>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>
 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>
120 <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>
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>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="l00084"·name="l00084"></a><span·class="lineno">···84</span>····}</div>123 <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>124 <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>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="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>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>
 130 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>········<span·class="keywordflow">return</span>·rawElapsed();</div>
130 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</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>
131 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>134 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</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="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>
135 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<span·class="keyword">public</span>:</div>139 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>······<span·class="keywordflow">if</span>·(isRunning_)</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">Attri[·...·truncated·by·diffoscope;·len:·12,·SHA:·cda4c300a94370efde819bc00045ef767568ea192285c493384849929b935bb2·...·]</div>140 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······{</div>
Max diff block lines reached; 12709/73081 bytes (17.39%) of diff not shown.
14.2 KB
html2text {}
    
Offset 4, 385 lines modifiedOffset 4, 164 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 timer.hh
7 ····*·parallel 
8 selection.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_SELECTION_HH14 ·5#ifndef·DUNE_TIMER_HH
16 ·6#define·DUNE_SELECTION_HH15 ·6#define·DUNE_TIMER_HH
17 ·716 ·7
18 ·8#include·"indexset.hh" 
19 ·9#include·<dune/common/iteratorfacades.hh> 
20 ·1017 ·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>
 23 ·14#endif
 24 ·15
21 ·11namespace·Dune25 ·16namespace·Dune·{
 26 ·17
 27 42·class·Timer
 28 ·43·{
22 ·12{ 
23 ·27·template<typename·TS,·typename·TG,·typename·TL,·int·N> 
24 28·class·SelectionIterator 
25 ·29·{ 
26 ·30·public:29 ·44·public:
27 39·typedef·TS·AttributeSet; 
28 ·40 
29 44·typedef·Dune::ParallelIndexSet<TG,TL,N>·ParallelIndexSet; 
30 ·4530 ·45
 31 50·Timer·(bool·startImmediately=true)·noexcept
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·{32 ·51·{
 33 ·52·isRunning_·=·startImmediately;
 34 ·53·reset();
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·}35 ·54·}
 36 ·55
 37 57·void·reset()·noexcept
 38 ·58·{
 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
58 ·7554 ·75
59 76·bool·operator==(const·SelectionIterator<TS,TG,TL,N>&·other)·const55 77·double·elapsed·()·const·noexcept
60 ·77·{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();
61 ·78·return·iter_·==·other.iter_; 
62 ·79·} 
63 ·80 
64 81·bool·operator!=(const·SelectionIterator<TS,TG,TL,N>&·other)·const 
65 ·82·{60 ·82
66 ·83·return·iter_·!=·other.iter_;61 ·83·return·sumElapsed_;
67 ·84·}62 ·84·}
68 ·8563 ·85
 64 ·86
 65 88·double·lastElapsed·()·const·noexcept
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·{66 ·89·{
78 ·98·public: 
79 107·typedef·TS·AttributeSet;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·{
Max diff block lines reached; 4719/14485 bytes (32.58%) of diff not shown.
16.5 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:·communication.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 58, 71 lines modifiedOffset 58, 87 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;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">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:·23,·SHA:·8d1398fff91962f84f878e67bc90f42add80b85a6a90818d0fd7c28750ed7c09·...·]</a></div></div></div>73 ··<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-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.··76 <p>A·few·common·exception·classes.··
77 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
78 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;exception&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·/>79 <code>#include·&lt;string&gt;</code><br·/>
 80 <code>#include·&lt;sstream&gt;</code><br·/>
82 <code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/binaryfunctions.hh</a>&gt;</code><br·/> 
83 <code>#include·&lt;<a·class="el"·href="a00143_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·/> 
85 </div>81 </div>
86 <p><a·href="a00341_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00341_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="a01548.html">Dune::Exception</a></td></tr>
 87 <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>
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="a01552.html">Dune::ExceptionHook</a></td></tr>
 90 <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>
 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="a01556.html">Dune::IOError</a></td></tr>
 93 <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>
 94 <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>95 <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>
 96 <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>
 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="a01564.html">Dune::RangeError</a></td></tr>
 99 <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>
 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="a01568.html">Dune::NotImplemented</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>102 <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>
 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="a01572.html">Dune::SystemError</a></td></tr>
 105 <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>
 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="a01576.html">Dune::OutOfMemoryError</a></td></tr>
 108 <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>
 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="a01580.html">Dune::InvalidStateException</a></td></tr>
 111 <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>
 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="a01584.html">Dune::ParallelError</a></td></tr>
 114 <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>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 </table><table·class="memberdecls">116 </table><table·class="memberdecls">
96 <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>
97 Namespaces</h2></td></tr>118 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>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>
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>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>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls">122 </table><table·class="memberdecls">
102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>123 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
 124 Macros</h2></td></tr>
 125 <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>
 126 <tr·class="separator:gad7fce127d6eaabe773adbc409514f21e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
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">127 </table><table·class="memberdecls">
108 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>128 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
109 Functions</h2></td></tr>129 Functions</h2></td></tr>
 130 <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>
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>131 <tr·class="separator:gad42c9f04f7871a06e6149e1a11185404"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
116 </table>132 </table>
117 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>133 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
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>134 <div·class="textblock"><p·>A·few·common·exception·classes.·</p>
 135 <p·>This·file·defines·a·common·framework·for·generating·exception·subclasses·and·to·throw·them·in·a·simple·manner·</p>
120 </div></div><!--·contents·-->136 </div></div><!--·contents·-->
121 <!--·start·footer·part·-->137 <!--·start·footer·part·-->
122 <hr·class="footer"/><address·class="footer"><small>138 <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.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
124 </small></address>140 </small></address>
125 </body>141 </body>
126 </html>142 </html>
2.97 KB
html2text {}
    
Offset 4, 51 lines modifiedOffset 4, 65 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·|·Macros·|·Functions
9 communication.hh·File·Reference8 exceptions.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...9 Common·»·Exception_handling
 10 A·few·common·exception·classes.·More...
 11 #include·<exception>
 12 #include·<string>
13 #include·<iostream>13 #include·<sstream>
14 #include·<complex> 
15 #include·<algorithm> 
16 #include·<vector> 
17 #include·<dune/common/binaryfunctions.hh> 
18 #include·<dune/common/exceptions.hh> 
19 #include·<dune/common/parallel/future.hh> 
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::Exception
 17  ·······Base·class·for·Dune-Exceptions.·More...
23  18  
24 ·class· Dune::Communication<_Communicator_> 
25  ·······Collective·communication·interface·and·sequential·default 
26 ·········implementation.·More...19 struct· Dune::ExceptionHook
 20  ·······Base·class·to·add·a·hook·to·the·Dune::Exception.·More...
 21  
 22 ·class· Dune::IOError
 23  ·······Default·exception·class·for·I/O·errors.·More...
 24  
 25 ·class· Dune::MathError
 26  ·······Default·exception·class·for·mathematical·errors.·More...
 27  
 28 ·class· Dune::RangeError
 29  ·······Default·exception·class·for·range·errors.·More...
 30  
 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...
27  47  
28 ·Namespaces48 ·Namespaces
29 namespace· Dune49 namespace· Dune
30  ··········Dune·namespace.50  ··········Dune·namespace.
31  51  
 52 ·Macros
 53 #define DUNE_THROW(E,·m)
32 ·Typedefs 
33 template<class·T·> 
34 using Dune::CollectiveCommunication·=·Communication<·T·> 
35  54  
36 ·Functions55 ·Functions
 56 std::ostream·& Dune::operator<<·(std::ostream·&stream,·const·Exception·&e)
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  57  
43 *****·Detailed·Description·*****58 *****·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·manner
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 ===============================================================================62 ===============================================================================
49 ·····Generated·by [doxygen]·1.9.463 ·····Generated·by [doxygen]·1.9.4
102 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:·communication.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 58, 342 lines modifiedOffset 58, 115 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">exceptions.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">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</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>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><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">#ifndef·DUNE_EXCEPTIONS_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><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;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>
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">#include·&lt;sstream&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> 
80 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
81 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</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="a00245.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="a00143.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="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>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>
87 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div> 
88 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</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>85 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="comment">/*·forward·declarations·*/</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>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>
91 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</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>
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="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>90 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··:·<span·class="keyword">public</span>·std::exception</div>
95 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</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> 
98 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··{</div>91 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</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>
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>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>
100 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··}</div>101 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··};</div>
101 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</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> 
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> 
104 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··{</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> 
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>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>
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> 
110 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</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> 
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> 
115 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····}</div> 
116 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> 
117 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="a01988.html#a3055f415e453de1f4ac8065dcb28e04c">··120</a></span>····<span·class="keyword">operator</span>·<a·class="code·hl_struct"·href="a01984.html">No_Comm</a>()<span·class="keyword">·const</span></div> 
118 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span><span·class="keyword">····</span>{</div> 
119 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>······<span·class="keywordflow">return</span>·{};</div> 
120 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>····}</div> 
121 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div> 
122 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno"><a·class="line"·href="a01988.html#a52ca21c831f476ec12f4735d3e79a00a">··126</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01988.html#a52ca21c831f476ec12f4735d3e79a00a">size</a>·()<span·class="keyword">·const</span></div> 
123 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span><span·class="keyword">····</span>{</div> 
124 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>······<span·class="keywordflow">return</span>·1;</div> 
125 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>····}</div> 
126 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·</div> 
127 <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>·T&gt;</div> 
128 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno"><a·class="line"·href="a01988.html#a143c0006dd1b9810968fef841cf47ef8">··135</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01988.html#a143c0006dd1b9810968fef841cf47ef8">send</a>([[maybe_unused]]·<span·class="keyword">const</span>·T&amp;·data,</div> 
129 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·············[[maybe_unused]]·<span·class="keywordtype">int</span>·dest_rank,</div> 
130 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>·············[[maybe_unused]]·<span·class="keywordtype">int</span>·tag)</div> 
131 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>····{</div> 
132 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>······<a·class="code·hl_define"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a>(<a·class="code·hl_class"·href="a01584.html">ParallelError</a>,·<span·class="stringliteral">&quot;This·method·is·not·supported·in·sequential·programs&quot;</span>);</div> 
133 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>····}</div> 
134 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div> 
135 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
136 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno"><a·class="line"·href="a01988.html#a2840435a50a7b13a34dc8a7743c2a37a">··146</a></span>····<a·class="code·hl_class"·href="a02072.html">PseudoFuture&lt;T&gt;</a>·<a·class="code·hl_function"·href="a01988.html#a2840435a50a7b13a34dc8a7743c2a37a">isend</a>([[maybe_unused]]·<span·class="keyword">const</span>·T&amp;&amp;·data,</div> 
137 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>··························[[maybe_unused]]·<span·class="keywordtype">int</span>·dest_rank,</div> 
138 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>··························[[maybe_unused]]·<span·class="keywordtype">int</span>·tag)</div> 
139 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>····{</div> 
140 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>······<a·class="code·hl_define"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a>(<a·class="code·hl_class"·href="a01584.html">ParallelError</a>,·<span·class="stringliteral">&quot;This·method·is·not·supported·in·sequential·programs&quot;</span>);</div> 
141 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>····}</div> 
142 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>·</div> 
143 <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&gt;</div> 
144 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno"><a·class="line"·href="a01988.html#a271d9ce3fa319a1a08e4a2764dd3cc53">··157</a></span>····T·<a·class="code·hl_function"·href="a01988.html#a271d9ce3fa319a1a08e4a2764dd3cc53">recv</a>([[maybe_unused]]·T&amp;&amp;·data,</div> 
145 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>···········[[maybe_unused]]·<span·class="keywordtype">int</span>·source_rank,</div> 
146 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>···········[[maybe_unused]]·<span·class="keywordtype">int</span>·tag,</div> 
147 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>···········[[maybe_unused]]·<span·class="keywordtype">void</span>*·status·=·0)</div> 
148 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>····{</div> 
149 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>······<a·class="code·hl_define"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a>(<a·class="code·hl_class"·href="a01584.html">ParallelError</a>,·<span·class="stringliteral">&quot;This·method·is·not·supported·in·sequential·programs&quot;</span>);</div> 
150 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>····}</div> 
151 <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</span>·</div> 
152 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
Max diff block lines reached; 52184/85846 bytes (60.79%) of diff not shown.
18.3 KB
html2text {}
    
Offset 4, 484 lines modifiedOffset 4, 153 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 exceptions.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
15 ·5#ifndef·DUNE_COMMON_PARALLEL_COMMUNICATION_HH 
16 ·6#define·DUNE_COMMON_PARALLEL_COMMUNICATION_HH14 ·5
 15 ·6#ifndef·DUNE_EXCEPTIONS_HH
 16 ·7#define·DUNE_EXCEPTIONS_HH
 17 ·8
 18 ·9#include·<exception>
 19 ·10#include·<string>
17 ·14#include·<iostream>20 ·11#include·<sstream>
18 ·15#include·<complex> 
19 ·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 
26 ·42namespace·Dune 
27 ·43{ 
28 ·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&) 
33 ·53·{ 
34 ·54·return·true; 
35 ·55·} 
36 ·56 
37 61·inline·bool·operator!=(const·No_Comm&,·const·No_Comm&) 
38 ·62·{ 
39 ·63·return·false; 
40 ·64·} 
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 ·11221 ·12
 22 ·13namespace·Dune·{
52 114·int·rank·()·const 
53 ·115·{ 
54 ·116·return·0; 
55 ·117·} 
56 ·118 
57 120·operator·No_Comm()·const 
58 ·121·{ 
59 ·122·return·{}; 
60 ·123·} 
61 ·12423 ·14
62 126·int·size·()·const24 ·73·/*·forward·declarations·*/
 25 ·74·class·Exception;
 26 ·75·struct·ExceptionHook;
 27 ·76
 28 94·class·Exception
 29 ·95·:·public·std::exception
 30 ·96·{
 31 ·97·public:
 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
63 ·127·{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)
64 ·128·return·1; 
65 ·129·} 
66 ·130 
67 ·134·template<class·T> 
68 135·int·send([[maybe_unused]]·const·T&·data, 
69 ·136·[[maybe_unused]]·int·dest_rank, 
70 ·137·[[maybe_unused]]·int·tag) 
71 ·138·{49 ·180·{
 50 ·181·return·stream·<<·e.what();
72 ·139·DUNE_THROW(ParallelError,·"This·method·is·not·supported·in·sequential 
73 programs"); 
74 ·140·} 
75 ·141 
76 ·145·template<class·T> 
77 146·PseudoFuture<T>·isend([[maybe_unused]]·const·T&&·data, 
78 ·147·[[maybe_unused]]·int·dest_rank, 
79 ·148·[[maybe_unused]]·int·tag) 
80 ·149·{ 
81 ·150·DUNE_THROW(ParallelError,·"This·method·is·not·supported·in·sequential 
82 programs"); 
83 ·151·} 
84 ·152 
85 ·156·template<class·T> 
86 157·T·recv([[maybe_unused]]·T&&·data, 
87 ·158·[[maybe_unused]]·int·source_rank, 
88 ·159·[[maybe_unused]]·int·tag, 
89 ·160·[[maybe_unused]]·void*·status·=·0) 
90 ·161·{ 
91 ·162·DUNE_THROW(ParallelError,·"This·method·is·not·supported·in·sequential 
92 programs"); 
93 ·163·} 
94 ·164 
95 ·168·template<class·T> 
Max diff block lines reached; 13724/18715 bytes (73.33%) of diff not shown.
10.4 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:·mpihelper.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 58, 72 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">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 ··<div·class="headertitle"><div·class="title">precision.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>Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.··
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;stdlib.h&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="a00341_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00050_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00089_source.html">dune/common/visibility.hh</a>&gt;</code><br·/> 
83 </div>77 </div>
84 <p><a·href="a00344_source.html">Go·to·the·source·code·of·this·file.</a></p>78 <p><a·href="a00344_source.html">Go·to·the·source·code·of·this·file.</a></p>
85 <table·class="memberdecls">79 <table·class="memberdecls">
86 <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>
87 Classes</h2></td></tr>81 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>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>
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>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>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 </table><table·class="memberdecls">85 </table><table·class="memberdecls">
95 <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>
96 Namespaces</h2></td></tr>87 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>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="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>
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>91 </table>
101 <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"><p·>Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.·</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="a00314.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="aa00314_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00314.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·-->94 </div></div><!--·contents·-->
122 <!--·start·footer·part·-->95 <!--·start·footer·part·-->
123 <hr·class="footer"/><address·class="footer"><small>96 <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.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
125 </small></address>98 </small></address>
126 </body>99 </body>
127 </html>100 </html>
2.32 KB
html2text {}
    
Offset 4, 64 lines modifiedOffset 4, 26 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
 8 precision.hh·File·Reference
 9 Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.
 10 More...
9 mpihelper.hh·File·Reference 
10 Common·»·Parallel_Communication 
11 Helpers·for·dealing·with·MPI.·More... 
12 #include·<cassert> 
13 #include·<mpi.h>11 #include·<stdlib.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 ·Classes13 ·Classes
 14 class· Dune::FMatrixPrecision<_ctype_>
 15  ······Precisions·for·calculations·with·FieldMatrix·and·FieldVector.·More...
21 class· Dune::FakeMPIHelper 
22  ······A·fake·mpi·helper.·More... 
23   
24 class· Dune::MPIHelper 
25  ······A·real·mpi·helper.·More... 
26  16  
27 ·Namespaces17 ·Namespaces
28 namespace· Dune18 namespace· Dune
29  ··········Dune·namespace.19  ··········Dune·namespace.
30  20  
31 *****·Detailed·Description·*****21 *****·Detailed·Description·*****
 22 Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.
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 ===============================================================================23 ===============================================================================
62 ·····Generated·by [doxygen]·1.9.424 ·····Generated·by [doxygen]·1.9.4
58.4 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:·mpihelper.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 58, 237 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="headertitle"><div·class="title">mpihelper.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="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_MPIHELPER</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_MPIHELPER</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="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> 
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>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>
 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>
 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>
 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="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>
 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>
 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>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#endif</span></div>105 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</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">#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="a00341.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="a00362.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="a00050.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="a00089.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> 
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> 
95 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</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> 
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> 
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="a00089.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> 
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="a00089.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="a00089.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> 
Max diff block lines reached; 10191/49695 bytes (20.51%) of diff not shown.
9.79 KB
html2text {}
    
Offset 4, 316 lines modifiedOffset 4, 62 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 precision.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
15 ·5#ifndef·DUNE_MPIHELPER 
16 ·6#define·DUNE_MPIHELPER14 ·5#ifndef·DUNE_PRECISION_HH
 15 ·6#define·DUNE_PRECISION_HH
17 ·716 ·7
18 ·8#if·HAVE_MPI 
19 ·9#include·<cassert> 
20 ·10#include·<mpi.h>17 ·12#include·<stdlib.h>
21 ·11#endif 
22 ·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 
32 ·22namespace·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·{ 
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 ·21318 ·13
 19 ·14namespace·Dune·{
 20 ·15
 21 ·24·template·<class·ctype·=·double>
 22 25·class·FMatrixPrecision·{
 23 ·26·public:
 24 28·static·ctype·absolute_limit·()
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·} 
Max diff block lines reached; 3807/10000 bytes (38.07%) of diff not shown.
8.23 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:·mpifuture.hh·File·Reference</title>8 <title>dune-common:·scalarmatrixview.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, 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_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>··</div>
71 ··<div·class="headertitle"><div·class="title">mpifuture.hh·File·Reference</div></div>70 ··<div·class="headertitle"><div·class="title">scalarmatrixview.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-->71 </div><!--header-->
73 <div·class="contents">72 <div·class="contents">
  
 73 <p>Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.··
 74 <a·href="#details">More...</a></p>
74 <div·class="textblock"><code>#include·&lt;optional&gt;</code><br·/>75 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
 76 <code>#include·&lt;type_traits&gt;</code><br·/>
 77 <code>#include·&lt;ostream&gt;</code><br·/>
75 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/>78 <code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>
76 <code>#include·&lt;<a·class="el"·href="a00350_source.html">dune/common/parallel/future.hh</a>&gt;</code><br·/>79 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/matvectraits.hh</a>&gt;</code><br·/>
77 <code>#include·&lt;<a·class="el"·href="a00353_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code><br·/>81 <code>#include·&lt;<a·class="el"·href="a00350_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/>
 82 <code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/>
 83 <code>#include·&lt;<a·class="el"·href="a00155_source.html">dune/common/scalarvectorview.hh</a>&gt;</code><br·/>
78 </div>84 </div>
79 <p><a·href="a00347_source.html">Go·to·the·source·code·of·this·file.</a></p>85 <p><a·href="a00347_source.html">Go·to·the·source·code·of·this·file.</a></p>
80 <table·class="memberdecls">86 <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="a02180.html">Dune::impl::Buffer&lt;·T·&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="a02184.html">Dune::impl::Buffer&lt;·T·&amp;·&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="a02188.html">Dune::impl::Buffer&lt;·void·&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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02192.html">Dune::MPIFuture&lt;·R,·S·&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> 
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>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
94 Namespaces</h2></td></tr>88 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>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="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>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <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> 
100 </table>92 </table>
 93 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 94 <div·class="textblock"><p·>Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.·</p>
101 </div><!--·contents·-->95 </div></div><!--·contents·-->
102 <!--·start·footer·part·-->96 <!--·start·footer·part·-->
103 <hr·class="footer"/><address·class="footer"><small>97 <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.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
105 </small></address>99 </small></address>
106 </body>100 </body>
107 </html>101 </html>
1.53 KB
html2text {}
    
Offset 4, 37 lines modifiedOffset 4, 30 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 mpifuture.hh·File·Reference7 Namespaces
 8 scalarmatrixview.hh·File·Reference
 9 Common·»·Dense_Matrix_and_Vector_Template_Library
 10 Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.·More...
 11 #include·<cstddef>
 12 #include·<type_traits>
10 #include·<optional>13 #include·<ostream>
 14 #include·<dune/common/boundschecking.hh>
11 #include·<dune/common/parallel/communication.hh> 
12 #include·<dune/common/parallel/future.hh> 
13 #include·<dune/common/parallel/mpidata.hh>15 #include·<dune/common/typetraits.hh>
 16 #include·<dune/common/matvectraits.hh>
 17 #include·<dune/common/densematrix.hh>
 18 #include·<dune/common/fmatrix.hh>
 19 #include·<dune/common/scalarvectorview.hh>
14 Go_to_the_source_code_of_this_file.20 Go_to_the_source_code_of_this_file.
15 ·Classes 
16 struct· Dune::impl::Buffer<_T_> 
17   
18 struct· Dune::impl::Buffer<_T_&_> 
19   
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   
28 ·Namespaces21 ·Namespaces
29 namespace· Dune22 namespace· Dune
30  ··········Dune·namespace.23  ··········Dune·namespace.
31  24  
32 namespace· Dune::impl 
33  25 *****·Detailed·Description·*****
 26 Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.
  
34 ===============================================================================27 ===============================================================================
35 ·····Generated·by [doxygen]·1.9.428 ·····Generated·by [doxygen]·1.9.4
85.1 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:·mpifuture.hh·Source·File</title>8 <title>dune-common:·scalarmatrixview.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, 203 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">mpifuture.hh</div></div>68 ··<div·class="headertitle"><div·class="title">scalarmatrixview.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_PARALLEL_MPIFUTURE_HH</span></div>75 <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="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·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_SCALARMATRIXVIEW_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;optional&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>·</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="a00341.html">dune/common/parallel/communication.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;ostream&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;<a·class="code"·href="a00353.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>·</div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</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>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00173.html">dune/common/boundschecking.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="a00014.html">dune/common/typetraits.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="a00389.html">dune/common/matvectraits.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="a00350.html">dune/common/densematrix.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="a00311.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;<a·class="code"·href="a00155.html">dune/common/scalarvectorview.hh</a>&gt;</span></div>
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</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>
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&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">···20</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"><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:·14,·SHA:·54a9026c75fd2e40fc4f4eb66d6dd55ee718a49fd00ba149237a65089a7913e9·...·]</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="keywordflow">if</span>(valid)</div>92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span>Impl·{</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>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">class</span>·V&gt;</div>94 <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="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_name[·...·truncated·by·diffoscope;·len:·56,·SHA:·238588ff38185d4e7aa610797a2eb355e3019b61033a94b37e2005730a179c69·...·]</div>95 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">class·</span>ScalarMatrixView·:</div>
 96 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">public</span>·DenseMatrix&lt;ScalarMatrixView&lt;K&gt;&gt;</div>
97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>······{}</div>97 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</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>98 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····ScalarVectorView&lt;K&gt;·data_;</div>
 99 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">using·</span>Base·=·DenseMatrix&lt;ScalarMatrixView&lt;K&gt;&gt;;</div>
111 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>100 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</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>101 <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>&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<[·...·truncated·by·diffoscope;·len:·50,·SHA:·2a6152fb7a39bd6582b585ca9473d0d8338b01fd61c826dcfab922cfd7189237·...·]</div>102 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span>ScalarMatrixView;</div>
 103 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">public</span>:</div>
115 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······{</div>104 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</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>105 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="comment">//=====·type·definitions·and·constants</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"><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>106 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 107 <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>·<a·class="code·hl_variable"·href="a01400.html#abb04f185b1d618c7ecbc71f80c913fee">blocklevel</a>·=·1;</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>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01400.html#ad86e41607482a02d21aa2ee8b7cdca0e">size_type</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01400.html#ad86e41607482a02d21aa2ee8b7cdca0e">Base::size_type</a>;</div>
 110 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01400.html#acff1e010547092ecf356c2e33fec19a8">row_type</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01400.html#acff1e010547092ecf356c2e33fec19a8">Base::row_type</a>;</div>
 111 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01400.html#ad9f0177d23a0b01f5eac7be53bdca64b">row_reference</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01400.html#ad9f0177d23a0b01f5eac7be53bdca64b">Base::row_reference</a>;</div>
 112 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01400.html#ad8914bf4144967e1091e4e0215efe305">const_row_reference</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01400.html#ad8914bf4144967e1091e4e0215efe305">Base::const_row_reference</a>;</div>
136 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>113 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01400.html#a87d6a39a8a05460bf6c23bb79203de06">rows</a>·=·1;</div>
 115 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01400.html#a4e24141a1dee8d2e438149c51c02bc6a">cols</a>·=·1;</div>
 116 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</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>117 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="comment">//=====·constructors</span></div>
 118 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="comment"></span>····<span·class="keyword">constexpr</span>·ScalarMatrixView·()</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>119 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······:·data_()</div>
142 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······{}</div>120 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</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> 
145 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······}</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</a>(){}</div> 
147 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····};</div>121 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
 122 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····ScalarMatrixView·(K*·p)·:</div>
Max diff block lines reached; 48581/73021 bytes (66.53%) of diff not shown.
13.6 KB
html2text {}
    
Offset 4, 302 lines modifiedOffset 4, 237 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 scalarmatrixview.hh
7 ····*·parallel 
8 mpifuture.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_MPIFUTURE_HH 
16 ·6#define·DUNE_COMMON_PARALLEL_MPIFUTURE_HH14 ·5#ifndef·DUNE_COMMON_SCALARMATRIXVIEW_HH
 15 ·6#define·DUNE_COMMON_SCALARMATRIXVIEW_HH
17 ·716 ·7
18 ·8#include·<optional>17 ·8#include·<cstddef>
 18 ·9#include·<type_traits>
 19 ·10#include·<ostream>
 20 ·11
 21 ·12#include·<dune/common/boundschecking.hh>
 22 ·13#include·<dune/common/typetraits.hh>
 23 ·14#include·<dune/common/matvectraits.hh>
 24 ·15#include·<dune/common/densematrix.hh>
 25 ·16#include·<dune/common/fmatrix.hh>
 26 ·17#include·<dune/common/scalarvectorview.hh>
 27 ·18
19 ·928 ·19
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{29 ·20namespace·Dune·{
26 ·1630 ·21
27 17·namespace·impl{31 ·22namespace·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>(); 
33 ·23·}32 ·23
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>33 ·39·template<class·K>
 34 ·40·class·ScalarMatrixView·:
 35 ·41·public·DenseMatrix<ScalarMatrixView<K>>
 36 ·42·{
 37 ·43·ScalarVectorView<K>·data_;
 38 ·44·using·Base·=·DenseMatrix<ScalarMatrixView<K>>;
 39 ·45
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<>40 ·46·template·<class>
78 68·struct·Buffer<void>{ 
79 69·bool·valid_; 
80 70·Buffer(bool·valid·=·false) 
81 ·71·:·valid_(valid)41 ·47·friend·class·ScalarMatrixView;
 42 ·48·public:
 43 ·49
 44 ·50·//=====·type·definitions·and·constants
 45 ·51
 46 ·54·constexpr·static·int·blocklevel·=·1;
 47 ·55
 48 ·56·using·size_type·=·typename·Base::size_type;
 49 ·57·using·row_type·=·typename·Base::row_type;
 50 ·58·using·row_reference·=·typename·Base::row_reference;
 51 ·59·using·const_row_reference·=·typename·Base::const_row_reference;
 52 ·60
 53 ·63·constexpr·static·int·rows·=·1;
 54 ·66·constexpr·static·int·cols·=·1;
 55 ·67
 56 ·68·//=====·constructors
 57 ·71·constexpr·ScalarMatrixView·()
 58 ·72·:·data_()
82 ·72·{}59 ·73·{}
 60 ·74
 61 ·76·ScalarMatrixView·(K*·p)·:
 62 ·77·data_(p)
83 73·operator·bool·()·const{ 
84 ·74·return·valid_; 
85 ·75·} 
86 76·void·get(){} 
87 ·77·}; 
88 ·78·}63 ·78·{}
Max diff block lines reached; 10719/13942 bytes (76.88%) of diff not shown.
13.1 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:·future.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 58, 49 lines modifiedOffset 58, 78 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">future.hh·File·Reference</div></div>71 <a·href="#func-members">Functions</a>··</div>
 72 ··<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>
72 </div><!--header-->73 </div><!--header-->
73 <div·class="contents">74 <div·class="contents">
  
 75 <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>
74 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/>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;type_traits&gt;</code><br·/>
 81 <code>#include·&lt;utility&gt;</code><br·/>
 82 <code>#include·&lt;vector&gt;</code><br·/>
 83 <code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>
 84 <code>#include·&lt;<a·class="el"·href="a00323_source.html">dune/common/classname.hh</a>&gt;</code><br·/>
75 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>85 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 86 <code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00182_source.html">dune/common/math.hh</a>&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/precision.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a04448_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 91 <code>#include·&lt;<a·class="el"·href="a00155_source.html">dune/common/scalarvectorview.hh</a>&gt;</code><br·/>
76 </div>92 </div>
77 <p><a·href="a00350_source.html">Go·to·the·source·code·of·this·file.</a></p>93 <p><a·href="a00350_source.html">Go·to·the·source·code·of·this·file.</a></p>
78 <table·class="memberdecls">94 <table·class="memberdecls">
79 <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>
80 Classes</h2></td></tr>96 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>97 <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>
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>98 <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>99 <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>
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>100 <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>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <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>102 <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>
 103 <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>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">105 </table><table·class="memberdecls">
93 <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>
94 Namespaces</h2></td></tr>107 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>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>
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>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>
97 <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: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>
 112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 113 </table><table·class="memberdecls">
 114 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 115 Functions</h2></td></tr>
 116 <tr·class="memitem:a4b9cee31bcd8d5a2d4caaa6073c7f7cb"><td·class="memTemplParams"·colspan="2">template&lt;typename·MAT·,·typename·V1·,·typename·V2·&gt;·</td></tr>
 117 <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>
 118 <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>
 119 <tr·class="separator:a4b9cee31bcd8d5a2d4caaa6073c7f7cb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 120 <tr·class="memitem:gaaf67fddab3978a57f94f556513bc0d77"><td·class="memTemplParams"·colspan="2">template&lt;typename·MAT·&gt;·</td></tr>
 121 <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>
 122 <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>
 123 <tr·class="separator:gaaf67fddab3978a57f94f556513bc0d77"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table>124 </table>
 125 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 126 <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>
99 </div><!--·contents·-->127 </div></div><!--·contents·-->
100 <!--·start·footer·part·-->128 <!--·start·footer·part·-->
101 <hr·class="footer"/><address·class="footer"><small>129 <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.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
103 </small></address>131 </small></address>
104 </body>132 </body>
105 </html>133 </html>
2.49 KB
html2text {}
    
Offset 4, 35 lines modifiedOffset 4, 59 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·|·Functions
9 future.hh·File·Reference8 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...
 12 #include·<cmath>
 13 #include·<cstddef>
 14 #include·<iostream>
 15 #include·<type_traits>
 16 #include·<utility>
10 #include·<memory>17 #include·<vector>
 18 #include·<dune/common/boundschecking.hh>
 19 #include·<dune/common/classname.hh>
11 #include·<dune/common/exceptions.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>
 25 #include·<dune/common/typetraits.hh>
 26 #include·<dune/common/scalarvectorview.hh>
12 Go_to_the_source_code_of_this_file.27 Go_to_the_source_code_of_this_file.
13 ·Classes28 ·Classes
 29 struct· Dune::FieldTraits<_DenseMatrix<_M_>_>
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  30  
23 class· Dune::PseudoFuture<_T_> 
24  ······A·wrapper-class·for·a·object·which·is·ready·immediately.·More...31 ·class· Dune::FMatrixError
 32  ·······Error·thrown·if·operations·of·a·FieldMatrix·fail.·More...
25  33  
26 class· Dune::PseudoFuture<_void_>34 ·class· Dune::DenseMatrix<_MAT_>
 35  ·······A·dense·n·x·m·matrix.·More...
27  36  
28 ·Namespaces37 ·Namespaces
29 namespace· Dune38 namespace· Dune
30  ··········Dune·namespace.39  ··········Dune·namespace.
31  40  
 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  
 53 *****·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 ===============================================================================56 ===============================================================================
33 ·····Generated·by [doxygen]·1.9.457 ·····Generated·by [doxygen]·1.9.4
322 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:·future.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 58, 211 lines modifiedOffset 58, 1216 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">densematrix.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>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_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_DENSEMATRIX_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;cmath&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="a00143.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;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="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>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</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="a00173.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="a00323.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="a00341.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="a00302.html">dune/common/fvector.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>89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00182.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="a00344.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="a00014.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="a00155.html">dune/common/scalarvectorview.hh</a>&gt;</span></div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</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>
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>96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</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>97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</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>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>
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> 
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>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="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>
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>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"><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>
117 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</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> 
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>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>
122 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</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[·...·truncated·by·diffoscope;·len:·16,·SHA:·c767736c7f47afe5cac26a0cbd469ebf44c4a8f4211460c26da0802fd06525f8·...·]</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>
 112 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 113 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div>
124 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">······</span>{</div>114 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">namespace·</span>Impl</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>115 <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>116 <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>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>
129 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<span·class="keywordflow">return</span>·(T)_future.get();</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>
130 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······}</div>119 <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>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>
132 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>123 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</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>124 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</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>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>·R[·...·truncated·by·diffoscope;·len:·12,·SHA:·ea9f0d7e26b0557ba1d0a69625c1a0310808f99cc5381f2f9fb2876aa7c51dc9·...·])</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>
138 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····{}</div>130 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····};</div>
139 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>131 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
Max diff block lines reached; 246720/276092 bytes (89.36%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
51.8 KB
html2text {}
    
Offset 4, 262 lines modifiedOffset 4, 1552 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 densematrix.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_HH14 ·5#ifndef·DUNE_DENSEMATRIX_HH
 15 ·6#define·DUNE_DENSEMATRIX_HH
17 ·716 ·7
 17 ·8#include·<cmath>
 18 ·9#include·<cstddef>
 19 ·10#include·<iostream>
 20 ·11#include·<type_traits>
 21 ·12#include·<utility>
18 ·8#include·<memory>22 ·13#include·<vector>
 23 ·14
 24 ·15#include·<dune/common/boundschecking.hh>
 25 ·16#include·<dune/common/classname.hh>
19 ·9#include·<dune/common/exceptions.hh>26 ·17#include·<dune/common/exceptions.hh>
20 ·1027 ·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
21 ·11namespace·Dune{34 ·25namespace·Dune
 35 ·26{
 36 ·27
 37 ·28·template<typename·M>·class·DenseMatrix;
 38 ·29
 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;
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·};46 ·35·};
41 ·38 
42 ·39·//·model·class 
43 ·40·template<class·F> 
44 ·41·class·FutureModel 
45 ·42·:·public·FutureBase47 ·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
46 ·43·{56 ·63·{
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 
59 ·56·{ 
60 ·57·return·_future.ready(); 
61 ·58·} 
62 ·59 
63 ·60·virtual·bool·valid()·const·override 
64 ·61·{ 
65 ·62·return·_future.valid(); 
66 ·63·} 
67 ·6457 ·64
68 ·65·virtual·T·get()·override{ 
69 ·66·return·(T)_future.get();58 ·65·template<·class·DenseMatrix,·class·RHS,·class·=·void·>
 59 ·66·class·DenseMatrixAssigner
70 ·67·}60 ·67·{};
71 ·68·}; 
72 ·69 
73 ·70·std::unique_ptr<FutureBase>·_future;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·{
74 ·71·public: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·)·);
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>> 
Max diff block lines reached; 48380/53042 bytes (91.21%) of diff not shown.
18.3 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:·mpidata.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, 61 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>·&#124;70 <a·href="#namespaces">Namespaces</a>··</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="a00421.html">SIMD·Abstraction·Implementation·for·standard·types</a></div></div></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> 
73 </div><!--header-->72 </div><!--header-->
74 <div·class="contents">73 <div·class="contents">
  
75 <p>Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for·MPI·calls.··74 <p>SIMD·abstractions·for·the·standard·built-in·types.··
76 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;vector&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;string&gt;</code><br·/>78 <code>#include·&lt;utility&gt;</code><br·/>
 79 <code>#include·&lt;<a·class="el"·href="a00251_source.html">dune/common/indices.hh</a>&gt;</code><br·/>
79 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>80 <code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>81 <code>#include·&lt;<a·class="el"·href="a00359_source.html">dune/common/simd/defaults.hh</a>&gt;</code><br·/>
81 <code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/> 
82 </div>82 </div>
83 <p><a·href="a00353_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00353_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="nested-classes"·name="nested-classes"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
86 Classes</h2></td></tr>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>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>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <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="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>
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <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>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>
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 </table><table·class="memberdecls">96 </table><table·class="memberdecls">
94 <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>
95 Namespaces</h2></td></tr>98 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>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="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>
98 <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: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>
 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>
99 </table><table·class="memberdecls">108 </table><table·class="memberdecls">
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>109 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
101 Functions</h2></td></tr>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>
102 <tr·class="memitem:a60e5c2863bb763524cbc65eaea515adb"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>116 <tr·class="memitem:a3d3cefa72e95b1abb7a235b4511d9794"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&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>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>·(AD[·...·truncated·by·diffoscope;·len:·38,·SHA:·895ef0c488fe5c2796275a00538d2a959dd8116251b19f8b005d52eedb4a1665·...·])</td></tr>
104 <tr·class="separator:a60e5c2863bb763524cbc65eaea515adb"><td·class="memSeparator"·colspan="2">&#160;</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>
105 </table>131 </table>
106 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>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>
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·-->135 </div></div><!--·contents·-->
111 <!--·start·footer·part·-->136 <!--·start·footer·part·-->
112 <hr·class="footer"/><address·class="footer"><small>137 <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.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
114 </small></address>139 </small></address>
115 </body>140 </body>
116 </html>141 </html>
3.61 KB
html2text {}
    
Offset 4, 46 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·|·Namespaces·|·Functions8 Classes·|·Namespaces
9 mpidata.hh·File·Reference9 standard.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> 
14 #include·<string>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>
 15 #include·<utility>
15 #include·<dune/common/typetraits.hh>16 #include·<dune/common/indices.hh>
 17 #include·<dune/common/simd/base.hh>
16 #include·<dune/common/std/type_traits.hh>18 #include·<dune/common/simd/defaults.hh>
17 #include·<dune/common/parallel/mpitraits.hh> 
18 Go_to_the_source_code_of_this_file.19 Go_to_the_source_code_of_this_file.
19 ·Classes20 ·Classes
20 struct· Dune::MPIData<_T,_Enable_>21 struct· Dune::Simd::Overloads::ScalarType<_V,_class_>
 22  ·······should·have·a·member·type·type·More...
21  23  
22 struct· Dune::MPIData<_void_>24 struct· Dune::Simd::Overloads::RebindType<_S,_class,_class_>
 25  ·······should·have·a·member·type·type·More...
23  26  
 27 struct· Dune::Simd::Overloads::LaneCount<_class,_class_>
 28  ·······should·be·derived·from·a·Dune::index_constant·More...
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  29  
28 ·Namespaces30 ·Namespaces
29 namespace· Dune31 namespace· Dune
30  ··········Dune·namespace.32  ··········Dune·namespace.
31  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  
32 ·Functions42 ·Functions
 43 Specialized·classes·and·overloaded·functions
33 template<class·T·>44 template<class·V·>
34 auto Dune::getMPIData·(T·&t)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...
35  62  
36 *****·Detailed·Description·*****63 *****·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.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.
  
43 ===============================================================================72 ===============================================================================
44 ·····Generated·by [doxygen]·1.9.473 ·····Generated·by [doxygen]·1.9.4
54.9 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:·mpidata.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, 164 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">mpidata.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="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>
 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_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> 
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>76 <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="l00011"·name="l00011"></a><span·class="lineno">···11</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>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#if·HAVE_MPI</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">#include·&lt;<a·class="code"·href="a00386.html">dune/common/typetraits.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="a00251.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="a00113.html">dune/common/std/type_traits.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="a00365.html">dune/common/simd/base.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="a00311.html">dune/common/parallel/mpitraits.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="a00359.html">dune/common/simd/defaults.hh</a>&gt;</span></div>
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>83 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</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>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>
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>85 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">namespace·</span>Simd·{</div>
92 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>86 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</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>87 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keyword">namespace·</span>Overloads·{</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>88 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</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>89 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</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>
 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>
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>92 <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>93 <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="co[·...·truncated·by·diffoscope;·len:·120,·SHA:·7a12def8dca7e58f8eb9d0a434d5c715691f418795e31c389456c897d5eccc39·...·];</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>
117 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>96 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</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>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>
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>100 <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>101 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</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>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>
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>104 <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>105 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>········<span·class="keywordflow">return</span>·v;</div>
143 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····}</div>106 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······}</div>
144 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··};</div>107 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</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>
145 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>110 <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> 
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>111 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········<span·class="keywordflow">return</span>·v;</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>112 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······}</div>
 113 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</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>
Max diff block lines reached; 9453/47045 bytes (20.09%) of diff not shown.
8.86 KB
html2text {}
    
Offset 4, 219 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 mpidata.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
 13 ·3#ifndef·DUNE_COMMON_SIMD_STANDARD_HH
 14 ·4#define·DUNE_COMMON_SIMD_STANDARD_HH
15 ·515 ·5
 16 ·20#include·<cstddef>
 17 ·21#include·<type_traits>
 18 ·22#include·<utility>
 19 ·23
16 ·6#ifndef·DUNE_COMMON_PARALLEL_MPIDATA_HH 
17 ·7#define·DUNE_COMMON_PARALLEL_MPIDATA_HH 
18 ·8 
19 ·9#include·<vector> 
20 ·10#include·<string> 
21 ·11 
22 ·12#if·HAVE_MPI 
23 ·13 
24 ·14#include·<dune/common/typetraits.hh>20 ·24#include·<dune/common/indices.hh>
 21 ·25#include·<dune/common/simd/base.hh>
25 ·15#include·<dune/common/std/type_traits.hh>22 ·26#include·<dune/common/simd/defaults.hh>
 23 ·27
26 ·16#include·<dune/common/parallel/mpitraits.hh> 
27 ·17 
28 ·37namespace·Dune{24 ·45namespace·Dune·{
29 ·3825 ·46·namespace·Simd·{
 26 ·47
 27 ·48·namespace·Overloads·{
 28 ·49
 29 ·56
30 ·39·template<class,·class·=·void>30 ·59·template<class·V,·class>
 31 60·struct·ScalarType·{·using·type·=·V;·};
 32 ·61
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 ·6333 ·63
 34 ·66·template<class·S,·class,·class>
 35 67·struct·RebindType·{·using·type·=·S;·};
 36 ·68
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 ·7037 ·70
 38 ·73·template<class,·class>
 39 74·struct·LaneCount·:·public·index_constant<1>·{·};
62 71·MPI_Datatype·type()·const·{ 
63 ·72·return·MPITraits<std::decay_t<T>>::getType(); 
64 ·73·} 
65 ·74·}; 
66 ·7540 ·75
 41 ·77
 42 ·86·template<class·V>
 43 87·V·lane(ADLTag<2>,·std::size_t,·V·v)
 44 ·88·{
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;45 ·89·return·v;
79 ·88·} 
80 89·void·get(){} 
81 90·MPI_Datatype·type()·const{ 
82 ·91·return·MPI_INT; 
83 ·92·}46 ·90·}
 47 ·91
84 ·93·}; 
85 ·94 
86 ·95·//·specializations: 
87 ·96·//·std::vector·of·static·sized·elements·or·std::string 
88 ·97·template<class·T>48 ·92·template<class·V>
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));49 93·V·&lane(ADLTag<3>,·std::size_t,·V·&v)
 50 ·94·{
 51 ·95·return·v;
 52 ·96·}
 53 ·97
 54 ·98·//·No·Simd::cond()·implementation,·the·overload·for·bool·masks·in·the
 55 ·99·//·interface·is·sufficient
95 ·10456 ·100
Max diff block lines reached; 3425/9044 bytes (37.87%) of diff not shown.
90.0 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:·localindex.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, 55 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">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="#enum-members">Enumerations</a>··</div>72 <a·href="#func-members">Functions</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·class="headertitle"><div·class="title">loop.hh·File·Reference</div></div>
73 </div><!--header-->74 </div><!--header-->
74 <div·class="contents">75 <div·class="contents">
  
75 <p>Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.·· 
76 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>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="a00182_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="a00014_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
78 </div>84 </div>
79 <p><a·href="a00356_source.html">Go·to·the·source·code·of·this·file.</a></p>85 <p><a·href="a00356_source.html">Go·to·the·source·code·of·this·file.</a></p>
80 <table·class="memberdecls">86 <table·class="memberdecls">
81 <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>
82 Classes</h2></td></tr>88 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>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>
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>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>
85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
86 </table><table·class="memberdecls">99 </table><table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
88 Namespaces</h2></td></tr>101 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>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>
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>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>
91 <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: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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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>
92 </table><table·class="memberdecls">143 </table><table·class="memberdecls">
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="enum-members"·name="enum-members"></a>144 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
94 Enumerations</h2></td></tr>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>
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>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>
Max diff block lines reached; 31480/74914 bytes (42.02%) of diff not shown.
16.7 KB
html2text {}
    
Offset 4, 33 lines modifiedOffset 4, 490 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·|·Enumerations8 Classes·|·Namespaces·|·Macros·|·Functions
9 localindex.hh·File·Reference9 loop.hh·File·Reference
10 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets 
11 Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.·More...10 #include·<array>
 11 #include·<cmath>
12 #include·<cstddef>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>
13 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
14 ·Classes19 ·Classes
15 class· Dune::LocalIndex 
16  ······An·index·present·on·the·local·process.·More...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_>_>
17  29  
18 ·Namespaces30 ·Namespaces
19 namespace· Dune31 namespace· Dune
20  ··········Dune·namespace.32  ··········Dune·namespace.
21  33  
22 ·Enumerations 
23 enum· Dune::LocalIndexState·{·Dune::VALID·,·Dune::DELETED·} 
24  ·····The·states·available·for·the·local·indices.·More...34 namespace· Dune::Simd
 35  ··········Namespace·for·vectorization·interface·functions·used·by·library
 36 ············developers.
25  37  
26 *****·Detailed·Description·***** 
27 Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet. 
28 ··Author 
29 ······Markus·Blatt38 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,
Max diff block lines reached; 116/17087 bytes (0.68%) of diff not shown.
186 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:·localindex.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, 101 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">localindex.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="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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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> 
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_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>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>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_LOCALINDEX_HH</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>·</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>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>
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><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00182.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="a00014.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="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>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="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>87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</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#ga4f24bf[·...·truncated·by·diffoscope;·len:·307,·SHA:·945a547e293846d31a23ea4e6733d2a1a2d189e2a7c6099bab57f343a92dc76a·...·]</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>
86 <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">/*</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="a00356.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>
87 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>120 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</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>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>
90 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">public</span>:</div>125 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keyword">public</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> 
94 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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>126 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</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>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>
100 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>130 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</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> 
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>131 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</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:·169,·SHA:·d568b6818583d676d9de55bf28a314de846334ccfc5659eb0140f06764616c0d·...·]</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>
106 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>140 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····{</div>
107 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">private</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#a10f66b4d8465c[·...·truncated·by·diffoscope;·len:·204,·SHA:·64311fcf4d6aa8456b76347d4ac9030023cda8c50742b173795bd7942d14ad47·...·]</div>
108 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····std::size_t·localIndex_;</div>142 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····}</div>
109 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>143 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
110 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordtype">char</span>·state_;</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>
111 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>147 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</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> 
Max diff block lines reached; 14874/160361 bytes (9.28%) of diff not shown.
29.0 KB
html2text {}
    
Offset 4, 123 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 localindex.hh7 ····*·simd
 8 loop.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_LOOP_HH
 14 ·4#define·DUNE_COMMON_SIMD_LOOP_HH
15 ·515 ·5
 16 ·6#include·<array>
 17 ·7#include·<cmath>
16 ·6#ifndef·DUNE_COMMON_LOCALINDEX_HH 
17 ·7#define·DUNE_COMMON_LOCALINDEX_HH 
18 ·8 
19 ·9#include·<cstddef>18 ·8#include·<cstddef>
20 ·1019 ·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
21 ·11namespace·Dune26 ·16namespace·Dune·{
22 ·12{ 
23 ·13 
24 ·14 
25 28·enum·LocalIndexState·{VALID,·DELETED};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
26 ·2939 ·29
27 ·3040 ·30/*
28 34·class·LocalIndex 
29 ·35·{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
30 ·36·public:65 ·66·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 ·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_;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·}
49 ·8485 ·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_;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()·{·\
Max diff block lines reached; 5188/29646 bytes (17.50%) of diff not shown.
29.9 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:·variablesizecommunicator.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, 79 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>··</div>69 <a·href="#namespaces">Namespaces</a>··</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</a></div></div></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>
72 </div><!--header-->71 </div><!--header-->
73 <div·class="contents">72 <div·class="contents">
  
74 <p>A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the·sender·side.··73 <p>Default·implementations·for·SIMD·Implementations.··
75 <a·href="#details">More...</a></p>74 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>75 <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·/>76 <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·/>77 <code>#include·&lt;type_traits&gt;</code><br·/>
84 <code>#include·&lt;mpi.h&gt;</code><br·/>78 <code>#include·&lt;<a·class="el"·href="a00146_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/>
85 <code>#include·&lt;<a·class="el"·href="a00392_source.html">dune/common/concept.hh</a>&gt;</code><br·/>79 <code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>
86 <code>#include·&lt;<a·class="el"·href="a04445_source.html">dune/common/parallel/interface.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="a00242_source.html">dune/common/typelist.hh</a>&gt;</code><br·/>
87 <code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/>82 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
88 </div>83 </div>
89 <p><a·href="a00359_source.html">Go·to·the·source·code·of·this·file.</a></p>84 <p><a·href="a00359_source.html">Go·to·the·source·code·of·this·file.</a></p>
90 <table·class="memberdecls">85 <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"> 
99 <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>
100 Namespaces</h2></td></tr>87 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>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>
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>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>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <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>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>
105 <tr·class="memdesc:a00427"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·concepts.·<br·/></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>
106 <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: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">
 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><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>
 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>
Max diff block lines reached; 1652/24705 bytes (6.69%) of diff not shown.
5.62 KB
html2text {}
    
Offset 4, 52 lines modifiedOffset 4, 128 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 ····*·simd
 8 Namespaces
 9 defaults.hh·File·Reference
 10 Common·»·Vectorization·»·Abstraction_Developer's_Interface
 11 Default·implementations·for·SIMD·Implementations.·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>12 #include·<algorithm>
14 #include·<cassert> 
15 #include·<cstddef>13 #include·<cstddef>
 14 #include·<type_traits>
16 #include·<functional> 
17 #include·<map> 
18 #include·<memory> 
19 #include·<utility> 
20 #include·<vector> 
21 #include·<mpi.h> 
22 #include·<dune/common/concept.hh>15 #include·<dune/common/rangeutilities.hh>
 16 #include·<dune/common/simd/base.hh>
23 #include·<dune/common/parallel/interface.hh>17 #include·<dune/common/simd/interface.hh>
 18 #include·<dune/common/typelist.hh>
24 #include·<dune/common/parallel/mpitraits.hh>19 #include·<dune/common/typetraits.hh>
25 Go_to_the_source_code_of_this_file.20 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   
33 ·Namespaces21 ·Namespaces
34 namespace· Dune22 namespace· Dune
35  ··········Dune·namespace.23  ··········Dune·namespace.
36  24  
37 namespace· Dune::Concept25 namespace· Dune::Simd
38  ··········Namespace·for·concepts.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)
Max diff block lines reached; 734/5732 bytes (12.81%) of diff not shown.
209 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:·variablesizecommunicator.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, 893 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">variablesizecommunicator.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="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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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> 
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_DEFAULTS_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_DEFAULTS_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;algorithm&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>
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><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>
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="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> 
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;vector&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>
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>79 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</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="a00146.html">dune/common/rangeutilities.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="a00392.html">dune/common/concept.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="a00365.html">dune/common/simd/base.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="a04445.html">dune/common/parallel/interface.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>
94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00311.html">dune/common/parallel/mpitraits.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="a00242.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="a00014.html">dune/common/typetraits.hh</a>&gt;</span></div>
95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>85 <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>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>
97 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>{</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>
98 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>89 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
99 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>Concept·{</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>
100 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>92 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</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>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>
108 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>95 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</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>96 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<span·class="keywordflow">return</span>·u;</div>
113 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}</div>97 <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>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>
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>101 <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>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>
120 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="keyword">class·</span>MessageBuffer</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>
121 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>{</div>107 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</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>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>
124 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····:·buffer_(new·T[size]),·size_(size),·position_(0)</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">···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>
125 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··{}</div>113 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</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>
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>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>
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>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.h[·...·truncated·by·diffoscope;·len:·116,·SHA:·3655c372d3eeb2f93e4c580a2d758469b40f2249875f66cfb7ea69d87498422e·...·])</div>
128 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··{</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>
129 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··}</div>123 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</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>124 <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>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>
133 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··}</div>130 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</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>131 <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>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>
138 <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>
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>135 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
141 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····data=buffer_[position_++];</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>
Max diff block lines reached; 128880/174156 bytes (74.00%) of diff not shown.
38.5 KB
html2text {}
    
Offset 4, 1008 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 variablesizecommunicator.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 ·5
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>16 ·17#include·<algorithm>
22 ·11#include·<cassert> 
23 ·12#include·<cstddef>17 ·18#include·<cstddef>
 18 ·19#include·<type_traits>
 19 ·20
 20 ·21#include·<dune/common/rangeutilities.hh>
24 ·13#include·<functional> 
25 ·14#include·<map> 
26 ·15#include·<memory> 
27 ·16#include·<utility> 
28 ·17#include·<vector> 
29 ·18#include·<algorithm> 
30 ·19 
31 ·20#include·<mpi.h> 
32 ·21 
33 ·22#include·<dune/common/concept.hh>21 ·22#include·<dune/common/simd/base.hh>
34 ·23#include·<dune/common/parallel/interface.hh>22 ·23#include·<dune/common/simd/interface.hh>
 23 ·24#include·<dune/common/typelist.hh>
35 ·24#include·<dune/common/parallel/mpitraits.hh>24 ·25#include·<dune/common/typetraits.hh>
36 ·2525 ·26
37 ·38namespace·Dune26 ·27namespace·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;
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 ·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}37 ·55·}
55 ·5638 ·56
 39 ·58·template<class·V,·class·U>
 40 59·constexpr·V·implCast(ADLTag<0>,·MetaType<V>,·const·U·&u)
56 ·57}·//·namespace·Impl 
57 ·58 
58 ·59namespace 
59 ·60{41 ·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_)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)
69 ·82·{60 ·82·{
 61 ·83·using·std::max;
 62 ·84·return·max(v1,·v2);
70 ·83·}63 ·85·}
71 ·85·~MessageBuffer() 
72 ·86·{64 ·86
 65 ·88·template<class·V>
 66 89·auto·min(ADLTag<0>,·const·V·&v1,·const·V·&v2)
73 ·87·delete[]·buffer_; 
74 ·88·} 
75 ·93·void·write(const·T&·data) 
76 ·94·{67 ·90·{
77 ·95·buffer_[position_++]=data;68 ·91·using·std::min;
 69 ·92·return·min(v1,·v2);
78 ·96·}70 ·93·}
79 ·97 
80 ·102·void·read(T&·data)71 ·94
 72 ·96·template<class·Mask>
 73 97·bool·anyTrue(ADLTag<0>,·const·Mask·&mask)·=·delete;
 74 ·98
 75 ·100
Max diff block lines reached; 35025/39420 bytes (88.85%) of diff not shown.
12.7 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:·mpicommunication.hh·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, 114 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><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">test.cc·File·Reference</div></div>
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> 
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-->69 </div><!--header-->
75 <div·class="contents">70 <div·class="contents">
  
76 <p>Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.·· 
77 <a·href="#details">More...</a></p> 
78 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>71 <div·class="textblock"><code>#include·&lt;config.h&gt;</code><br·/>
79 <code>#include·&lt;functional&gt;</code><br·/> 
80 <code>#include·&lt;memory&gt;</code><br·/>72 <code>#include·&lt;ostream&gt;</code><br·/>
81 <code>#include·&lt;mpi.h&gt;</code><br·/>73 <code>#include·&lt;string&gt;</code><br·/>
82 <code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/binaryfunctions.hh</a>&gt;</code><br·/> 
83 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>74 <code>#include·&lt;<a·class="el"·href="a00371_source.html">dune/common/simd/test.hh</a>&gt;</code><br·/>
84 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/> 
85 <code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00347_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a00353_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code><br·/> 
88 </div> 
89 <p><a·href="a00362_source.html">Go·to·the·source·code·of·this·file.</a></p> 
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="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> 
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="a00362.html#abf4b9767826441f78c43351f92490b89">ComposeMPIOp</a>(func,··op)</td></tr> 
108 <tr·class="separator:abf4b9767826441f78c43351f92490b89"><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> 
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> 
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> 
  
126 <div·class="memitem"> 
127 <div·class="memproto"> 
128 ······<table·class="memname"> 
129 ········<tr> 
130 ··········<td·class="memname">#define·ComposeMPIOp</td> 
131 ··········<td>(</td> 
132 ··········<td·class="paramtype">&#160;</td> 
133 ··········<td·class="paramname">func,·</td> 
134 ········</tr> 
135 ········<tr> 
136 ··········<td·class="paramkey"></td> 
137 ··········<td></td> 
138 ··········<td·class="paramtype">&#160;</td> 
139 ··········<td·class="paramname">op&#160;</td> 
140 ········</tr> 
141 ········<tr> 
142 ··········<td></td> 
143 ··········<td>)</td> 
144 ··········<td></td><td></td> 
145 ········</tr> 
146 ······</table> 
147 </div><div·class="memdoc"> 
148 <b>Value:</b><div·class="fragment"><div·class="line">··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keyword">class</span>·S&gt;············································\</div> 
149 <div·class="line">··class·Generic_MPI_Op&lt;T,·func&lt;S&gt;,·std::enable_if_t&lt;MPITraits&lt;S&gt;::is_intrinsic&gt;·&gt;{·\</div> 
150 <div·class="line">··public:·······························································\</div> 
151 <div·class="line">··static·MPI_Op·<a·class="code·hl_function"·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">get</a>(){··················································\</div> 
152 <div·class="line">····return·op;··························································\</div> 
153 <div·class="line">··}·····································································\</div> 
154 <div·class="line">··private:······························································\</div> 
155 <div·class="line">··Generic_MPI_Op·()·{}··················································\</div> 
156 <div·class="line">··Generic_MPI_Op·(<span·class="keyword">const</span>·Generic_MPI_Op·&amp;·)·{}···························\</div> 
157 <div·class="line">··}</div> 
158 <div·class="ttc"·id="aa00425_html_a422c8e50ed4f40b534187b8fb83fbf3d"><div·class="ttname"><a·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">Dune::get</a></div><div·class="ttdeci">Reference·get(const·RAPropertyMapHelper&lt;·Reference,·PropertyMap·&gt;·&amp;pmap,·const·Key·&amp;key)</div><div·class="ttdef"><b>Definition:</b>·propertymap.hh:84</div></div> 
159 </div><!--·fragment·--> 
160 </div> 
161 </div> 
162 </div><!--·contents·-->75 </div></div><!--·contents·-->
163 <!--·start·footer·part·-->76 <!--·start·footer·part·-->
164 <hr·class="footer"/><address·class="footer"><small>77 <hr·class="footer"/><address·class="footer"><small>
Max diff block lines reached; 38/10766 bytes (0.35%) of diff not shown.
2.04 KB
html2text {}
    
Offset 4, 73 lines modifiedOffset 4, 16 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 ····*·simd
 8 test.cc·File·Reference
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>9 #include·<config.h>
17 #include·<dune/common/binaryfunctions.hh>10 #include·<ostream>
 11 #include·<string>
18 #include·<dune/common/exceptions.hh>12 #include·<dune/common/simd/test.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. 
24 ·Classes 
25 class· Dune::Generic_MPI_Op<_Type,_BinaryFunction,_Enable_> 
26   
27 class· Dune::Communication<_MPI_Comm_> 
28  ······Specialization·of·Communication·for·MPI.·More... 
29   
30 ·Namespaces 
31 namespace· Dune 
32  ··········Dune·namespace. 
33   
34 ·Macros 
35 #define ComposeMPIOp(func,·op) 
36   
37 ·Functions 
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) 
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 
  
70 ===============================================================================13 ===============================================================================
71 ·····Generated·by [doxygen]·1.9.414 ·····Generated·by [doxygen]·1.9.4
9.09 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:·mpiguard.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, 52 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>··</div>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 ··<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-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
74 <p>Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.··74 <p>Basic·definitions·for·SIMD·Implementations.··
75 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
  
76 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00344_source.html">mpihelper.hh</a>&quot;</code><br·/> 
77 <code>#include·&quot;<a·class="el"·href="a00341_source.html">communication.hh</a>&quot;</code><br·/> 
78 <code>#include·&quot;<a·class="el"·href="a00362_source.html">mpicommunication.hh</a>&quot;</code><br·/> 
79 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
80 </div> 
81 <p><a·href="a00365_source.html">Go·to·the·source·code·of·this·file.</a></p>76 <p><a·href="a00365_source.html">Go·to·the·source·code·of·this·file.</a></p>
82 <table·class="memberdecls">77 <table·class="memberdecls">
83 <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>
84 Classes</h2></td></tr>79 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>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>
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> 
87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <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>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>
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> 
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table><table·class="memberdecls">84 </table><table·class="memberdecls">
92 <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>
93 Namespaces</h2></td></tr>86 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>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="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>
96 <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>
 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>
97 </table>96 </table>
98 <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>
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>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·-->101 </div></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>
107 </html>107 </html>
1.75 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 ····*·parallel7 ····*·simd
8 Classes·|·Namespaces8 Classes·|·Namespaces
9 mpiguard.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 
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::Simd::Overloads::ADLTag<_i_>
18 class· Dune::MPIGuardError 
19  ······This·exception·is·thrown·if·the·MPIGuard·detects·an·error·on·a·remote 
20 ········process.·More... 
21  15  
 16 struct· Dune::Simd::Overloads::ADLTag<_0_>
22 class· Dune::MPIGuard 
23  ······detects·a·thrown·exception·and·communicates·to·all·other·processes 
24 ········More... 
25  17  
26 ·Namespaces18 ·Namespaces
27 namespace· Dune19 namespace· Dune
28  ··········Dune·namespace.20  ··········Dune·namespace.
29  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·*****30 *****·Detailed·Description·*****
31 Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process. 
32 ··Author 
33 ······Christian·Engwer31 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.
  
34 ===============================================================================36 ===============================================================================
35 ·····Generated·by [doxygen]·1.9.437 ·····Generated·by [doxygen]·1.9.4
45.4 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:·mpiguard.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, 196 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">mpiguard.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="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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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> 
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="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·DUNE_COMMON_MPIGUARD_HH</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> 
79 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00344.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="a00341.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="a00362.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="a00143.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>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>
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="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> 
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>77 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keyword">namespace·</span>Simd·{</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>78 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</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> 
130 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>79 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</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>80 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····<span·class="keyword">namespace·</span>Overloads·{</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> 
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> 
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> 
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> 
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> 
159 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a02196.html">···99</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02196.html">MPIGuardError</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01584.html">ParallelError</a>·{};</div> 
160 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> 
161 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno"><a·class="line"·href="a02200.html">··133</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02200.html">MPIGuard</a></div> 
162 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··{</div> 
163 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>····GuardCommunicator·*·comm_;</div> 
164 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>····<span·class="keywordtype">bool</span>·active_;</div> 
Max diff block lines reached; 12090/38696 bytes (31.24%) of diff not shown.
7.47 KB
html2text {}
    
Offset 4, 230 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 mpiguard.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 ·13#ifndef·DUNE_COMMON_MPIGUARD_HH 
17 ·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 
24 ·21namespace·Dune16 ·92namespace·Dune·{
 17 ·93·namespace·Simd·{
 18 ·94
 19 ·97
 20 ·112·namespace·Overloads·{
 21 ·113
 22 ·116
 23 ·118
 24 ·181·template<unsigned·i,·bool·=·true>
 25 182·struct·ADLTag;
 26 ·183
 27 ·184·template<unsigned·i>
 28 185·struct·ADLTag<i>·:·ADLTag<i-1>·{};
 29 ·186
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> 
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" 
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 
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·<>30 ·187·template<>
 31 188·struct·ADLTag<0>·{};
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> 
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·} 
97 ·92#endif 
98 ·93 
99 ·94#endif 
100 ·95 
101 99·class·MPIGuardError·:·public·ParallelError·{}; 
102 ·100 
103 133·class·MPIGuard 
104 ·134·{ 
105 ·135·GuardCommunicator·*·comm_; 
106 ·136·bool·active_; 
107 ·137 
108 ·138·//·we·don't·want·to·copy·this·class 
109 ·139·MPIGuard·(const·MPIGuard·&); 
Max diff block lines reached; 3209/7622 bytes (42.10%) of diff not shown.
12.4 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:·mpipack.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, 51 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">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>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>See·MPI_Pack.··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;vector&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;ios&gt;</code><br·/>
77 <code>#include·&lt;mpi.h&gt;</code><br·/>78 <code>#include·&lt;type_traits&gt;</code><br·/>
78 <code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code><br·/>79 <code>#include·&lt;<a·class="el"·href="a00146_source.html">dune/common/rangeutilities.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·/>
79 <code>#include·&lt;<a·class="el"·href="a00353_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code><br·/>81 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
80 </div>82 </div>
81 <p><a·href="a00368_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00368_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="a02212.html">Dune::MPIPack</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>
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>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="namespaces"·name="namespaces"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
91 Namespaces</h2></td></tr>91 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>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>
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>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>
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: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>
95 </table>120 </table>
96 <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>
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>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>
100 </div></div><!--·contents·-->125 </div></div><!--·contents·-->
101 <!--·start·footer·part·-->126 <!--·start·footer·part·-->
102 <hr·class="footer"/><address·class="footer"><small>127 <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.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
104 </small></address>129 </small></address>
105 </body>130 </body>
106 </html>131 </html>
2.39 KB
html2text {}
    
Offset 4, 37 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 mpipack.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 
11 See·MPI_Pack.·More... 
12 #include·<vector> 
13 #include·<mpi.h>12 #include·<ios>
14 #include·<dune/common/parallel/mpicommunication.hh>13 #include·<type_traits>
 14 #include·<dune/common/rangeutilities.hh>
 15 #include·<dune/common/simd/simd.hh>
15 #include·<dune/common/parallel/mpidata.hh>16 #include·<dune/common/typetraits.hh>
16 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
17 ·Classes18 ·Classes
 19 class· Dune::SimdImpl::Inserter<_T_>
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  20  
23 ·Namespaces21 ·Namespaces
24 namespace· Dune22 namespace· Dune
25  ··········Dune·namespace.23  ··········Dune·namespace.
26  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  
27 *****·Detailed·Description·*****50 *****·Detailed·Description·*****
 51 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.
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 ===============================================================================55 ===============================================================================
35 ·····Generated·by [doxygen]·1.9.456 ·····Generated·by [doxygen]·1.9.4
74.0 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:·mpipack.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, 235 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">mpipack.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="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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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> 
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="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment"></span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARALLEL_MPIPACK_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_IO_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>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>
 75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</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>
 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>
 78 <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="a00146.html">dune/common/rangeutilities.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>
 81 <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/typetraits.hh</a>&gt;</span></div>
77 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>82 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</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> 
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="a00362.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="a00353.html">dune/common/parallel/mpidata.hh</a>&gt;</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> 
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>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>
86 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</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> 
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> 
100 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</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"><a·class="line"·href="a00447.html">···25</a></span>··<span·class="keyword">namespace·</span>SimdImpl·{</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>86 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</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>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="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>
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> 
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>89 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>······T·value_;</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> 
149 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····}</div> 
150 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> 
151 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> 
152 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div> 
153 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno"><a·class="line"·href="a02212.html#a1d112ae7170df5d3e23c071eacedb3b4">··112</a></span>····<span·class="keyword">friend</span>·<a·class="code·hl_class"·href="a02212.html">MPIPack</a>&amp;·<a·class="code·hl_friend"·href="a02212.html#a1d112ae7170df5d3e23c071eacedb3b4">operator·&lt;&lt;·</a>(<a·class="code·hl_class"·href="a02212.html">MPIPack</a>&amp;·p,·<span·class="keyword">const</span>·T&amp;·t){</div> 
154 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>······p.<a·class="code·hl_function"·href="a02212.html#a8137baa3519b95bca7666656ab444c9a">pack</a>(t);</div> 
155 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>······<span·class="keywordflow">return</span>·p;</div> 
156 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····}</div> 
157 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div> 
Max diff block lines reached; 12668/63637 bytes (19.91%) of diff not shown.
11.7 KB
html2text {}
    
Offset 4, 325 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 mpipack.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
15 ·20#ifndef·DUNE_COMMON_PARALLEL_MPIPACK_HH 
16 ·21#define·DUNE_COMMON_PARALLEL_MPIPACK_HH13 ·3#ifndef·DUNE_COMMON_SIMD_IO_HH
 14 ·4#define·DUNE_COMMON_SIMD_IO_HH
 15 ·5
 16 ·16#include·<ios>
 17 ·17#include·<type_traits>
 18 ·18
 19 ·19#include·<dune/common/rangeutilities.hh>
 20 ·20#include·<dune/common/simd/simd.hh>
 21 ·21#include·<dune/common/typetraits.hh>
17 ·2222 ·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> 
23 ·28 
24 ·29 
25 ·30namespace·Dune·{23 ·23namespace·Dune·{
 24 ·24
 25 25·namespace·SimdImpl·{
 26 ·26
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>27 ·27·template<class·T>
 28 28·class·Inserter·{
 29 ·29·T·value_;
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(), 
90 ·106·mpidata.type(),·_comm); 
91 ·107·} 
92 ·108 
93 ·109 
94 ·111·template<typename·T> 
95 112·friend·MPIPack&·operator_<<(MPIPack&·p,·const·T&·t){ 
96 ·113·p.pack(t); 
97 ·114·return·p; 
98 ·115·} 
99 ·116 
100 ·118·template<typename·T> 
101 119·friend·MPIPack&·operator_>>(MPIPack&·p,·T&·t){ 
102 ·120·p.unpack(t); 
103 ·121·return·p; 
104 ·122·} 
105 ·123 
106 ·125·template<typename·T> 
107 126·MPIPack&·read(T&·t){ 
108 ·127·unpack(t); 
109 ·128·return·*this; 
110 ·129·} 
111 ·13030 ·30
112 ·132·template<typename·T> 
Max diff block lines reached; 4452/11944 bytes (37.27%) of diff not shown.
37.6 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:·timer.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, 45 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 ··<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="#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><!--header-->74 </div><!--header-->
73 <div·class="contents">75 <div·class="contents">
  
74 <p>A·simple·timing·class.··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;chrono&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="a00323_source.html">dune/common/classname.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00023_source.html">dune/common/hybridutilities.hh</a>&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a00146_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/>
 91 <code>#include·&lt;<a·class="el"·href="a00368_source.html">dune/common/simd/io.hh</a>&gt;</code><br·/>
 92 <code>#include·&lt;<a·class="el"·href="a00356_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="a00287_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>
 95 <code>#include·&lt;<a·class="el"·href="a00242_source.html">dune/common/typelist.hh</a>&gt;</code><br·/>
 96 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
77 </div>97 </div>
78 <p><a·href="a00371_source.html">Go·to·the·source·code·of·this·file.</a></p>98 <p><a·href="a00371_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>
 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>
 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>
 104 <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="a02884.html">Dune::Timer</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>
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> 
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><table·class="memberdecls">107 </table><table·class="memberdecls">
86 <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>
87 Namespaces</h2></td></tr>109 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>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>
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>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>
90 <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="a00371.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="a00371.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="a00371.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="a00371.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="a00371.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="a00371.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="a00371.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="a00371.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="a00371.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="a00371.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="a00371.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="a00371.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="a00371.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="a00371.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>
91 </table>158 </table>
92 <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>
93 <div·class="textblock"><p·>A·simple·timing·class.·</p>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/32114 bytes (0.76%) of diff not shown.
6.12 KB
html2text {}
    
Offset 4, 26 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·|·Namespaces7 ····*·simd
 8 Classes·|·Namespaces·|·Macros·|·Typedefs
8 timer.hh·File·Reference9 test.hh·File·Reference
9 Common 
10 A·simple·timing·class.·More...10 Common·tests·for·simd·abstraction·implementations.·More...
 11 #include·<algorithm>
 12 #include·<cstddef>
 13 #include·<iostream>
 14 #include·<sstream>
11 #include·<chrono>15 #include·<string>
 16 #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>
12 Go_to_the_source_code_of_this_file.30 Go_to_the_source_code_of_this_file.
13 ·Classes31 ·Classes
14 class· Dune::Timer 
15  ······A·simple·stop·watch.·More...32 struct· Dune::Simd::EndMark
 33  ·······final·element·marker·for·RebindList·More...
 34  
 35 ·class· Dune::Simd::UnitTest
16  36  
17 ·Namespaces37 ·Namespaces
18 namespace· Dune38 namespace· Dune
19  ··········Dune·namespace.39  ··········Dune·namespace.
20  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  
21 *****·Detailed·Description·*****85 *****·Detailed·Description·*****
22 A·simple·timing·class.86 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,
 118 ······················· M3,
 119 ······················· V1,
 120 ······················· V2,
 121 ······················· V3,
 122 ······················· NAME 
 123 ·····················)
 124 Value:
Max diff block lines reached; 116/6245 bytes (1.86%) of diff not shown.
438 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:·timer.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, 147 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">timer.hh</div></div>68 ··<div·class="headertitle"><div·class="title">test.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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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> 
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_TIMER_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_TEST_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>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>
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">#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>76 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</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">#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>77 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#endif</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>
 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>
 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>
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>·</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="a00323.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="a00023.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="a00146.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="a00368.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="a00356.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="a00287.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="a00242.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="a00014.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>
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>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>
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>101 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</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>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>
89 <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>
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>109 <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</[·...·truncated·by·diffoscope;·len:·66,·SHA:·ad1e494982b57ec1ebe189de6b457421b57d4551e9ffed8e74ba6be1a4b7a041·...·]</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>
93 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····{</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>
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>119 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······};</div>
97 <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>
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>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>
99 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····{</div>123 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······{</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>124 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········<span·class="keyword">using·</span>type·=·Dst;</div>
103 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div>125 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······};</div>
104 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</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>
105 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>128 <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<[·...·truncated·by·diffoscope;·len:·14,·SHA:·1ef2db330ccf9cb01f04d39d6b1a8d2b05345b7a1ee7def1b23413e4c9b064e9·...·]</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>
107 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</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>
108 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keywordflow">if</span>·(not·(isRunning_))</div>133 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keyword">struct·</span>CopyReferenceHelper</div>
109 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······{</div>134 <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>········rawReset();</div> 
111 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········isRunning_·=·<span·class="keyword">true</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>
112 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······}</div>136 <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>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>
115 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>139 <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">elap[·...·truncated·by·diffoscope;·len:·25,·SHA:·936b9dd327ad6dff556133bd92661dff72189438a615383e5b4af6e2c3293747·...·]</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>
117 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····{</div>142 <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>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>
119 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······<span·class="keywordflow">if</span>·(isRunning_)</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>
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>145 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······{</div>
122 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······<span·class="keywordflow">return</span>·sumElapsed_;</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>
123 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</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>
Max diff block lines reached; 344105/371222 bytes (92.70%) of diff not shown.
75.6 KB
html2text {}
    
Offset 4, 164 lines modifiedOffset 4, 2091 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 timer.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
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_SIMD_TEST_HH
 14 ·4#define·DUNE_COMMON_SIMD_TEST_HH
 15 ·5
 16 ·12#include·<algorithm>
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>17 ·13#include·<cstddef>
23 ·14#endif 
24 ·1518 ·14#include·<iostream>
 19 ·15#include·<sstream>
 20 ·16#include·<string>
 21 ·17#include·<type_traits>
 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
25 ·16namespace·Dune·{37 ·33namespace·Dune·{
26 ·17 
27 42·class·Timer 
28 ·43·{ 
29 ·44·public: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·{};
30 ·4549 ·45
 50 ·46·template<class·Dst,·class·Src>
 51 ·47·struct·CopyConstHelper
31 50·Timer·(bool·startImmediately=true)·noexcept 
32 ·51·{ 
33 ·52·isRunning_·=·startImmediately; 
34 ·53·reset(); 
35 ·54·} 
36 ·55 
37 57·void·reset()·noexcept 
38 ·58·{52 ·48·{
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_))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
48 ·69·{63 ·59·{
49 ·70·rawReset(); 
50 ·71·isRunning_·=·true;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;
51 ·72·}76 ·72·};
 77 ·73·template<class·Dst,·class·Src>
 78 ·74·struct·CopyReferenceHelper<Dst,·Src&>
52 ·73·} 
53 ·74 
54 ·75 
55 77·double·elapsed·()·const·noexcept 
56 ·78·{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&&>
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·} 
63 ·85 
64 ·86 
Max diff block lines reached; 73083/77393 bytes (94.43%) of diff not shown.
19.2 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:·float_cmp.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, 101 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="#namespaces">Namespaces</a>·&#124;
72 <a·href="#enum-members">Enumerations</a>·&#124; 
73 <a·href="#func-members">Functions</a>··</div>71 <a·href="#func-members">Functions</a>··</div>
74 ··<div·class="headertitle"><div·class="title">float_cmp.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">dynmatrixev.hh·File·Reference</div></div>
75 </div><!--header-->73 </div><!--header-->
76 <div·class="contents">74 <div·class="contents">
  
77 <p>Various·ways·to·compare·floating-point·numbers.··75 <p>utility·functions·to·compute·eigenvalues·for·dense·matrices.··
78 <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="a00104_source.html">dynmatrix.hh</a>&quot;</code><br·/>
79 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00059.html">float_cmp.cc</a>&quot;</code><br·/>80 <code>#include·&quot;<a·class="el"·href="a00215_source.html">fmatrixev.hh</a>&quot;</code><br·/>
80 </div>81 </div>
81 <p><a·href="a00374_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00374_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">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"> 
92 <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>
93 Namespaces</h2></td></tr>85 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>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="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>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <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>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>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 </table><table·class="memberdecls">91 </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"> 
119 <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>
120 Functions</h2></td></tr>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>
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> 
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> 
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> 
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> 
140 <tr·class="separator:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
141 <tr·class="memitem:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr> 
142 <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> 
143 <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> 
144 <tr·class="separator:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
145 <tr·class="memitem:ga510d97be4644ccab5db0b674d79633c6"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle&gt;·</td></tr> 
146 <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> 
147 <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> 
148 <tr·class="separator:ga510d97be4644ccab5db0b674d79633c6"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
149 <tr·class="memitem:ga78eaf86b21236f5c55336724e911da08"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle&gt;·</td></tr> 
150 <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> 
151 <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> 
152 <tr·class="separator:ga78eaf86b21236f5c55336724e911da08"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:a3a886253fd1bce66e013df6cf7548749"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
153 </table>98 </table>
154 <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>
155 <div·class="textblock"><p·>Various·ways·to·compare·floating-point·numbers.·</p>100 <div·class="textblock"><p·>utility·functions·to·compute·eigenvalues·for·dense·matrices.·</p>
156 </div></div><!--·contents·-->101 </div></div><!--·contents·-->
157 <!--·start·footer·part·-->102 <!--·start·footer·part·-->
158 <hr·class="footer"/><address·class="footer"><small>103 <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.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
160 </small></address>105 </small></address>
161 </body>106 </body>
162 </html>107 </html>
3.7 KB
html2text {}
    
Offset 4, 83 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·|·Enumerations·|·Functions 
8 float_cmp.hh·File·Reference 
9 Various·ways·to·compare·floating-point·numbers.·More... 
10 #include·"float_cmp.cc"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"
11 Go_to_the_source_code_of_this_file.14 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   
20 ·Namespaces15 ·Namespaces
21 namespace· Dune16 namespace· Dune
22  ··········Dune·namespace.17  ··········Dune·namespace.
23  18  
 19 namespace· Dune::DynamicMatrixHelp
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  20  
37 ·Functions21 ·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...
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·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... 
72   
73 template<class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle> 
74 ···I Dune::FloatCmp::trunc·(const·T·&val,·typename·EpsilonType<·T·>::Type 
75 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value()) 
76  ····truncate·using·epsilon·More... 
77  27  
78 *****·Detailed·Description·*****28 *****·Detailed·Description·*****
79 Various·ways·to·compare·floating-point·numbers.29 utility·functions·to·compute·eigenvalues·for·dense·matrices.
  
80 ===============================================================================30 ===============================================================================
81 ·····Generated·by [doxygen]·1.9.431 ·····Generated·by [doxygen]·1.9.4
75.5 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:·float_cmp.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, 190 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">float_cmp.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="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_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_DYNMATRIXEIGENVALUES_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_DYNMATRIXEIGENVALUES_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;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="a00104.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="a00215.html">fmatrixev.hh</a>&quot;</span></div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</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>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="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keyword">namespace·</span>FloatCmp·{</div> 
80 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="comment">//·basic·constants</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> 
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> 
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> 
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> 
124 <div·class="line"><a·id="l00203"·name="l00203"></a><span·class="lineno">··203</span>············<span·class="keyword">const</span>·T·&amp;second,</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="a01716.html">DefaultEpsilon&lt;T,·style&gt;::value</a>());</div> 
126 <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> 
129 <div·class="line"><a·id="l00219"·name="l00219"></a><span·class="lineno">··219</span>············<span·class="keyword">const</span>·T·&amp;second,</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="a01716.html">DefaultEpsilon&lt;T,·style&gt;::value</a>());</div> 
131 <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>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>
137 <div·class="line"><a·id="l00238"·name="l00238"></a><span·class="lineno">··238</span>····<span·class="comment">//·rounding·operations</span></div> 
138 <div·class="line"><a·id="l00240"·name="l00240"></a><span·class="lineno">··240</span><span·class="comment"></span>·</div> 
139 <div·class="line"><a·id="l00253"·name="l00253"></a><span·class="lineno">··253</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>I,·<span·class="keyword">class·</span>T,·<a·class="code·hl_enumeration"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·cstyle·<span·class="comment">/*=·defaultCmpStyle*/</span>,·<a·class="code·hl_enumeration"·href="a00409.html#ga8507e971c45243aed2c4de1b3736ca04">RoundingStyle</a>·rstyle·<span·class="comment">/*=·defaultRoundingStyle*/</span>&gt;</div> 
140 <div·class="line"><a·id="l00254"·name="l00254"></a><span·class="lineno">··254</span>····I·<a·class="code·hl_function"·href="a00409.html#ga510d97be4644ccab5db0b674d79633c6">round</a>(<span·class="keyword">const</span>·T·&amp;val,·<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,·cstyle&gt;::value</a>());</div> 
141 <div·class="line"><a·id="l00255"·name="l00255"></a><span·class="lineno">··255</span>····<span·class="comment">//·truncation</span></div> 
142 <div·class="line"><a·id="l00257"·name="l00257"></a><span·class="lineno">··257</span><span·class="comment"></span>·</div> 
143 <div·class="line"><a·id="l00270"·name="l00270"></a><span·class="lineno">··270</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>I,·<span·class="keyword">class·</span>T,·<a·class="code·hl_enumeration"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·cstyle·<span·class="comment">/*=·defaultCmpStyle*/</span>,·<a·class="code·hl_enumeration"·href="a00409.html#ga8507e971c45243aed2c4de1b3736ca04">RoundingStyle</a>·rstyle·<span·class="comment">/*=·defaultRoundingStyle*/</span>&gt;</div> 
144 <div·class="line"><a·id="l00271"·name="l00271"></a><span·class="lineno">··271</span>····I·<a·class="code·hl_function"·href="a00409.html#ga78eaf86b21236f5c55336724e911da08">trunc</a>(<span·class="keyword">const</span>·T·&amp;val,·<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,·cstyle&gt;::value</a>());</div> 
145 <div·class="line"><a·id="l00272"·name="l00272"></a><span·class="lineno">··272</span>·</div>87 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
146 <div·class="line"><a·id="l00274"·name="l00274"></a><span·class="lineno">··274</span>····<span·class="comment">//·group·FloatCmp</span></div> 
147 <div·class="line"><a·id="l00275"·name="l00275"></a><span·class="lineno">··275</span>··}·<span·class="comment">//namespace·FloatCmp</span></div> 
148 <div·class="line"><a·id="l00276"·name="l00276"></a><span·class="lineno">··276</span>·</div> 
149 <div·class="line"><a·id="l00277"·name="l00277"></a><span·class="lineno">··277</span>·</div> 
150 <div·class="line"><a·id="l00278"·name="l00278"></a><span·class="lineno">··278</span>··<span·class="comment">//·oo·interface</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>
151 <div·class="line"><a·id="l00280"·name="l00280"></a><span·class="lineno">··280</span><span·class="comment"></span>·</div>90 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#endif</span></div>
152 <div·class="line"><a·id="l00286"·name="l00286"></a><span·class="lineno">··286</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>T,·<a·class="code·hl_enumeration"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">FloatCmp::CmpStyle</a>·cstyle_·=·<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">FloatCmp::defaultCmpStyle</a>,</div> 
153 <div·class="line"><a·id="l00287"·name="l00287"></a><span·class="lineno">··287</span>······<a·class="code·hl_enumeration"·href="a00409.html#ga8507e971c45243aed2c4de1b3736ca04">FloatCmp::RoundingStyle</a>·rstyle_·=·<a·class="code·hl_enumvalue"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a9d0bc0cf3b15252ab74e9cbeddc805c4">FloatCmp::defaultRoundingStyle</a>&gt;</div> 
154 <div·class="line"><a·id="l00288"·name="l00288"></a><span·class="lineno"><a·class="line"·href="a01720.html">··288</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01720.html">FloatCmpOps</a>·{</div> 
155 <div·class="line"><a·id="l00289"·name="l00289"></a><span·class="lineno">··289</span>····<span·class="keyword">typedef</span>·<a·class="code·hl_enumeration"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">FloatCmp::CmpStyle</a>·<a·class="code·hl_enumeration"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>;</div> 
156 <div·class="line"><a·id="l00290"·name="l00290"></a><span·class="lineno">··290</span>····<span·class="keyword">typedef</span>·<a·class="code·hl_enumeration"·href="a00409.html#ga8507e971c45243aed2c4de1b3736ca04">FloatCmp::RoundingStyle</a>·<a·class="code·hl_enumeration"·href="a00409.html#ga8507e971c45243aed2c4de1b3736ca04">RoundingStyle</a>;</div> 
157 <div·class="line"><a·id="l00291"·name="l00291"></a><span·class="lineno">··291</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>
158 <div·class="line"><a·id="l00292"·name="l00292"></a><span·class="lineno">··292</span>··<span·class="keyword">public</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>
Max diff block lines reached; 9237/64110 bytes (14.41%) of diff not shown.
12.8 KB
html2text {}
    
Offset 4, 310 lines modifiedOffset 4, 144 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 float_cmp.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·-*-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_DYNMATRIXEIGENVALUES_HH
 15 ·6#define·DUNE_DYNMATRIXEIGENVALUES_HH
16 ·716 ·7
 17 ·8#include·<algorithm>
 18 ·9#include·<memory>
 19 ·10
 20 ·11#include·"dynmatrix.hh"
 21 ·12#include·"fmatrixev.hh"
 22 ·13
17 ·97namespace·Dune·{23 ·22namespace·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 ·130 
36 ·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 ()); 
63 ·190 
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 ()); 
69 ·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 ·23724 ·23
 25 24·namespace·DynamicMatrixHelp·{
82 ·238·//·rounding·operations 
83 ·240 
84 ·253·template<class·I,·class·T,·CmpStyle·cstyle·/*=·defaultCmpStyle*/, 
85 RoundingStyle·rstyle·/*=·defaultRoundingStyle*/> 
86 ·254·I·round(const·T·&val,·typename·EpsilonType<T>::Type·epsilon·= 
87 DefaultEpsilon<T,_cstyle>::value()); 
88 ·255·//·truncation 
89 ·25726 ·25
 27 ·26#if·HAVE_LAPACK
 28 ·27·using·Dune::FMatrixHelp::eigenValuesNonsymLapackCall;
 29 ·28#endif
90 ·270·template<class·I,·class·T,·CmpStyle·cstyle·/*=·defaultCmpStyle*/, 
91 RoundingStyle·rstyle·/*=·defaultRoundingStyle*/> 
92 ·271·I·trunc(const·T·&val,·typename·EpsilonType<T>::Type·epsilon·= 
93 DefaultEpsilon<T,_cstyle>::value()); 
94 ·272 
95 ·274·//·group·FloatCmp 
96 ·275·}·//namespace·FloatCmp 
97 ·276 
98 ·277 
99 ·278·//·oo·interface 
100 ·280 
101 ·286·template<class·T,·FloatCmp::CmpStyle·cstyle_·=·FloatCmp::defaultCmpStyle, 
102 ·287·FloatCmp::RoundingStyle·rstyle_·=·FloatCmp::defaultRoundingStyle> 
103 288·class·FloatCmpOps·{ 
104 ·289·typedef·FloatCmp::CmpStyle·CmpStyle; 
105 ·290·typedef·FloatCmp::RoundingStyle·RoundingStyle; 
106 ·29130 ·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·{
Max diff block lines reached; 3604/13103 bytes (27.51%) of diff not shown.
13.3 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:·debugstream.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, 64 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="#nested-classes">Classes</a>·&#124; 
71 <a·href="#namespaces">Namespaces</a>·&#124; 
72 <a·href="#typedef-members">Typedefs</a>··</div>70 <a·href="#define-members">Macros</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>71 ··<div·class="headertitle"><div·class="title">visibility.hh·File·Reference</div></div>
74 </div><!--header-->72 </div><!--header-->
75 <div·class="contents">73 <div·class="contents">
  
76 <p>Defines·several·output·streams·for·messages·of·different·importance.··74 <p>Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.··
77 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
  
78 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/> 
79 <code>#include·&lt;stack&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
81 </div> 
82 <p><a·href="a00377_source.html">Go·to·the·source·code·of·this·file.</a></p>76 <p><a·href="a00377_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> 
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="a01376.html">Dune::greater_or_equal&lt;·current,·threshold·&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> 
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> 
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> 
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> 
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> 
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> 
96 <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> 
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> 
103 </table><table·class="memberdecls"> 
104 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> 
105 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> 
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> 
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="typedef-members"·name="typedef-members"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-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>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="a00377.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="a00377.html#a392e8fb5628732502467b715b88974b4">More...</a><br·/></td></tr>
114 <tr·class="separator:ga7b78ef57d1b77933ab277ebe66c79d94"><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="a00377.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="a00377.html#ab9e9adaae1a11e7546a1b712495d1f42">More...</a><br·/></td></tr>
 85 <tr·class="separator:ab9e9adaae1a11e7546a1b712495d1f42"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 </table>86 </table>
116 <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>
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>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>
119 </div></div><!--·contents·-->118 </div><!--·contents·-->
120 <!--·start·footer·part·-->119 <!--·start·footer·part·-->
121 <hr·class="footer"/><address·class="footer"><small>120 <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.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
123 </small></address>122 </small></address>
124 </body>123 </body>
125 </html>124 </html>
2.74 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 Macros
 8 visibility.hh·File·Reference
 9 Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.·More...
7 Classes·|·Namespaces·|·Typedefs 
8 debugstream.hh·File·Reference 
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.10 Go_to_the_source_code_of_this_file.
15 ·Classes 
16 struct· Dune::greater_or_equal<_current,_threshold_> 
17  ·······Greater·or·equal·template·test.·More...11 ·Macros
 12 #define DUNE_EXPORT   implementation_defined
 13  ·······Export·a·symbol·as·part·of·the·public·ABI.·More...
18  14  
 15 #define DUNE_PRIVATE   implementation_defined
 16  ·······Mark·a·symbol·as·being·for·internal·use·within·the·current·DSO·only.
 17 ·········More...
19 struct· Dune::common_bits<_current,_mask_> 
20  ·······activate·if·current·and·mask·have·common·bits·switched·on.·More... 
21   
22 ·class· Dune::DebugStreamError 
23  ·······standard·exception·for·the·debugstream·More... 
24   
25 ·class· Dune::StreamWrap 
26   
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   
33 ·Namespaces 
34 namespace· Dune 
35  ··········Dune·namespace. 
36   
37 ·Typedefs 
38 typedef·unsigned·int Dune::DebugLevel 
39  ····················Type·for·debug·levels.·More... 
40  18  
41 *****·Detailed·Description·*****19 *****·Detailed·Description·*****
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·deactivated20 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!
  
46 ===============================================================================35 ===============================================================================
47 ·····Generated·by [doxygen]·1.9.436 ·····Generated·by [doxygen]·1.9.4
72.4 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:·debugstream.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, 296 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">debugstream.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="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_VISIBILITY_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>
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">#ifdef·DOXYGEN</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>·</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> 
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>
82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00143.html">dune/common/exceptions.hh</a>&gt;</span></div>81 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><a·class="line"·href="a00377.html#a392e8fb5628732502467b715b88974b4">···20</a></span><span·class="preprocessor">#define·DUNE_EXPORT·implementation_defined</span></div>
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>82 <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><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> 
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>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="a00377.html#ab9e9adaae1a11e7546a1b712495d1f42">···28</a></span><span·class="preprocessor">#define·DUNE_PRIVATE·implementation_defined</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>85 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</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> 
Max diff block lines reached; 271/62966 bytes (0.43%) of diff not shown.
10.8 KB
html2text {}
    
Offset 4, 381 lines modifiedOffset 4, 46 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 debugstream.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_COMMON_VISIBILITY_HH
 15 ·6#define·DUNE_COMMON_VISIBILITY_HH
 16 ·7
 17 ·12#ifdef·DOXYGEN
 18 ·13
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 ·1519 ·15
 20 20#define·DUNE_EXPORT·implementation_defined
21 ·16#include·<dune/common/exceptions.hh> 
22 ·17 
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 
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 ·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·{ 
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 ·21321 ·21
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 ·23522 ·23
 23 28#define·DUNE_PRIVATE·implementation_defined
 24 ·29
 25 ·30#else·//·DOXYGEN
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; 
Max diff block lines reached; 116/11059 bytes (1.05%) of diff not shown.
60.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a00380.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:·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 64, 30 lines modifiedOffset 64, 775 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">unused.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">version.hh·File·Reference</div></div>
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
74 <p>Definition·of·the·<code>DUNE_UNUSED_PARAMETER</code>·macro.··74 <p>Various·macros·to·work·with·Dune·module·version·numbers.··
75 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
  
76 <p><a·href="a00380_source.html">Go·to·the·source·code·of·this·file.</a></p>76 <p><a·href="a00380_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: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;&#16[·...·truncated·by·diffoscope;·len:·38,·SHA:·99ff3dbe7cb9b049127d6bf6b3b6f9a2c230255cd17eea5757cdc77310c23543·...·]</td></tr>80 <tr·class="memitem:a229e35109d69cff060df5c80e71f3d73"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00380.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,··type)&#160;&#[·...·truncated·by·diffoscope;·len:·37,·SHA:·7547b935b3eb7fe4b761074daefd91113fd59f4345f66978f614b8c02936ab70·...·]</td></tr>
 81 <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="a00380.html#a229e35109d69cff060df5c80e71f3d73">More...</a><br·/></td></tr>
 82 <tr·class="separator:a229e35109d69cff060df5c80e71f3d73"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 83 <tr·class="memitem:ab25a714acc2ab9e565053cb523054a95"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00380.html#ab25a714acc2ab9e565053cb523054a95">DUNE_VERSION_EQUAL</a>(module,··major,··minor)</td></tr>
 84 <tr·class="memdesc:ab25a714acc2ab9e565053cb523054a95"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor.··<a·href="a00380.html#ab25a714acc2ab9e565053cb523054a95">More...</a><br·/></td></tr>
 85 <tr·class="separator:ab25a714acc2ab9e565053cb523054a95"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 86 <tr·class="memitem:a860ad2275fe1229fe01d9992a6685fe7"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00380.html#a860ad2275fe1229fe01d9992a6685fe7">DUNE_VERSION_EQUAL_REV</a>(module,··major,··minor,··revision)</td></tr>
 87 <tr·class="memdesc:a860ad2275fe1229fe01d9992a6685fe7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor.revision.··<a·href="a00380.html#a860ad2275fe1229fe01d9992a6685fe7">More...</a><br·/></td></tr>
81 <tr·class="separator:ga82d6aa0dcd7f162d42922460058fbf86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:a860ad2275fe1229fe01d9992a6685fe7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 89 <tr·class="memitem:ae9c7fb3f1d0d68848c2b03cf45a5f620"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00380.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">DUNE_VERSION_GTE</a>(module,··major,··minor)</td></tr>
 90 <tr·class="memdesc:ae9c7fb3f1d0d68848c2b03cf45a5f620"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor·or·greater.··<a·href="a00380.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">More...</a><br·/></td></tr>
 91 <tr·class="separator:ae9c7fb3f1d0d68848c2b03cf45a5f620"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 92 <tr·class="memitem:a989ea73953b5d09cb17675d64233a15b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00380.html#a989ea73953b5d09cb17675d64233a15b">DUNE_VERSION_LT</a>(module,··major,··minor)&#160;&#160;&#160;··!·<a·class="el"·href="a00380.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">DUNE_VERSION_GTE</a>(module,major,minor)</td></tr>
 93 <tr·class="memdesc:a989ea73953b5d09cb17675d64233a15b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·version·less·than·major.minor.··<a·href="a00380.html#a989ea73953b5d09cb17675d64233a15b">More...</a><br·/></td></tr>
 94 <tr·class="separator:a989ea73953b5d09cb17675d64233a15b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 95 <tr·class="memitem:a3ff6f986ce87d82c20da62e6355cf520"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00380.html#a3ff6f986ce87d82c20da62e6355cf520">DUNE_VERSION_NEWER</a>(module,··major,··minor)&#160;&#160;&#160;··<a·class="el"·href="a00380.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">DUNE_VERSION_GTE</a>(module,major,minor)</td></tr>
 96 <tr·class="memdesc:a3ff6f986ce87d82c20da62e6355cf520"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor·or·newer.··<a·href="a00380.html#a3ff6f986ce87d82c20da62e6355cf520">More...</a><br·/></td></tr>
 97 <tr·class="separator:a3ff6f986ce87d82c20da62e6355cf520"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 98 <tr·class="memitem:a4221602addcd43bfc16992d83eaab73b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00380.html#a4221602addcd43bfc16992d83eaab73b">DUNE_VERSION_GT</a>(module,··major,··minor)</td></tr>
 99 <tr·class="memdesc:a4221602addcd43bfc16992d83eaab73b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·version·greater·than·major.minor.··<a·href="a00380.html#a4221602addcd43bfc16992d83eaab73b">More...</a><br·/></td></tr>
 100 <tr·class="separator:a4221602addcd43bfc16992d83eaab73b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 <tr·class="memitem:a30a27a1b8996420c55ed3c6009a62253"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00380.html#a30a27a1b8996420c55ed3c6009a62253">DUNE_VERSION_LTE</a>(module,··major,··minor)&#160;&#160;&#160;··!·<a·class="el"·href="a00380.html#a4221602addcd43bfc16992d83eaab73b">DUNE_VERSION_GT</a>(module,major,minor)</td></tr>
 102 <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="a00380.html#a30a27a1b8996420c55ed3c6009a62253">More...</a><br·/></td></tr>
 103 <tr·class="separator:a30a27a1b8996420c55ed3c6009a62253"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 <tr·class="memitem:a95ef2ff0c01c2b1add28f5d4a55e6904"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00380.html#a95ef2ff0c01c2b1add28f5d4a55e6904">DUNE_VERSION_GTE_REV</a>(module,··major,··minor,··revision)</td></tr>
 105 <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="a00380.html#a95ef2ff0c01c2b1add28f5d4a55e6904">More...</a><br·/></td></tr>
 106 <tr·class="separator:a95ef2ff0c01c2b1add28f5d4a55e6904"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 107 <tr·class="memitem:a475b789ab8bce20d26045e337955a52b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00380.html#a475b789ab8bce20d26045e337955a52b">DUNE_VERSION_LT_REV</a>(module,··major,··minor,··revision)&#160;&#160;&#160;··!·<a·class="el"·href="a00380.html#a95ef2ff0c01c2b1add28f5d4a55e6904">DUNE_VERSION_GTE_REV</a>(module,major,minor,revision)</td></tr>
 108 <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="a00380.html#a475b789ab8bce20d26045e337955a52b">More...</a><br·/></td></tr>
 109 <tr·class="separator:a475b789ab8bce20d26045e337955a52b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 110 <tr·class="memitem:a5b004009c0c7997b2330992534942c3b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00380.html#a5b004009c0c7997b2330992534942c3b">DUNE_VERSION_NEWER_REV</a>(module,··major,··minor,··revision)&#160;&#160;&#160;··<a·class="el"·href="a00380.html#a95ef2ff0c01c2b1add28f5d4a55e6904">DUNE_VERSION_GTE_REV</a>(module,major,minor,revision)</td></tr>
 111 <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="a00380.html#a5b004009c0c7997b2330992534942c3b">More...</a><br·/></td></tr>
 112 <tr·class="separator:a5b004009c0c7997b2330992534942c3b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 113 <tr·class="memitem:ab892e2a1845da3fb29c5fb0cbe4d413f"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00380.html#ab892e2a1845da3fb29c5fb0cbe4d413f">DUNE_VERSION_GT_REV</a>(module,··major,··minor,··revision)</td></tr>
 114 <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="a00380.html#ab892e2a1845da3fb29c5fb0cbe4d413f">More...</a><br·/></td></tr>
 115 <tr·class="separator:ab892e2a1845da3fb29c5fb0cbe4d413f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 116 <tr·class="memitem:a3e5db809b447136ea37c9c2ab3ea8c52"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00380.html#a3e5db809b447136ea37c9c2ab3ea8c52">DUNE_VERSION_LTE_REV</a>(module,··major,··minor,··revision)&#160;&#160;&#160;··!·<a·class="el"·href="a00380.html#ab892e2a1845da3fb29c5fb0cbe4d413f">DUNE_VERSION_GT_REV</a>(module,major,minor,revision)</td></tr>
 117 <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="a00380.html#a3e5db809b447136ea37c9c2ab3ea8c52">More...</a><br·/></td></tr>
 118 <tr·class="separator:a3e5db809b447136ea37c9c2ab3ea8c52"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 119 <tr·class="memitem:ae3ff9d66de4e43cbc5e67743013977c9"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00380.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>
 120 <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="a00380.html#ae3ff9d66de4e43cbc5e67743013977c9">More...</a><br·/></td></tr>
 121 <tr·class="separator:ae3ff9d66de4e43cbc5e67743013977c9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 122 <tr·class="memitem:a2c5026c661a32b8cb9e0f92a4515c6c6"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00380.html#a2c5026c661a32b8cb9e0f92a4515c6c6">DUNE_MODULE_VERSION_ID</a>(module)&#160;&#160;&#160;··<a·class="el"·href="a00380.html#ae3ff9d66de4e43cbc5e67743013977c9">DUNE_VERSION_ID</a>(·<a·class="el"·href="a00380.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,MAJOR),·<a·class="el"·href="a00380.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,MINOR),·<a·class="el"·href="a00380.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,REVISION)·)</td></tr>
 123 <tr·class="memdesc:a2c5026c661a32b8cb9e0f92a4515c6c6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compute·a·unique·uint·id·for·the·given·module.··<a·href="a00380.html#a2c5026c661a32b8cb9e0f92a4515c6c6">More...</a><br·/></td></tr>
 124 <tr·class="separator:a2c5026c661a32b8cb9e0f92a4515c6c6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 </table>125 </table>
83 <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>
84 <div·class="textblock"><p·>Definition·of·the·<code>DUNE_UNUSED_PARAMETER</code>·macro.·</p>127 <div·class="textblock"><p·>Various·macros·to·work·with·Dune·module·version·numbers.·</p>
 128 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>
 129 <a·id="a2c5026c661a32b8cb9e0f92a4515c6c6"·name="a2c5026c661a32b8cb9e0f92a4515c6c6"></a>
 130 <h2·class="memtitle"><span·class="permalink"><a·href="#a2c5026c661a32b8cb9e0f92a4515c6c6">&#9670;&nbsp;</a></span>DUNE_MODULE_VERSION_ID</h2>
  
 131 <div·class="memitem">
 132 <div·class="memproto">
 133 ······<table·class="memname">
 134 ········<tr>
 135 ··········<td·class="memname">#define·DUNE_MODULE_VERSION_ID</td>
 136 ··········<td>(</td>
 137 ··········<td·class="paramtype">&#160;</td>
 138 ··········<td·class="paramname">module</td><td>)</td>
 139 ··········<td>&#160;&#160;&#160;··<a·class="el"·href="a00380.html#ae3ff9d66de4e43cbc5e67743013977c9">DUNE_VERSION_ID</a>(·<a·class="el"·href="a00380.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,MAJOR),·<a·class="el"·href="a00380.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,MINOR),·<a·class="el"·href="a00380.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,REVISION)·)</td>
 140 ········</tr>
 141 ······</table>
 142 </div><div·class="memdoc">
  
 143 <p>Compute·a·unique·uint·id·for·the·given·module.·</p>
 144 <p·>For·the·DUNE·core·modules·you·need·to·use·the·following·module·names:</p><ul>
 145 <li>DUNE_COMMON·for·dune-common</li>
 146 <li>DUNE_GRID·for·dune-grid</li>
 147 <li>DUNE_GEOMETRY·for·dune-geometry</li>
 148 <li>DUNE_ISTL·for·dune-istl</li>
 149 <li>DUNE_LOCALFUNCTIONS·for·dune-localfunctions</li>
 150 </ul>
 151 <p·>For·external·DUNE·modules,·you·should·capitalize·the·name·and·replace·'-'·by·underscores.·For·example·for·the·module·foo-bar·you·need·to·use·FOO_BAR·as·module·name·in·the·context·of·this·macro.·</p>
  
 152 </div>
 153 </div>
 154 <a·id="ab25a714acc2ab9e565053cb523054a95"·name="ab25a714acc2ab9e565053cb523054a95"></a>
 155 <h2·class="memtitle"><span·class="permalink"><a·href="#ab25a714acc2ab9e565053cb523054a95">&#9670;&nbsp;</a></span>DUNE_VERSION_EQUAL</h2>
  
 156 <div·class="memitem">
 157 <div·class="memproto">
 158 ······<table·class="memname">
 159 ········<tr>
 160 ··········<td·class="memname">#define·DUNE_VERSION_EQUAL</td>
 161 ··········<td>(</td>
 162 ··········<td·class="paramtype">&#160;</td>
 163 ··········<td·class="paramname">module,·</td>
 164 ········</tr>
 165 ········<tr>
 166 ··········<td·class="paramkey"></td>
 167 ··········<td></td>
 168 ··········<td·class="paramtype">&#160;</td>
Max diff block lines reached; 243/45423 bytes (0.53%) of diff not shown.
15.8 KB
html2text {}
    
Offset 5, 18 lines modifiedOffset 5, 345 lines modified
  
5 dune-common 2.9.05 dune-common 2.9.0
  
  
6 ····*·dune6 ····*·dune
7 ····*·common7 ····*·common
8 Macros8 Macros
9 unused.hh·File·Reference9 version.hh·File·Reference
10 Definition·of·the·DUNE_UNUSED_PARAMETER·macro.·More...10 Various·macros·to·work·with·Dune·module·version·numbers.·More...
11 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
12 ·Macros12 ·Macros
13 #define DUNE_UNUSED_PARAMETER(param)   static_cast<void>(param)13 #define DUNE_VERSION_JOIN(module,·type)   module·##·_VERSION_·##·type
 14  ·······Constructs·the·preprocessor·name·used·in·config.h·to·hold·version·numbers.
 15 ·········More...
 16  
 17 #define DUNE_VERSION_EQUAL(module,·major,·minor)
 18  ·······True·if·'module'·has·the·version·major.minor.·More...
 19  
 20 #define DUNE_VERSION_EQUAL_REV(module,·major,·minor,·revision)
 21  ·······True·if·'module'·has·the·version·major.minor.revision.·More...
 22  
 23 #define DUNE_VERSION_GTE(module,·major,·minor)
 24  ·······True·if·'module'·has·the·version·major.minor·or·greater.·More...
 25  
 26 #define DUNE_VERSION_LT(module,·major,·minor)   ·!·DUNE_VERSION_GTE(module,major,minor)
 27  ·······True·if·'module'·has·a·version·less·than·major.minor.·More...
 28  
 29 #define DUNE_VERSION_NEWER(module,·major,·minor)   ·DUNE_VERSION_GTE(module,major,minor)
 30  ·······True·if·'module'·has·the·version·major.minor·or·newer.·More...
 31  
 32 #define DUNE_VERSION_GT(module,·major,·minor)
 33  ·······True·if·'module'·has·a·version·greater·than·major.minor.·More...
 34  
 35 #define DUNE_VERSION_LTE(module,·major,·minor)   ·!·DUNE_VERSION_GT(module,major,minor)
 36  ·······True·if·'module'·has·a·version·less·than·or·equal·to·major.minor.·More...
 37  
 38 #define DUNE_VERSION_GTE_REV(module,·major,·minor,·revision)
 39  ·······True·if·'module'·has·the·version·major.minor.revision·or·greater.·More...
 40  
 41 #define DUNE_VERSION_LT_REV(module,·major,·minor,·revision)   ·!·DUNE_VERSION_GTE_REV
 42 ·········(module,major,minor,revision)
 43  ·······True·if·'module'·has·a·version·lower·than·major.minor.revision.·More...
 44  
 45 #define DUNE_VERSION_NEWER_REV(module,·major,·minor,·revision)   ·DUNE_VERSION_GTE_REV
 46 ·········(module,major,minor,revision)
 47  ·······True·if·'module'·has·the·version·major.minor.revision·or·newer.·More...
 48  
 49 #define DUNE_VERSION_GT_REV(module,·major,·minor,·revision)
 50  ·······True·if·'module'·has·a·greater·version·than·major.minor.revision.·More...
 51  
 52 #define DUNE_VERSION_LTE_REV(module,·major,·minor,·revision)   ·!·DUNE_VERSION_GT_REV
 53 ·········(module,major,minor,revision)
 54  ·······True·if·'module'·has·a·version·lower·or·equal·to·major.minor.revision.·More...
 55  
 56 #define DUNE_VERSION_ID(major,·minor,·revision)   ·((unsigned·int)((major·<<·24)·+·(minor
 57 ·········<<·16)·+·revision))
 58  ·······Compute·a·unique·uint·id·from·the·major,·minor,·and·revision·numbers.·More...
 59  
 60 #define DUNE_MODULE_VERSION_ID(module)   ·DUNE_VERSION_ID(·DUNE_VERSION_JOIN
 61 ·········(module,MAJOR),·DUNE_VERSION_JOIN(module,MINOR),·DUNE_VERSION_JOIN
 62 ·········(module,REVISION)·)
 63  ·······Compute·a·unique·uint·id·for·the·given·module.·More...
14  64  
15 *****·Detailed·Description·*****65 *****·Detailed·Description·*****
16 Definition·of·the·DUNE_UNUSED_PARAMETER·macro.66 Various·macros·to·work·with·Dune·module·version·numbers.
 67 *****·Macro·Definition·Documentation·*****
 68 *****·◆ DUNE_MODULE_VERSION_ID·*****
 69 #define················(· module·)·   ·DUNE_VERSION_ID(·DUNE_VERSION_JOIN(module,MAJOR),·DUNE_VERSION_JOIN
 70 DUNE_MODULE_VERSION_ID··············(module,MINOR),·DUNE_VERSION_JOIN(module,REVISION)·)
 71 Compute·a·unique·uint·id·for·the·given·module.
 72 For·the·DUNE·core·modules·you·need·to·use·the·following·module·names:
 73 ····*·DUNE_COMMON·for·dune-common
 74 ····*·DUNE_GRID·for·dune-grid
 75 ····*·DUNE_GEOMETRY·for·dune-geometry
 76 ····*·DUNE_ISTL·for·dune-istl
 77 ····*·DUNE_LOCALFUNCTIONS·for·dune-localfunctions
 78 For·external·DUNE·modules,·you·should·capitalize·the·name·and·replace·'-'·by
 79 underscores.·For·example·for·the·module·foo-bar·you·need·to·use·FOO_BAR·as
 80 module·name·in·the·context·of·this·macro.
 81 *****·◆ DUNE_VERSION_EQUAL·*****
 82 #define·DUNE_VERSION_EQUAL·(· module,
 83 ····························· major,
 84 ····························· minor 
 85 ···························)
 86 Value:
 87 ((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&&·\
 88 (DUNE_VERSION_JOIN(module,MINOR)·==·minor))
 89 DUNE_VERSION_JOIN
 90 #define·DUNE_VERSION_JOIN(module,·type)
 91 Constructs·the·preprocessor·name·used·in·config.h·to·hold·version·numbers.
 92 Definition:·version.hh:28
 93 True·if·'module'·has·the·version·major.minor.
 94 For·the·DUNE·core·modules·you·need·to·use·the·following·module·names:
 95 ····*·DUNE_COMMON·for·dune-common
 96 ····*·DUNE_GRID·for·dune-grid
 97 ····*·DUNE_GEOMETRY·for·dune-geometry
 98 ····*·DUNE_ISTL·for·dune-istl
 99 ····*·DUNE_LOCALFUNCTIONS·for·dune-localfunctions
 100 For·external·DUNE·modules,·you·should·capitalize·the·name·and·replace·'-'·by
 101 underscores.·For·example·for·the·module·foo-bar·you·need·to·use·FOO_BAR·as
 102 module·name·in·the·context·of·this·macro.
 103 *****·◆ DUNE_VERSION_EQUAL_REV·*****
 104 #define·DUNE_VERSION_EQUAL_REV·(· module,
 105 ································· major,
 106 ································· minor,
 107 ································· revision 
 108 ·······························)
 109 Value:
 110 (·DUNE_VERSION_EQUAL(module,major,minor)·&&·\
 111 (DUNE_VERSION_JOIN(module,REVISION)·==·revision))
 112 DUNE_VERSION_EQUAL
 113 #define·DUNE_VERSION_EQUAL(module,·major,·minor)
 114 True·if·'module'·has·the·version·major.minor.
 115 Definition:·version.hh:44
 116 True·if·'module'·has·the·version·major.minor.revision.
 117 For·the·DUNE·core·modules·you·need·to·use·the·following·module·names:
 118 ····*·DUNE_COMMON·for·dune-common
 119 ····*·DUNE_GRID·for·dune-grid
 120 ····*·DUNE_GEOMETRY·for·dune-geometry
 121 ····*·DUNE_ISTL·for·dune-istl
 122 ····*·DUNE_LOCALFUNCTIONS·for·dune-localfunctions
 123 For·external·DUNE·modules,·you·should·capitalize·the·name·and·replace·'-'·by
 124 underscores.·For·example·for·the·module·foo-bar·you·need·to·use·FOO_BAR·as
 125 module·name·in·the·context·of·this·macro.
 126 *****·◆ DUNE_VERSION_GT·*****
 127 #define·DUNE_VERSION_GT·(· module,
 128 ·························· major,
Max diff block lines reached; 116/16154 bytes (0.72%) of diff not shown.
16.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a00380_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:·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 62, 26 lines modifiedOffset 62, 79 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">unused.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="a00380.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="a00380.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_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_UNUSED_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="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="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00380.html#a229e35109d69cff060df5c80e71f3d73">···28</a></span><span·class="preprocessor">#define·DUNE_VERSION_JOIN(module,type)·module·##·_VERSION_·##·type</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="a00380.html#ab25a714acc2ab9e565053cb523054a95">···44</a></span><span·class="preprocessor">#define·DUNE_VERSION_EQUAL(module,major,minor)·\</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>
 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>
 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="a00380.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="a00380.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>
 92 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a00380.html#a989ea73953b5d09cb17675d64233a15b">···98</a></span><span·class="preprocessor">#define·DUNE_VERSION_LT(module,major,minor)·\</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>
 94 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
 95 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a00380.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="a00380.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>
 102 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno"><a·class="line"·href="a00380.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>
 105 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno"><a·class="line"·href="a00380.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>
 107 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span><span·class="preprocessor">···||·((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&amp;&amp;·(DUNE_VERSION_JOIN(module,MINOR)·&gt;·minor))·\</span></div>
 108 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span><span·class="preprocessor">···||·((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&amp;&amp;·(DUNE_VERSION_JOIN(module,MINOR)·==·minor)·\</span></div>
 109 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span><span·class="preprocessor">·······&amp;&amp;·(DUNE_VERSION_JOIN(module,REVISION)·&gt;=·revision)))</span></div>
 110 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno">··173</span>·</div>
 111 <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno"><a·class="line"·href="a00380.html#a475b789ab8bce20d26045e337955a52b">··188</a></span><span·class="preprocessor">#define·DUNE_VERSION_LT_REV(module,major,minor,revision)·\</span></div>
 112 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span><span·class="preprocessor">··!·DUNE_VERSION_GTE_REV(module,major,minor,revision)</span></div>
 113 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>·</div>
 114 <div·class="line"><a·id="l00206"·name="l00206"></a><span·class="lineno"><a·class="line"·href="a00380.html#a5b004009c0c7997b2330992534942c3b">··206</a></span><span·class="preprocessor">#define·DUNE_VERSION_NEWER_REV(module,major,minor,revision)·\</span></div>
 115 <div·class="line"><a·id="l00207"·name="l00207"></a><span·class="lineno">··207</span><span·class="preprocessor">··DUNE_VERSION_GTE_REV(module,major,minor,revision)</span></div>
 116 <div·class="line"><a·id="l00208"·name="l00208"></a><span·class="lineno">··208</span>·</div>
 117 <div·class="line"><a·id="l00223"·name="l00223"></a><span·class="lineno"><a·class="line"·href="a00380.html#ab892e2a1845da3fb29c5fb0cbe4d413f">··223</a></span><span·class="preprocessor">#define·DUNE_VERSION_GT_REV(module,major,minor,revision)·\</span></div>
 118 <div·class="line"><a·id="l00224"·name="l00224"></a><span·class="lineno">··224</span><span·class="preprocessor">··((DUNE_VERSION_JOIN(module,MAJOR)·&gt;·major)·\</span></div>
 119 <div·class="line"><a·id="l00225"·name="l00225"></a><span·class="lineno">··225</span><span·class="preprocessor">···||·((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&amp;&amp;·(DUNE_VERSION_JOIN(module,MINOR)·&gt;·minor))·\</span></div>
 120 <div·class="line"><a·id="l00226"·name="l00226"></a><span·class="lineno">··226</span><span·class="preprocessor">···||·((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&amp;&amp;·(DUNE_VERSION_JOIN(module,MINOR)·==·minor)·\</span></div>
 121 <div·class="line"><a·id="l00227"·name="l00227"></a><span·class="lineno">··227</span><span·class="preprocessor">·······&amp;&amp;·(DUNE_VERSION_JOIN(module,REVISION)·&gt;·revision)))</span></div>
 122 <div·class="line"><a·id="l00228"·name="l00228"></a><span·class="lineno">··228</span>·</div>
 123 <div·class="line"><a·id="l00243"·name="l00243"></a><span·class="lineno"><a·class="line"·href="a00380.html#a3e5db809b447136ea37c9c2ab3ea8c52">··243</a></span><span·class="preprocessor">#define·DUNE_VERSION_LTE_REV(module,major,minor,revision)·\</span></div>
 124 <div·class="line"><a·id="l00244"·name="l00244"></a><span·class="lineno">··244</span><span·class="preprocessor">··!·DUNE_VERSION_GT_REV(module,major,minor,revision)</span></div>
 125 <div·class="line"><a·id="l00245"·name="l00245"></a><span·class="lineno">··245</span>·</div>
 126 <div·class="line"><a·id="l00260"·name="l00260"></a><span·class="lineno"><a·class="line"·href="a00380.html#ae3ff9d66de4e43cbc5e67743013977c9">··260</a></span><span·class="preprocessor">#define·DUNE_VERSION_ID(major,minor,revision)·\</span></div>
 127 <div·class="line"><a·id="l00261"·name="l00261"></a><span·class="lineno">··261</span><span·class="preprocessor">··((unsigned·int)((major·&lt;&lt;·24)·+·(minor·&lt;&lt;·16)·+·revision))</span></div>
 128 <div·class="line"><a·id="l00262"·name="l00262"></a><span·class="lineno">··262</span>·</div>
 129 <div·class="line"><a·id="l00277"·name="l00277"></a><span·class="lineno"><a·class="line"·href="a00380.html#a2c5026c661a32b8cb9e0f92a4515c6c6">··277</a></span><span·class="preprocessor">#define·DUNE_MODULE_VERSION_ID(module)·\</span></div>
 130 <div·class="line"><a·id="l00278"·name="l00278"></a><span·class="lineno">··278</span><span·class="preprocessor">··DUNE_VERSION_ID(·DUNE_VERSION_JOIN(module,MAJOR),·DUNE_VERSION_JOIN(module,MINOR),·DUNE_VERSION_JOIN(module,REVISION)·)</span></div>
 131 <div·class="line"><a·id="l00279"·name="l00279"></a><span·class="lineno">··279</span>·</div>
79 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#endif</span></div>132 <div·class="line"><a·id="l00280"·name="l00280"></a><span·class="lineno">··280</span><span·class="preprocessor">#endif</span></div>
80 </div><!--·fragment·--></div><!--·contents·-->133 </div><!--·fragment·--></div><!--·contents·-->
81 <!--·start·footer·part·-->134 <!--·start·footer·part·-->
82 <hr·class="footer"/><address·class="footer"><small>135 <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.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
84 </small></address>137 </small></address>
85 </body>138 </body>
86 </html>139 </html>
3.28 KB
html2text {}
    
Offset 4, 22 lines modifiedOffset 4, 82 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 unused.hh7 version.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_UNUSED_HH 
15 ·6#define·DUNE_COMMON_UNUSED_HH14 ·5#ifndef·DUNE_VERSION_HH
 15 ·6#define·DUNE_VERSION_HH
16 ·716 ·7
17 21#define·DUNE_UNUSED_PARAMETER(param)·static_cast<void>(param)17 28#define·DUNE_VERSION_JOIN(module,type)·module·##·_VERSION_·##·type
 18 ·29
 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)
 34 ·100
 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 ·136
 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)
 56 ·190
 57 206#define·DUNE_VERSION_NEWER_REV(module,major,minor,revision)·\
 58 ·207·DUNE_VERSION_GTE_REV(module,major,minor,revision)
 59 ·208
 60 223#define·DUNE_VERSION_GT_REV(module,major,minor,revision)·\
 61 ·224·((DUNE_VERSION_JOIN(module,MAJOR)·>·major)·\
 62 ·225·||·((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&&·(DUNE_VERSION_JOIN
 63 (module,MINOR)·>·minor))·\
 64 ·226·||·((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&&·(DUNE_VERSION_JOIN
 65 (module,MINOR)·==·minor)·\
 66 ·227·&&·(DUNE_VERSION_JOIN(module,REVISION)·>·revision)))
 67 ·228
 68 243#define·DUNE_VERSION_LTE_REV(module,major,minor,revision)·\
 69 ·244·!·DUNE_VERSION_GT_REV(module,major,minor,revision)
 70 ·245
 71 260#define·DUNE_VERSION_ID(major,minor,revision)·\
 72 ·261·((unsigned·int)((major·<<·24)·+·(minor·<<·16)·+·revision))
 73 ·262
 74 277#define·DUNE_MODULE_VERSION_ID(module)·\
 75 ·278·DUNE_VERSION_ID(·DUNE_VERSION_JOIN(module,MAJOR),·DUNE_VERSION_JOIN
 76 (module,MINOR),·DUNE_VERSION_JOIN(module,REVISION)·)
 77 ·279
18 ·22#endif78 ·280#endif
  
19 ===============================================================================79 ===============================================================================
20 ·····Generated·by [doxygen]·1.9.480 ·····Generated·by [doxygen]·1.9.4
7.91 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:·streamoperators.hh·File·Reference</title>8 <title>dune-common:·iteratorrange.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, 34 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">streamoperators.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">iteratorrange.hh·File·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Implementation·of·stream·operators·for·std::array·and·std::tuple.·· 
76 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/> 
78 <code>#include·&lt;tuple&gt;</code><br·/> 
79 <code>#include·&lt;utility&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/hybridutilities.hh</a>&gt;</code><br·/> 
81 </div> 
82 <p><a·href="a00383_source.html">Go·to·the·source·code·of·this·file.</a></p>75 <p><a·href="a00383_source.html">Go·to·the·source·code·of·this·file.</a></p>
83 <table·class="memberdecls">76 <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">
84 <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>
85 Namespaces</h2></td></tr>84 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>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>
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>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>
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"> 
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: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> 
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> 
99 <tr·class="separator:ga724a26a744239bcf2c7cfd87bd6570ce"><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> 
103 <tr·class="separator:ga6ce3dfead28bdbf55cfec42171784831"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 </table>88 </table>
105 <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> 
107 </div></div><!--·contents·-->89 </div><!--·contents·-->
108 <!--·start·footer·part·-->90 <!--·start·footer·part·-->
109 <hr·class="footer"/><address·class="footer"><small>91 <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.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
111 </small></address>93 </small></address>
112 </body>94 </body>
113 </html>95 </html>
1.28 KB
html2text {}
    
Offset 4, 37 lines modifiedOffset 4, 21 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Namespaces·|·Functions7 Classes·|·Namespaces
8 streamoperators.hh·File·Reference8 iteratorrange.hh·File·Reference
9 Implementation·of·stream·operators·for·std::array·and·std::tuple.·More... 
10 #include·<array> 
11 #include·<tuple> 
12 #include·<utility> 
13 #include·<dune/common/hybridutilities.hh> 
14 Go_to_the_source_code_of_this_file.9 Go_to_the_source_code_of_this_file.
 10 ·Classes
 11 class· Dune::IteratorRange<_Iterator_>
 12  ······Simple·range·between·a·begin·and·an·end·iterator.·More...
 13  
15 ·Namespaces14 ·Namespaces
16 namespace· Dune15 namespace· Dune
17  ··········Dune·namespace.16  ··········Dune·namespace.
18  17  
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. 
  
34 ===============================================================================18 ===============================================================================
35 ·····Generated·by [doxygen]·1.9.419 ·····Generated·by [doxygen]·1.9.4
25.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a00383_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:·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, 78 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">streamoperators.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="a00383.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="a00383.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>
 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>
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="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</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="l00009"·name="l00009"></a><span·class="lineno">····9</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> 
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="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</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="a00065.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> 
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>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>
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#ga49e9aab7260e82c77e7fd410ecb339[·...·truncated·by·diffoscope;·len:·111,·SHA:·2d999ac5c4eadef5aa3868b9ccbf2c4fa001acb594aeed2334d8a7f5fecbdfb7·...·]</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>
89 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··{</div>83 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</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> 
92 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····{</div>84 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</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>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="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>
96 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····}</div>89 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</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>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:·18,·SHA:·a7042cf5623eaacc83d10bde506f96db45ded8d43a99ffbb3e88e0ca4d1051fd·...·]>;</div>
98 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keywordflow">return</span>·stream;</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>
99 <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>····{}</div>
100 <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>
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#ga724a26a744239bcf2c7cfd87bd6570[·...·truncated·by·diffoscope;·len:·75,·SHA:·26d7e10b72b990246a7a897fcb90ea979dcfbaa3ab0420a61af45f86bb9e5e9f·...·])</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>
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>
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>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[·...·truncated·by·diffoscope;·len:·95,·SHA:·b00468c312f58802257d17776eff07daab2059c5a704f45053bed2195994e381·...·]</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>101 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</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>·stream;</div>102 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······<span·class="keywordflow">return</span>·_begin;</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>103 <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>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>
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>106 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</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>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>
114 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····{</div>109 <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>110 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">private</span>:</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>111 <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>······stream&lt;&lt;a[N-1];</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>
118 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····}</div>115 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</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> 
120 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keywordflow">return</span>·stream;</div> 
121 <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>
122 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>117 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</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> 
124 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>118 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
125 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="preprocessor">#endif</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>
126 <div·class="ttc"·id="aa00065_html"><div·class="ttname"><a·href="a00065.html">hybridutilities.hh</a></div></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...·&gt;·&amp;t)</div><div·class="ttdoc">Read·a·std::tuple.</div><div·class="ttdef"><b>Definition:</b>·streamoperators.hh:43</div></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·class="ttdoc">Range·based·for·loop.</div><div·class="ttdef"><b>Definition:</b>·hybridutilities.hh:268</div></div> 
129 <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> 
130 <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>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>
131 <div·class="ttc"·id="aa00425_html_a422c8e50ed4f40b534187b8fb83fbf3d"><div·class="ttname"><a·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">Dune::get</a></div><div·class="ttdeci">Reference·get(const·RAPropertyMapHelper&lt;·Reference,·PropertyMap·&gt;·&amp;pmap,·const·Key·&am[·...·truncated·by·diffoscope;·len:·67,·SHA:·865a605e72b856f2f4119e3a6d94d0036bfa8aba5da0f26f1d208479e85810ed·...·]</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>
132 </div><!--·fragment·--></div><!--·contents·-->128 </div><!--·fragment·--></div><!--·contents·-->
133 <!--·start·footer·part·-->129 <!--·start·footer·part·-->
134 <hr·class="footer"/><address·class="footer"><small>130 <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.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
136 </small></address>132 </small></address>
137 </body>133 </body>
138 </html>134 </html>
3.97 KB
html2text {}
    
Offset 4, 87 lines modifiedOffset 4, 92 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 streamoperators.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_ITERATORRANGE_HH
 15 ·6#define·DUNE_COMMON_ITERATORRANGE_HH
 16 ·7
14 ·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 
24 ·19namespace·Dune17 ·8namespace·Dune·{
25 ·20{ 
26 ·27·template<typename·Stream,·typename...·Ts> 
27 28·inline·Stream&·operator<<(Stream&·stream,·const·std::tuple<Ts...>&·t)18 ·9
 19 ·11
 20 ·20·template<typename·Iterator>
 21 21·class·IteratorRange
28 ·29·{22 ·22·{
29 ·30·stream<<"["; 
30 ·31·if(sizeof...(Ts)>0) 
31 ·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); 
35 ·36·} 
36 ·37·stream<<"]"; 
37 ·38·return·stream;23 ·23
 24 ·24·public:
 25 ·25
 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)
38 ·39·}34 ·39·{}
39 ·4035 ·40
40 ·42·template<typename·Stream,·typename...·Ts> 
41 43·inline·Stream&·operator>>(Stream&·stream,·std::tuple<Ts...>&·t)36 42·IteratorRange()
 37 ·43·{}
 38 ·44
 39 46·iterator·begin()·const
42 ·44·{40 ·47·{
 41 ·48·return·_begin;
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·}42 ·49·}
 43 ·50
 44 52·iterator·end()·const
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·{45 ·53·{
51 ·54·stream<<"["; 
52 ·55·if(N>0)46 ·54·return·_end;
 47 ·55·}
53 ·56·{48 ·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;49 ·57·private:
 50 ·58
 51 ·59·Iterator·_begin;
 52 ·60·Iterator·_end;
 53 ·61
 54 ·62·};
60 ·63·}55 ·63
61 ·6456 ·64}
 57 ·65
 58 ·66#endif·//·DUNE_COMMON_ITERATORRANGE_HH
62 ·67}·//·end·namespace·Dune 
63 ·68 
64 ·69#endif 
65 hybridutilities.hh 
66 Dune::operator>> 
67 Stream·&·operator>>(Stream·&stream,·std::tuple<·Ts...·>·&t) 
68 Read·a·std::tuple. 
69 Definition:·streamoperators.hh:43 
70 Dune::Hybrid::forEach 
71 constexpr·void·forEach(Range·&&range,·F·&&f) 
72 Range·based·for·loop. 
73 Definition:·hybridutilities.hh:268 
74 Dune::operator<< 
75 std::ostream·&·operator<<(std::ostream·&s,·const·bigunsignedint<·k·>·&x) 
76 Definition:·bigunsignedint.hh:278 
77 Dune59 Dune
78 Dune·namespace.60 Dune·namespace.
79 Definition:·alignedallocator.hh:1361 Definition:·alignedallocator.hh:13
80 Dune::get 
81 Reference·get(const·RAPropertyMapHelper<·Reference,·PropertyMap·>·&pmap,·const 
82 Key·&key) 
83 Definition:·propertymap.hh:8462 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.
Max diff block lines reached; 116/4040 bytes (2.87%) of diff not shown.
23.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:·typetraits.hh·File·Reference</title>8 <title>dune-common:·quadmath.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, 137 lines modifiedOffset 62, 19 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">quadmath.hh·File·Reference</div></div>
74 </div><!--header-->69 </div><!--header-->
75 <div·class="contents">70 <div·class="contents">
  
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·/> 
81 <code>#include·&lt;vector&gt;</code><br·/> 
82 </div> 
83 <p><a·href="a00386_source.html">Go·to·the·source·code·of·this·file.</a></p>71 <p><a·href="a00386_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> 
162 <tr·class="separator:ga6a3de1d2dbd47536c4b007d3a3b108a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
163 <tr·class="memitem:gaadd3a3e69d0220b41bb40ebc442d79ae"><td·class="memTemplParams"·colspan="2">template&lt;class·Type·&gt;·</td></tr> 
164 <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> 
165 <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> 
166 <tr·class="separator:gaadd3a3e69d0220b41bb40ebc442d79ae"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
167 <tr·class="memitem:ga48aa0bb0268c390d251495eabdac4ae6"><td·class="memTemplParams"·colspan="2">template&lt;class·Type·&gt;·</td></tr> 
168 <tr·class="memitem:ga48aa0bb0268c390d251495eabdac4ae6"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga48aa0bb0268c390d251495eabdac4ae6">Dune::real_t</a>·=·typename·FieldTraits&lt;·Type·&gt;::real_type</td></tr> 
169 <tr·class="memdesc:ga48aa0bb0268c390d251495eabdac4ae6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Convenient·access·to·<a·class="el"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63"·title="export·the·type·representing·the·real·type·of·the·field">FieldTraits&lt;Type&gt;::real_type</a>.··<a·href="a00406.html#ga48aa0bb0268c390d251495eabdac4ae6">More...</a><br·/></td></tr> 
170 <tr·class="separator:ga48aa0bb0268c390d251495eabdac4ae6"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
Max diff block lines reached; 243/19346 bytes (1.26%) of diff not shown.
4.22 KB
html2text {}
    
Offset 4, 123 lines modifiedOffset 4, 12 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 quadmath.hh·File·Reference
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> 
13 #include·<vector> 
14 Go_to_the_source_code_of_this_file.8 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·***** 
117 Traits·for·type·conversions·and·type·information. 
118 ··Author 
119 ······Markus·Blatt,·Christian·Engwer 
  
120 ===============================================================================9 ===============================================================================
121 ·····Generated·by [doxygen]·1.9.410 ·····Generated·by [doxygen]·1.9.4
174 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:·typetraits.hh·Source·File</title>8 <title>dune-common:·quadmath.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, 383 lines modifiedOffset 62, 492 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">typetraits.hh</div></div>68 ··<div·class="headertitle"><div·class="title">quadmath.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_TYPETRAITS_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_QUADMATH_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>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_QUADMATH_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·HAVE_QUADMATH</span></div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;quadmath.h&gt;</span></div>
 80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</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>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;cmath&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;istream&gt;</span></div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;ostream&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>87 <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;utility&gt;</span></div>88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</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> 
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="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="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;<a·class="code"·href="a00341.html">dune/common/exceptions.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="a00014.html">dune/common/typetraits.hh</a>&gt;</span></div>
 92 <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="keyword">class</span>...&gt;</div>93 <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>{</div>
90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····<span·class="keyword">struct·</span>voider</div>95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">namespace·</span>Impl</div>
91 <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>
 97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="comment">//·forward·declaration</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>98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keyword">class·</span>Float128;</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>··}</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="l00030"·name="l00030"></a><span·class="lineno">···30</span>··}·<span·class="comment">//·end·namespace·Impl</span></div>
96 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</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">using·</span>Impl::Float128;</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="comment">//·The·purpose·of·this·namespace·is·to·move·the·`&lt;cmath&gt;`·function·overloads</span></div>
 105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="comment">//·out·of·namespace·`Dune`,·see·AlignedNumber·in·debugalign.hh.</span></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>106 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">namespace·</span>Impl</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[·...·truncated·by·diffoscope;·len:·77,·SHA:·d12a16514cfb81920bebfcd6518f0264c88026844ba7bdc69cecf16508da30e3·...·]</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="keyword">using·</span>float128_t·=·__float128;</div>
 109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 110 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">class·</span>Float128</div>
 111 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····{</div>
 112 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······float128_t·value_·=·0.0q;</div>
99 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>113 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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>114 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">public</span>:</div>
 115 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······<span·class="keyword">constexpr</span>·Float128()·=·<span·class="keywordflow">default</span>;</div>
 116 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······<span·class="keyword">constexpr</span>·Float128(<span·class="keyword">const</span>·float128_t&amp;·value)·noexcept</div>
 117 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>········:·value_(value)</div>
 118 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······{}</div>
101 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>119 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
 120 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="comment">//·constructor·from·any·floating-point·or·integer·type</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>121 <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>T,</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>122 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········std::enable_if_t&lt;std::is_arithmetic&lt;T&gt;::value,·<span·class="keywordtype">int</span>&gt;·=·0&gt;</div>
 123 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······<span·class="keyword">constexpr</span>·Float128(<span·class="keyword">const</span>·T&amp;·value)·noexcept</div>
 124 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········:·value_(value)</div>
 125 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>······{}</div>
 126 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 127 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······<span·class="comment">//·constructor·from·pointer·to·null-terminated·byte·string</span></div>
 128 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······<span·class="keyword">explicit</span>·Float128(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·str)·noexcept</div>
 129 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········:·value_(strtoflt128(str,·NULL))</div>
 130 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······{}</div>
 131 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 132 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="comment">//·accessors</span></div>
 133 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keyword">constexpr</span>·<span·class="keyword">operator</span>·float128_t()·const·noexcept·{·<span·class="keywordflow">return</span>·value_;·}</div>
104 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··{</div>134 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 135 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······<span·class="keyword">constexpr</span>·float128_t·<span·class="keyword">const</span>&amp;·value()·const·noexcept·{·<span·class="keywordflow">return</span>·value_;·}</div>
 136 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······<span·class="keyword">constexpr</span>·float128_t&amp;·······value()·noexcept·······{·<span·class="keywordflow">return</span>·value_;·}</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="code·hl_variable"·href="a03088.html#ad72797bbca9b1a1c6db62e076608b8d6">value</a>·=·std::is_convertible&lt;T1,T2&gt;::value·||·std::is_convertible&lt;T2,T1&gt;::value;</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>137 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 138 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="comment">//·I/O</span></div>
 139 <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>·CharT,·<span·class="keyword">class</span>·Traits&gt;</div>
 140 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······<span·class="keyword">friend</span>·std::basic_istream&lt;CharT,·Traits&gt;&amp;</div>
 141 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······<a·class="code·hl_function"·href="a00397.html#ga724a26a744239bcf2c7cfd87bd6570ce">operator&gt;&gt;</a>(std::basic_istream&lt;CharT,·Traits&gt;&amp;·in,·Float128&amp;·x)</div>
 142 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······{</div>
 143 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········std::string·buf;</div>
 144 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········buf.reserve(128);</div>
 145 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········in·&gt;&gt;·buf;</div>
 146 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········x.value()·=·strtoflt128(buf.c_str(),·NULL);</div>
 147 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········<span·class="keywordflow">return</span>·in;</div>
 148 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······}</div>
 149 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 150 <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>·CharT,·<span·class="keyword">class</span>·Traits&gt;</div>
 151 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······<span·class="keyword">friend</span>·std::basic_ostream&lt;CharT,·Traits&gt;&amp;</div>
 152 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······<a·class="code·hl_function"·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">operator&lt;&lt;</a>(std::basic_ostream&lt;CharT,·Traits&gt;&amp;·out,·<span·class="keyword">const</span>·Float128&amp;·x)</div>
 153 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······{</div>
 154 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········<span·class="keyword">const</span>·std::size_t·bufSize·=·128;</div>
 155 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>········CharT·buf[128];</div>
Max diff block lines reached; 120425/147906 bytes (81.42%) of diff not shown.
29.8 KB
html2text {}
    
Offset 4, 464 lines modifiedOffset 4, 542 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 typetraits.hh7 quadmath.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_TYPETRAITS_HH 
15 ·6#define·DUNE_TYPETRAITS_HH14 ·5#ifndef·DUNE_QUADMATH_HH
 15 ·6#define·DUNE_QUADMATH_HH
16 ·716 ·7
17 ·8#include·<complex>17 ·8#if·HAVE_QUADMATH
 18 ·9#include·<quadmath.h>
 19 ·10
 20 ·11#include·<cmath>
 21 ·12#include·<cstddef>
 22 ·13#include·<cstdint>
 23 ·14#include·<cstdlib>·//·abs
 24 ·15#include·<istream>
 25 ·16#include·<ostream>
18 ·9#include·<type_traits>26 ·17#include·<type_traits>
19 ·10#include·<utility>27 ·18#include·<utility>
20 ·11#include·<vector> 
21 ·12 
22 ·13namespace·Dune 
23 ·14{ 
24 ·15 
25 ·16·namespace·Impl 
26 ·17·{ 
27 ·1928 ·19
28 ·23·template·<class...> 
29 ·24·struct·voider29 ·20#include·<dune/common/exceptions.hh>
 30 ·21#include·<dune/common/typetraits.hh>
 31 ·22
 32 ·23namespace·Dune
 33 ·24{
 34 ·25·namespace·Impl
30 ·25·{35 ·26·{
 36 ·27·//·forward·declaration
 37 ·28·class·Float128;
31 ·26·using·type·=·void; 
32 ·27·}; 
33 ·28·} 
34 ·2938 ·29
 39 ·30·}·//·end·namespace·Impl
35 ·3140 ·31
36 ·39·template·<class...·Types> 
37 40·using·void_t·=·typename·Impl::voider<Types...>::type; 
38 ·41 
39 55·struct·Empty·{}; 
40 ·5641 ·32·using·Impl::Float128;
 42 ·33
 43 ·34·//·The·purpose·of·this·namespace·is·to·move·the·`<cmath>`·function
 44 overloads
 45 ·35·//·out·of·namespace·`Dune`,·see·AlignedNumber·in·debugalign.hh.
 46 ·36·namespace·Impl
 47 ·37·{
 48 ·38·using·float128_t·=·__float128;
 49 ·39
 50 ·41·class·Float128
 51 ·42·{
 52 ·43·float128_t·value_·=·0.0q;
 53 ·44
 54 ·45·public:
 55 ·46·constexpr·Float128()·=·default;
 56 ·47·constexpr·Float128(const·float128_t&·value)·noexcept
 57 ·48·:·value_(value)
 58 ·49·{}
 59 ·50
 60 ·51·//·constructor·from·any·floating-point·or·integer·type
 61 ·52·template·<class·T,
 62 ·53·std::enable_if_t<std::is_arithmetic<T>::value,·int>·=·0>
 63 ·54·constexpr·Float128(const·T&·value)·noexcept
 64 ·55·:·value_(value)
 65 ·56·{}
 66 ·57
 67 ·58·//·constructor·from·pointer·to·null-terminated·byte·string
 68 ·59·explicit·Float128(const·char*·str)·noexcept
 69 ·60·:·value_(strtoflt128(str,·NULL))
 70 ·61·{}
 71 ·62
 72 ·63·//·accessors
 73 ·64·constexpr·operator·float128_t()·const·noexcept·{·return·value_;·}
 74 ·65
 75 ·66·constexpr·float128_t·const&·value()·const·noexcept·{·return·value_;·}
 76 ·67·constexpr·float128_t&·value()·noexcept·{·return·value_;·}
 77 ·68
 78 ·69·//·I/O
41 ·63·template<class·T1,·class·T2>79 ·70·template<class·CharT,·class·Traits>
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> 
51 ·81·{}; 
52 ·8280 ·71·friend·std::basic_istream<CharT,·Traits>&
 81 ·72·operator>>(std::basic_istream<CharT,·Traits>&·in,·Float128&·x)
 82 ·73·{
 83 ·74·std::string·buf;
 84 ·75·buf.reserve(128);
 85 ·76·in·>>·buf;
 86 ·77·x.value()·=·strtoflt128(buf.c_str(),·NULL);
 87 ·78·return·in;
 88 ·79·}
 89 ·80
 90 ·81·template<class·CharT,·class·Traits>
 91 ·82·friend·std::basic_ostream<CharT,·Traits>&
 92 ·83·operator<<(std::basic_ostream<CharT,·Traits>&·out,·const·Float128&·x)
 93 ·84·{
 94 ·85·const·std::size_t·bufSize·=·128;
 95 ·86·CharT·buf[128];
 96 ·87
 97 ·88·std::string·format·=·"%."·+·std::to_string(out.precision())·+·"Q"·+
 98 ·89·((out.flags()·|·std::ios_base::scientific)·?·"e"·:·"f");
 99 ·90·const·int·numChars·=·quadmath_snprintf(buf,·bufSize,·format.c_str(),
 100 x.value());
Max diff block lines reached; 25596/30479 bytes (83.98%) of diff not shown.
5.11 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:·parametertreeparser.cc·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 62, 28 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="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">matvectraits.hh·File·Reference</div></div>
69 </div><!--header-->72 </div><!--header-->
70 <div·class="contents">73 <div·class="contents">
71 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00209_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·/> 
79 <code>#include·&lt;map&gt;</code><br·/> 
80 <code>#include·&lt;algorithm&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
 74 <p>Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation·of·DenseVector·or·DenseMatrix.··
 75 <a·href="#details">More...</a></p>
  
 76 <p><a·href="a00389_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="a01968.html">Dune::DenseMatVecTraits&lt;·T·&gt;</a></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>
 84 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>
 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>
 87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 88 </table>
 89 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 90 <div·class="textblock"><p·>Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation·of·DenseVector·or·DenseMatrix.·</p>
82 </div></div><!--·contents·-->91 </div></div><!--·contents·-->
83 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
84 <hr·class="footer"/><address·class="footer"><small>93 <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.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
86 </small></address>95 </small></address>
87 </body>96 </body>
88 </html>97 </html>
966 B
html2text {}
    
Offset 4, 22 lines modifiedOffset 4, 25 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> 
11 #include·<ostream> 
12 #include·<string> 
13 #include·<sstream> 
14 #include·<fstream> 
15 #include·<set> 
16 #include·<map> 
17 #include·<algorithm> 
18 #include·<dune/common/exceptions.hh>7 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...
 11 Go_to_the_source_code_of_this_file.
 12 ·Classes
 13 struct· Dune::DenseMatVecTraits<_T_>
 14  
 15 ·Namespaces
 16 namespace· Dune
 17  ··········Dune·namespace.
 18  
 19 *****·Detailed·Description·*****
 20 Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation
 21 of·DenseVector·or·DenseMatrix.
  
19 ===============================================================================22 ===============================================================================
20 ·····Generated·by [doxygen]·1.9.423 ·····Generated·by [doxygen]·1.9.4
17.1 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:·concept.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, 89 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 <a·href="#func-members">Functions</a>··</div> 
73 ··<div·class="headertitle"><div·class="title">concept.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">ftraits.hh·File·Reference</div></div>
74 </div><!--header-->73 </div><!--header-->
75 <div·class="contents">74 <div·class="contents">
  
76 <p>Infrastructure·for·concepts.··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;type_traits&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;complex&gt;</code><br·/>
79 <code>#include·&lt;utility&gt;</code><br·/> 
80 <code>#include·&lt;tuple&gt;</code><br·/>78 <code>#include·&lt;vector&gt;</code><br·/>
81 <code>#include·&lt;<a·class="el"·href="a00158_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00197_source.html">dune/common/typelist.hh</a>&gt;</code><br·/> 
83 <code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code><br·/> 
84 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/> 
85 </div>79 </div>
86 <p><a·href="a00392_source.html">Go·to·the·source·code·of·this·file.</a></p>80 <p><a·href="a00392_source.html">Go·to·the·source·code·of·this·file.</a></p>
87 <table·class="memberdecls">81 <table·class="memberdecls">
88 <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>
89 Classes</h2></td></tr>83 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="a01348.html">Dune::Concept::Refines&lt;·BaseConcepts·&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>
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>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="a01744.html">Dune::FieldTraits&lt;·const·T·&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="a01748.html">Dune::FieldTraits&lt;·std::complex&lt;·T·&gt;·&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="a01752.html">Dune::FieldTraits&lt;·T[N]·&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="a01756.html">Dune::FieldTraits&lt;·std::vector&lt;·T·&gt;·&gt;</a></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>
93 </table><table·class="memberdecls">94 </table><table·class="memberdecls">
94 <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>
95 Namespaces</h2></td></tr>96 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>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>
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="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>99 <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> 
142 </table>100 </table>
143 <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>
144 <div·class="textblock"><p·>Infrastructure·for·concepts.·</p>102 <div·class="textblock"><p·>Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)·</p>
145 </div></div><!--·contents·-->103 </div></div><!--·contents·-->
146 <!--·start·footer·part·-->104 <!--·start·footer·part·-->
147 <hr·class="footer"/><address·class="footer"><small>105 <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.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
149 </small></address>107 </small></address>
150 </body>108 </body>
151 </html>109 </html>
3.12 KB
html2text {}
    
Offset 4, 81 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·|·Functions7 Classes·|·Namespaces
8 concept.hh·File·Reference8 ftraits.hh·File·Reference
 9 Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)
 10 More...
9 Infrastructure·for·concepts.·More... 
10 #include·<type_traits> 
11 #include·<utility> 
12 #include·<tuple>11 #include·<complex>
 12 #include·<vector>
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.13 Go_to_the_source_code_of_this_file.
18 ·Classes14 ·Classes
19 struct· Dune::Concept::Refines<_BaseConcepts_> 
20  ·······Base·class·for·refined·concepts.·More...15 struct· Dune::FieldTraits<_T_>
 16  
 17 struct· Dune::FieldTraits<_const_T_>
 18  
 19 struct· Dune::FieldTraits<_std::complex<_T_>_>
 20  
 21 struct· Dune::FieldTraits<_T[N]_>
 22  
 23 struct· Dune::FieldTraits<_std::vector<_T_>_>
21  24  
22 ·Namespaces25 ·Namespaces
23 namespace· Dune26 namespace· Dune
24  ··········Dune·namespace.27  ··········Dune·namespace.
25  28  
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   
76 *****·Detailed·Description·*****29 *****·Detailed·Description·*****
77 Infrastructure·for·concepts.30 Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)
  
78 ===============================================================================31 ===============================================================================
79 ·····Generated·by [doxygen]·1.9.432 ·····Generated·by [doxygen]·1.9.4
77.2 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:·concept.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, 310 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">concept.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="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="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_CONCEPT_HH</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_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_FTRAITS_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;utility&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="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>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</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="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="preprocessor">#include·&lt;<a·class="code"·href="a00158.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="a00197.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="a00131.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="a00113.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>·</div>82 <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>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>
88 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>89 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</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="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</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>
90 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>92 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</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#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;T&gt;::real_type</a>·<a·class="code·hl_typedef"·href="a01744.html#aa363d2f65a2c96d056733f6cd8cc7f15">real_type</a>;</div>
 95 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··};</div>
91 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>96 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</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>
 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>
 106 <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>
92 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>110 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</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>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>
 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>
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>113 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··{</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>
98 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>116 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</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>117 <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>118 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>}·<span·class="comment">//·end·namespace·Dune</span></div>
103 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>119 <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> 
Max diff block lines reached; 7507/64904 bytes (11.57%) of diff not shown.
13.7 KB
html2text {}
    
Offset 4, 369 lines modifiedOffset 4, 102 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 concept.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_COMMON_CONCEPT_HH 
15 ·6#define·DUNE_COMMON_CONCEPT_HH14 ·5#ifndef·DUNE_FTRAITS_HH
 15 ·6#define·DUNE_FTRAITS_HH
16 ·716 ·7
17 ·8#include·<type_traits> 
18 ·9#include·<utility> 
19 ·10#include·<tuple>17 ·12#include·<complex>
 18 ·13#include·<vector>
 19 ·14
 20 ·15namespace·Dune·{
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> 
25 ·1621 ·16
26 ·23namespace·Dune·{ 
27 ·24 
28 34namespace·Concept·{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>
29 ·3531 ·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·DOXYGEN32 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>·>
 38 ·42·{
 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 50·typedef·typename·FieldTraits<T>::field_type·field_type;
 47 51·typedef·typename·FieldTraits<T>::real_type·real_type;
 48 ·52·};
 49 ·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·};
40 ·6056 ·60
41 ·61namespace·Impl·{57 ·61}·//·end·namespace·Dune
42 ·6258 ·62
 59 ·63#endif·//·DUNE_FTRAITS_HH
 60 std
 61 STL·namespace.
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 
Max diff block lines reached; 2533/13972 bytes (18.13%) of diff not shown.
3.23 KB
./usr/share/doc/libdune-common-doc/doxygen/a00396.html
    
Offset 73, 23 lines modifiedOffset 73, 23 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="a00290.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="a00182.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="a00290.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="a00182.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="a00146.html">simd.hh</a>··</dt>87 <dt>File·<a·class="el"·href="a00296.html">simd.hh</a>··</dt>
88 <dd><a·class="anchor"·id="_deprecated000007"></a>Use·the·newer·simd·architecture·from·<a·class="el"·href="a04442.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
95 </small></address>95 </small></address>
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:a00176"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00176.html">function.hh</a></td></tr>129 <tr·class="memitem:a00161"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00161.html">function.hh</a></td></tr>
130 <tr·class="memdesc:a00176"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Simple·base·class·templates·for·functions.·<br·/></td></tr>130 <tr·class="memdesc:a00161"><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:a00077"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html">indent.hh</a></td></tr>132 <tr·class="memitem:a00140"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00140.html">indent.hh</a></td></tr>
133 <tr·class="memdesc:a00077"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·class·for·handling·nested·indentation·in·output.·<br·/></td></tr>133 <tr·class="memdesc:a00140"><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:a00227"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00227.html">ios_state.hh</a></td></tr>135 <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">ios_state.hh</a></td></tr>
136 <tr·class="memdesc:a00227"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·class·for·storing·and·resetting·stream·attributes.·<br·/></td></tr>136 <tr·class="memdesc:a00176"><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:a00284"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00284.html">sllist.hh</a></td></tr>138 <tr·class="memitem:a00326"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00326.html">sllist.hh</a></td></tr>
139 <tr·class="memdesc:a00284"><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:a00326"><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:a00371"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00371.html">timer.hh</a></td></tr>141 <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">timer.hh</a></td></tr>
142 <tr·class="memdesc:a00371"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·simple·timing·class.·<br·/></td></tr>142 <tr·class="memdesc:a00338"><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:a00257"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00257.html">path.cc</a></td></tr>86 <tr·class="memitem:a00221"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00221.html">path.cc</a></td></tr>
87 <tr·class="memdesc:a00257"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utilities·for·handling·filesystem·paths.·<br·/></td></tr>87 <tr·class="memdesc:a00221"><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:a00029"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00029.html">path.hh</a></td></tr>89 <tr·class="memitem:a00158"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00158.html">path.hh</a></td></tr>
90 <tr·class="memdesc:a00029"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utilities·for·handling·filesystem·paths.·<br·/></td></tr>90 <tr·class="memdesc:a00158"><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:a00131"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00131.html">tupleutility.hh</a></td></tr>88 <tr·class="memitem:a00200"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00200.html">tupleutility.hh</a></td></tr>
89 <tr·class="memdesc:a00131"><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:a00200"><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:a00023"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00023.html">keywords.hh</a></td></tr>92 <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">keywords.hh</a></td></tr>
93 <tr·class="memdesc:a00023"><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:a00320"><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:a00167"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00167.html">proxymemberaccess.hh</a></td></tr>95 <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">proxymemberaccess.hh</a></td></tr>
96 <tr·class="memdesc:a00167"><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:a00017"><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:a00377"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00377.html">debugstream.hh</a></td></tr>93 <tr·class="memitem:a00095"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00095.html">debugstream.hh</a></td></tr>
94 <tr·class="memdesc:a00377"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Defines·several·output·streams·for·messages·of·different·importance.·<br·/></td></tr>94 <tr·class="memdesc:a00095"><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.75 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:a00053"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html">densematrix.hh</a></td></tr>91 <tr·class="memitem:a00350"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00350.html">densematrix.hh</a></td></tr>
92 <tr·class="memdesc:a00053"><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:a00350"><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:a00125"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html">densevector.hh</a></td></tr>94 <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">densevector.hh</a></td></tr>
95 <tr·class="memdesc:a00125"><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:a00107"><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:a00191"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00191.html">dynmatrix.hh</a></td></tr>97 <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">dynmatrix.hh</a></td></tr>
98 <tr·class="memdesc:a00191"><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:a00104"><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:a00236"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00236.html">dynvector.hh</a></td></tr>100 <tr·class="memitem:a00110"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00110.html">dynvector.hh</a></td></tr>
101 <tr·class="memdesc:a00236"><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:a00110"><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:a00164"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00164.html">fmatrix.hh</a></td></tr>103 <tr·class="memitem:a00311"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00311.html">fmatrix.hh</a></td></tr>
104 <tr·class="memdesc:a00164"><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:a00311"><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:a00206"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html">fvector.hh</a></td></tr>106 <tr·class="memitem:a00302"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00302.html">fvector.hh</a></td></tr>
107 <tr·class="memdesc:a00206"><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:a00302"><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:a00068"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00068.html">scalarmatrixview.hh</a></td></tr>109 <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">scalarmatrixview.hh</a></td></tr>
110 <tr·class="memdesc:a00068"><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:a00347"><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:a00056"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00056.html">scalarvectorview.hh</a></td></tr>112 <tr·class="memitem:a00155"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00155.html">scalarvectorview.hh</a></td></tr>
113 <tr·class="memdesc:a00056"><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:a00155"><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:a00143"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00143.html">exceptions.hh</a></td></tr>86 <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">exceptions.hh</a></td></tr>
87 <tr·class="memdesc:a00143"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·few·common·exception·classes.·<br·/></td></tr>87 <tr·class="memdesc:a00341"><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="a00143.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="a00341.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="a00314.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a>·()·{</div>177 <div·class="line">int·<a·class="code·hl_function"·href="a00077.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="aa00077_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00077.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>
188 <div·class="ttc"·id="aa00143_html"><div·class="ttname"><a·href="a00143.html">exceptions.hh</a></div><div·class="ttdoc">A·few·common·exception·classes.</div></div>189 <div·class="ttc"·id="aa00341_html"><div·class="ttname"><a·href="a00341.html">exceptions.hh</a></div><div·class="ttdoc">A·few·common·exception·classes.</div></div>
189 <div·class="ttc"·id="aa00314_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00314.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> 
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="a00143.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="a00341.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="a00143.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="a00341.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. 
105 main103 main
106 int·main(int·argc,·char·**argv)104 int·main(int·argc,·char·**argv)
107 Definition:·mpi_collective_benchmark.cc:293105 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="a00182.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="a00011.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="aa00182_html"><div·class="ttname"><a·href="a00182.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="aa00011_html"><div·class="ttname"><a·href="a00011.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:a00341"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00341.html">communication.hh</a></td></tr>97 <tr·class="memitem:a00071"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00071.html">communication.hh</a></td></tr>
98 <tr·class="memdesc:a00341"><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:a00071"><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:a00341"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00341.html">communication.hh</a></td></tr>100 <tr·class="memitem:a00071"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00071.html">communication.hh</a></td></tr>
101 <tr·class="memdesc:a00341"><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:a00071"><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:a00362"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00362.html">mpicommunication.hh</a></td></tr>103 <tr·class="memitem:a00083"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html">mpicommunication.hh</a></td></tr>
104 <tr·class="memdesc:a00362"><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:a00083"><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:a00353"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00353.html">mpidata.hh</a></td></tr>106 <tr·class="memitem:a00080"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00080.html">mpidata.hh</a></td></tr>
107 <tr·class="memdesc:a00353"><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:a00080"><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:a00365"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00365.html">mpiguard.hh</a></td></tr>109 <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">mpiguard.hh</a></td></tr>
110 <tr·class="memdesc:a00365"><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:a00059"><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:a00344"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00344.html">mpihelper.hh</a></td></tr>112 <tr·class="memitem:a00041"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00041.html">mpihelper.hh</a></td></tr>
113 <tr·class="memdesc:a00344"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helpers·for·dealing·with·MPI.·<br·/></td></tr>113 <tr·class="memdesc:a00041"><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:a00368"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00368.html">mpipack.hh</a></td></tr>115 <tr·class="memitem:a00047"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00047.html">mpipack.hh</a></td></tr>
116 <tr·class="memdesc:a00368"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">See·MPI_Pack.·<br·/></td></tr>116 <tr·class="memdesc:a00047"><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:a00311"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00311.html">mpitraits.hh</a></td></tr>118 <tr·class="memitem:a00074"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00074.html">mpitraits.hh</a></td></tr>
119 <tr·class="memdesc:a00311"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Traits·classes·for·mapping·types·onto·MPI_Datatype.·<br·/></td></tr>119 <tr·class="memdesc:a00074"><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.41 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:a00320"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00320.html">communicator.hh</a></td></tr>91 <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">communicator.hh</a></td></tr>
92 <tr·class="memdesc:a00320"><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:a00029"><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:a00317"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">indexset.hh</a></td></tr>94 <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">indexset.hh</a></td></tr>
95 <tr·class="memdesc:a00317"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·a·map·between·global·and·local·indices.·<br·/></td></tr>95 <tr·class="memdesc:a00065"><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: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>97 <tr·class="memitem:a00089"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00089.html">indicessyncer.hh</a></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>98 <tr·class="memdesc:a00089"><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:a04445"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04445.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:a04445"><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:a00356"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00356.html">localindex.hh</a></td></tr>103 <tr·class="memitem:a00086"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00086.html">localindex.hh</a></td></tr>
104 <tr·class="memdesc:a00356"><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:a00086"><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:a00335"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00335.html">plocalindex.hh</a></td></tr>106 <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">plocalindex.hh</a></td></tr>
107 <tr·class="memdesc:a00335"><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:a00035"><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:a00323"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00323.html">remoteindices.hh</a></td></tr>109 <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">remoteindices.hh</a></td></tr>
110 <tr·class="memdesc:a00323"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Classes·describing·a·distributed·indexset.·<br·/></td></tr>110 <tr·class="memdesc:a00038"><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:a00338"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00338.html">selection.hh</a></td></tr>112 <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">selection.hh</a></td></tr>
113 <tr·class="memdesc:a00338"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·selecting·indices·based·on·attribute·flags.·<br·/></td></tr>113 <tr·class="memdesc:a00062"><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:a00359"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00359.html">variablesizecommunicator.hh</a></td></tr>115 <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">variablesizecommunicator.hh</a></td></tr>
116 <tr·class="memdesc:a00359"><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:a00056"><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.57 KB
./usr/share/doc/libdune-common-doc/doxygen/a00419.html
    
Offset 79, 19 lines modifiedOffset 79, 19 lines modified
79 <area·shape="rect"·href="a00417.html"·title="Abstractions·for·using·vectorization·libraries."·alt=""·coords="5,13,103,38"/>79 <area·shape="rect"·href="a00417.html"·title="Abstractions·for·using·vectorization·libraries."·alt=""·coords="5,13,103,38"/>
80 <area·shape="rect"·title="How·to·support·vectorization·in·Dune·classes."·alt=""·coords="151,5,285,45"/>80 <area·shape="rect"·title="How·to·support·vectorization·in·Dune·classes."·alt=""·coords="151,5,285,45"/>
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:a04448"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04448.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:a04448"><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:a00278"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00278.html">io.hh</a></td></tr>89 <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">io.hh</a></td></tr>
90 <tr·class="memdesc:a00278"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">IO·interface·of·the·SIMD·abstraction.·<br·/></td></tr>90 <tr·class="memdesc:a00368"><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:a00272"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00272.html">base.hh</a></td></tr>87 <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">base.hh</a></td></tr>
88 <tr·class="memdesc:a00272"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Basic·definitions·for·SIMD·Implementations.·<br·/></td></tr>88 <tr·class="memdesc:a00365"><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:a00266"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00266.html">defaults.hh</a></td></tr>90 <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">defaults.hh</a></td></tr>
91 <tr·class="memdesc:a00266"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·implementations·for·SIMD·Implementations.·<br·/></td></tr>91 <tr·class="memdesc:a00359"><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.75 KB
./usr/share/doc/libdune-common-doc/doxygen/a00421.html
    
Offset 75, 21 lines modifiedOffset 75, 21 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:a00353"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00353.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:a00353"><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="a04442.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>
91 <li>etc.·</li>91 <li>etc.·</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>
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="a00050.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="a00332.html">dune/common/stdstreams.hh</a>&gt;</span></div>
287 <div·class="ttc"·id="aa00050_html"><div·class="ttname"><a·href="a00050.html">stdstreams.hh</a></div><div·class="ttdoc">Standard·Dune·debug·streams.</div></div>287 <div·class="ttc"·id="aa00332_html"><div·class="ttname"><a·href="a00332.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="a00050.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="a00332.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="a00050.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="a00332.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="a00050.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="a00332.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="a00050.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="a00332.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="a00050.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="a00332.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="a00230.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="a00164.html">dune/common/documentation.hh</a>&gt;</span></div>
1925 <div·class="ttc"·id="aa00230_html"><div·class="ttname"><a·href="a00230.html">documentation.hh</a></div><div·class="ttdoc">Documentation·related·stuff.</div></div>1925 <div·class="ttc"·id="aa00164_html"><div·class="ttname"><a·href="a00164.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="a00098.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="a00122.html">dune/common/shared_ptr.hh</a>&gt;</span></div>
4598 <div·class="ttc"·id="aa00098_html"><div·class="ttname"><a·href="a00098.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="aa00122_html"><div·class="ttname"><a·href="a00122.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="a00155_source.html">dune/common/alignedallocator.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00092_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="a00155_source.html">alignedallocator.hh</a></li>612 <li><a·class="el"·href="a00092_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="a00155_source.html">dune/common/alignedallocator.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00092_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="a00155_source.html">alignedallocator.hh</a></li>102 <li><a·class="el"·href="a00092_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="a00062_source.html">dune/common/arraylist.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00116_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="a00062_source.html">arraylist.hh</a></li>886 <li><a·class="el"·href="a00116_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="a00062_source.html">dune/common/arraylist.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00116_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="a00062_source.html">arraylist.hh</a></li>849 <li><a·class="el"·href="a00116_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="a00062_source.html">dune/common/arraylist.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00116_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,103,141,144"/>85 <area·shape="rect"·title="A·dynamically·growing·random·access·list."·alt=""·coords="5,103,141,144"/>
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="a00062_source.html">arraylist.hh</a></li>387 <li><a·class="el"·href="a00116_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="a00311_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00074_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="a00287_source.html">bigunsignedint.hh</a></li>150 <li><a·class="el"·href="a00206_source.html">bigunsignedint.hh</a></li>
151 <li><a·class="el"·href="a00311_source.html">mpitraits.hh</a></li>151 <li><a·class="el"·href="a00074_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="a00287_source.html">dune/common/bigunsignedint.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00206_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="a00287_source.html">bigunsignedint.hh</a></li>517 <li><a·class="el"·href="a00206_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00287_source.html">bigunsignedint.hh</a></li>93 <li><a·class="el"·href="a00206_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="a00287_source.html">dune/common/bigunsignedint.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00206_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="a00287_source.html">bigunsignedint.hh</a></li>88 <li><a·class="el"·href="a00206_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="a00287_source.html">dune/common/bigunsignedint.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00206_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="a00287_source.html">bigunsignedint.hh</a></li>878 <li><a·class="el"·href="a00206_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="a00245_source.html">dune/common/binaryfunctions.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00254_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="a00245_source.html">binaryfunctions.hh</a></li>181 <li><a·class="el"·href="a00254_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="a00245_source.html">dune/common/binaryfunctions.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00254_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="a00245_source.html">binaryfunctions.hh</a></li>181 <li><a·class="el"·href="a00254_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="a00203_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00020_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="a00203_source.html">bitsetvector.hh</a></li>926 <li><a·class="el"·href="a00020_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="a00203_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00020_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="a00203_source.html">bitsetvector.hh</a></li>1558 <li><a·class="el"·href="a00020_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="a00203_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00020_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="a00203_source.html">bitsetvector.hh</a></li>892 <li><a·class="el"·href="a00020_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="a00203_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00020_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="a00203_source.html">bitsetvector.hh</a></li>103 <li><a·class="el"·href="a00020_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="a00203_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00020_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="a00203_source.html">bitsetvector.hh</a></li>100 <li><a·class="el"·href="a00020_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="a00203_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00020_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="a00203_source.html">bitsetvector.hh</a></li>100 <li><a·class="el"·href="a00020_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="a00203_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00020_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="a00203_source.html">bitsetvector.hh</a></li>100 <li><a·class="el"·href="a00020_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="a00392_source.html">dune/common/concept.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00101_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="a00392_source.html">concept.hh</a></li>113 <li><a·class="el"·href="a00101_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="a00254_source.html">dune/common/debugalign.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00317_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="a00254_source.html">debugalign.hh</a></li>277 <li><a·class="el"·href="a00317_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="a00254_source.html">dune/common/debugalign.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00317_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="a00254_source.html">debugalign.hh</a></li>671 <li><a·class="el"·href="a00317_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="a00254_source.html">dune/common/debugalign.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00317_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="a00254_source.html">debugalign.hh</a></li>83 <li><a·class="el"·href="a00317_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="a00254_source.html">dune/common/debugalign.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00317_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="a00254_source.html">debugalign.hh</a></li>100 <li><a·class="el"·href="a00317_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="a00254_source.html">dune/common/debugalign.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00317_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="a00254_source.html">debugalign.hh</a></li>100 <li><a·class="el"·href="a00317_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="a00254_source.html">dune/common/debugalign.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00317_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="a00254_source.html">debugalign.hh</a></li>83 <li><a·class="el"·href="a00317_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="a00377_source.html">dune/common/debugstream.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00095_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="a00377_source.html">debugstream.hh</a></li>90 <li><a·class="el"·href="a00095_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="a00377_source.html">dune/common/debugstream.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00095_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="a00377_source.html">debugstream.hh</a></li>89 <li><a·class="el"·href="a00095_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="a00377_source.html">dune/common/debugstream.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00095_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="a00377_source.html">debugstream.hh</a></li>114 <li><a·class="el"·href="a00095_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="a00377_source.html">dune/common/debugstream.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00095_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="a00377_source.html">debugstream.hh</a></li>91 <li><a·class="el"·href="a00095_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="a00377_source.html">dune/common/debugstream.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00095_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="a00377_source.html">debugstream.hh</a></li>108 <li><a·class="el"·href="a00095_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="a00377_source.html">dune/common/debugstream.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00095_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="a00377_source.html">debugstream.hh</a></li>167 <li><a·class="el"·href="a00095_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="a00053_source.html">dune/common/densematrix.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00350_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,77,148,119"/>86 <area·shape="rect"·title="A·dense·n·x·m·matrix."·alt=""·coords="5,77,148,119"/>
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="a00053_source.html">densematrix.hh</a></li>2308 <li><a·class="el"·href="a00350_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="a00053_source.html">dune/common/densematrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00350_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="a00053_source.html">densematrix.hh</a></li>118 <li><a·class="el"·href="a00350_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="a00164_source.html">dune/common/fmatrix.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00311_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="a00053_source.html">densematrix.hh</a></li>2705 <li><a·class="el"·href="a00350_source.html">densematrix.hh</a></li>
2706 <li><a·class="el"·href="a00164_source.html">fmatrix.hh</a></li>2706 <li><a·class="el"·href="a00311_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="a00206_source.html">dune/common/fvector.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00302_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="a00053_source.html">densematrix.hh</a></li>2249 <li><a·class="el"·href="a00350_source.html">densematrix.hh</a></li>
2250 <li><a·class="el"·href="a00206_source.html">fvector.hh</a></li>2250 <li><a·class="el"·href="a00302_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="a00053_source.html">densematrix.hh</a></li>86 <li><a·class="el"·href="a00350_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="a00053_source.html">dune/common/densematrix.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00350_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="a00053_source.html">densematrix.hh</a></li>114 <li><a·class="el"·href="a00350_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="a00125_source.html">dune/common/densevector.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00107_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="a00125_source.html">densevector.hh</a></li>1946 <li><a·class="el"·href="a00107_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="a00125_source.html">dune/common/densevector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00107_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="a00125_source.html">densevector.hh</a></li>118 <li><a·class="el"·href="a00107_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="a00125_source.html">dune/common/densevector.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00107_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="a00125_source.html">densevector.hh</a></li>1163 <li><a·class="el"·href="a00107_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="a00194_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00293_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="a00194_source.html">diagonalmatrix.hh</a></li>177 <li><a·class="el"·href="a00293_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="a00194_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00293_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="a00194_source.html">diagonalmatrix.hh</a></li>199 <li><a·class="el"·href="a00293_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="a00194_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00293_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="a00194_source.html">diagonalmatrix.hh</a></li>92 <li><a·class="el"·href="a00293_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="a00194_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00293_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="a00194_source.html">diagonalmatrix.hh</a></li>631 <li><a·class="el"·href="a00293_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="a00194_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00293_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="a00194_source.html">diagonalmatrix.hh</a></li>325 <li><a·class="el"·href="a00293_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="a00194_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00293_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="a00194_source.html">diagonalmatrix.hh</a></li>85 <li><a·class="el"·href="a00293_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="a00194_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00293_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="a00194_source.html">diagonalmatrix.hh</a></li>83 <li><a·class="el"·href="a00293_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="a00194_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00293_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="a00194_source.html">diagonalmatrix.hh</a></li>83 <li><a·class="el"·href="a00293_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="a00194_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00293_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="a00194_source.html">diagonalmatrix.hh</a></li>83 <li><a·class="el"·href="a00293_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="a00194_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00293_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="a00194_source.html">diagonalmatrix.hh</a></li>83 <li><a·class="el"·href="a00293_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="a00194_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00293_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="a00194_source.html">diagonalmatrix.hh</a></li>83 <li><a·class="el"·href="a00293_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="a00230_source.html">dune/common/documentation.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00164_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="a00230_source.html">documentation.hh</a></li>99 <li><a·class="el"·href="a00164_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="a00071_source.html">dune/common/dotproduct.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00233_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="a00071_source.html">dotproduct.hh</a></li>83 <li><a·class="el"·href="a00233_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="a00071_source.html">dune/common/dotproduct.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00233_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="a00071_source.html">dotproduct.hh</a></li>83 <li><a·class="el"·href="a00233_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="a00191_source.html">dune/common/dynmatrix.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00104_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="a00191_source.html">dynmatrix.hh</a></li>2618 <li><a·class="el"·href="a00104_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="a00191_source.html">dune/common/dynmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00104_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="a00191_source.html">dynmatrix.hh</a></li>208 <li><a·class="el"·href="a00104_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="a00191_source.html">dune/common/dynmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00104_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="a00191_source.html">dynmatrix.hh</a></li>118 <li><a·class="el"·href="a00104_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="a00236_source.html">dune/common/dynvector.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00110_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="a00236_source.html">dynvector.hh</a></li>2454 <li><a·class="el"·href="a00110_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="a00236_source.html">dune/common/dynvector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00110_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="a00236_source.html">dynvector.hh</a></li>154 <li><a·class="el"·href="a00110_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="a00236_source.html">dune/common/dynvector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00110_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="a00236_source.html">dynvector.hh</a></li>118 <li><a·class="el"·href="a00110_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="a00044_source.html">dune/common/enumset.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00131_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="a00044_source.html">enumset.hh</a></li>115 <li><a·class="el"·href="a00131_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="a00044_source.html">dune/common/enumset.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00131_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="a00044_source.html">enumset.hh</a></li>115 <li><a·class="el"·href="a00131_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="a00044_source.html">dune/common/enumset.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00131_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="a00044_source.html">enumset.hh</a></li>115 <li><a·class="el"·href="a00131_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="a00044_source.html">dune/common/enumset.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00131_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="a00044_source.html">enumset.hh</a></li>114 <li><a·class="el"·href="a00131_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="a00044_source.html">dune/common/enumset.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00131_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="a00044_source.html">enumset.hh</a></li>141 <li><a·class="el"·href="a00131_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="a00044_source.html">dune/common/enumset.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00131_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="a00044_source.html">enumset.hh</a></li>88 <li><a·class="el"·href="a00131_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="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00341_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="a00143_source.html">exceptions.hh</a></li>137 <li><a·class="el"·href="a00341_source.html">exceptions.hh</a></li>
138 <li><a·class="el"·href="a00035.html">exceptions.cc</a></li>138 <li><a·class="el"·href="a00113.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="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00341_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="a00314.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="a00077.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="aa00314_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00314.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="aa00077_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00077.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="a00143_source.html">exceptions.hh</a></li>152 <li><a·class="el"·href="a00341_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="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00341_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="a00143_source.html">exceptions.hh</a></li>121 <li><a·class="el"·href="a00341_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="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00341_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="a00143_source.html">exceptions.hh</a></li>119 <li><a·class="el"·href="a00341_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="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00341_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="a00143_source.html">exceptions.hh</a></li>120 <li><a·class="el"·href="a00341_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="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00341_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="a00143_source.html">exceptions.hh</a></li>118 <li><a·class="el"·href="a00341_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="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00341_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="a00143_source.html">exceptions.hh</a></li>115 <li><a·class="el"·href="a00341_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="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00341_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="a00143_source.html">exceptions.hh</a></li>114 <li><a·class="el"·href="a00341_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="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00341_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="a00143_source.html">exceptions.hh</a></li>116 <li><a·class="el"·href="a00341_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="a00143_source.html">dune/common/exceptions.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00341_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="a00143_source.html">exceptions.hh</a></li>114 <li><a·class="el"·href="a00341_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="a00059.html">float_cmp.cc</a></li>112 <li><a·class="el"·href="a00260.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="a00059.html">float_cmp.cc</a></li>113 <li><a·class="el"·href="a00260.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="a00059.html">float_cmp.cc</a></li>113 <li><a·class="el"·href="a00260.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="a00059.html">float_cmp.cc</a></li>109 <li><a·class="el"·href="a00260.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="a00059.html">float_cmp.cc</a></li>109 <li><a·class="el"·href="a00260.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="a00059.html">float_cmp.cc</a></li>109 <li><a·class="el"·href="a00260.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="a00374_source.html">dune/common/float_cmp.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00224_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="a00374_source.html">float_cmp.hh</a></li>126 <li><a·class="el"·href="a00224_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="a00374_source.html">dune/common/float_cmp.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00224_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="a00374_source.html">float_cmp.hh</a></li>581 <li><a·class="el"·href="a00224_source.html">float_cmp.hh</a></li>
582 <li><a·class="el"·href="a00059.html">float_cmp.cc</a></li>582 <li><a·class="el"·href="a00260.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="a00164_source.html">dune/common/fmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00311_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="a00164_source.html">fmatrix.hh</a></li>208 <li><a·class="el"·href="a00311_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="a00164_source.html">dune/common/fmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00311_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="a00164_source.html">fmatrix.hh</a></li>118 <li><a·class="el"·href="a00311_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="a00083_source.html">dune/common/ftraits.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00392_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="a00083_source.html">ftraits.hh</a></li>134 <li><a·class="el"·href="a00392_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="a00083_source.html">dune/common/ftraits.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00392_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="a00083_source.html">ftraits.hh</a></li>118 <li><a·class="el"·href="a00392_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="a00083_source.html">dune/common/ftraits.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00392_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="a00083_source.html">ftraits.hh</a></li>118 <li><a·class="el"·href="a00392_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="a00083_source.html">dune/common/ftraits.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00392_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="a00083_source.html">ftraits.hh</a></li>118 <li><a·class="el"·href="a00392_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="a00083_source.html">dune/common/ftraits.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00392_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="a00083_source.html">ftraits.hh</a></li>118 <li><a·class="el"·href="a00392_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="a00176_source.html">dune/common/function.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00161_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="a00176_source.html">function.hh</a></li>204 <li><a·class="el"·href="a00161_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="a00176_source.html">dune/common/function.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00161_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="a00176_source.html">function.hh</a></li>124 <li><a·class="el"·href="a00161_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="a00176_source.html">dune/common/function.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00161_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="a00176_source.html">function.hh</a></li>265 <li><a·class="el"·href="a00161_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="a00206_source.html">dune/common/fvector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00302_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="a00206_source.html">fvector.hh</a></li>154 <li><a·class="el"·href="a00302_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="a00206_source.html">dune/common/fvector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00302_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="a00206_source.html">fvector.hh</a></li>118 <li><a·class="el"·href="a00302_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="a00206_source.html">dune/common/fvector.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00302_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="a00206_source.html">fvector.hh</a></li>123 <li><a·class="el"·href="a00302_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="a00206_source.html">dune/common/fvector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00302_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="a00206_source.html">fvector.hh</a></li>108 <li><a·class="el"·href="a00302_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="a00206_source.html">dune/common/fvector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00302_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="a00206_source.html">fvector.hh</a></li>108 <li><a·class="el"·href="a00302_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="a00041_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00008_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="a00041_source.html">genericiterator.hh</a></li>107 <li><a·class="el"·href="a00008_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="a00041_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00008_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="a00041_source.html">genericiterator.hh</a></li>100 <li><a·class="el"·href="a00008_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="a00041_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00008_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="a00041_source.html">genericiterator.hh</a></li>100 <li><a·class="el"·href="a00008_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="a00041_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00008_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="a00041_source.html">genericiterator.hh</a></li>100 <li><a·class="el"·href="a00008_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="a00041_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00008_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="a00041_source.html">genericiterator.hh</a></li>107 <li><a·class="el"·href="a00008_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="a00041_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00008_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="a00041_source.html">genericiterator.hh</a></li>100 <li><a·class="el"·href="a00008_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="a00041_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00008_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="a00041_source.html">genericiterator.hh</a></li>100 <li><a·class="el"·href="a00008_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="a00041_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00008_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="a00041_source.html">genericiterator.hh</a></li>100 <li><a·class="el"·href="a00008_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="a00041_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00008_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="a00041_source.html">genericiterator.hh</a></li>1147 <li><a·class="el"·href="a00008_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="a00188_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00269_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="a00188_source.html">gmpfield.hh</a></li>261 <li><a·class="el"·href="a00269_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="a00188_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00269_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="a00188_source.html">gmpfield.hh</a></li>83 <li><a·class="el"·href="a00269_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="a00188_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00269_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="a00188_source.html">gmpfield.hh</a></li>100 <li><a·class="el"·href="a00269_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="a00188_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00269_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="a00188_source.html">gmpfield.hh</a></li>100 <li><a·class="el"·href="a00269_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="a00188_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00269_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="a00188_source.html">gmpfield.hh</a></li>100 <li><a·class="el"·href="a00269_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="a00188_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00269_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="a00188_source.html">gmpfield.hh</a></li>100 <li><a·class="el"·href="a00269_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="a00038_source.html">dune/common/hash.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00185_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="a00038_source.html">hash.hh</a></li>121 <li><a·class="el"·href="a00185_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="a00077_source.html">dune/common/indent.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00140_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="a00077_source.html">indent.hh</a></li>117 <li><a·class="el"·href="a00140_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.55 KB
./usr/share/doc/libdune-common-doc/doxygen/a01868.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::Cloneable·Struct·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Cloneable·Struct·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>An·interface·class·for·cloneable·objects.··75 <p>An·interface·class·for·cloneable·objects.··
76 ·<a·href="a01868.html#details">More...</a></p>76 ·<a·href="a01868.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00137_source.html">dune/common/interfaces.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00272_source.html">dune/common/interfaces.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:ab939bd736273aeaa041ac6ec7da846e9"><td·class="memItemLeft"·align="right"·valign="top">virtual·<a·class="el"·href="a01868.html">Cloneable</a>·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01868.html#ab939bd736273aeaa041ac6ec7da846e9">clone</a>·()·const·=0</td></tr>81 <tr·class="memitem:ab939bd736273aeaa041ac6ec7da846e9"><td·class="memItemLeft"·align="right"·valign="top">virtual·<a·class="el"·href="a01868.html">Cloneable</a>·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01868.html#ab939bd736273aeaa041ac6ec7da846e9">clone</a>·()·const·=0</td></tr>
82 <tr·class="memdesc:ab939bd736273aeaa041ac6ec7da846e9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Clones·the·object·clone·needs·to·be·redefined·by·an·implementation·class,·with·the·return·type·covariantly·adapted.·Remember·to·delete·the·resulting·pointer.··<a·href="a01868.html#ab939bd736273aeaa041ac6ec7da846e9">More...</a><br·/></td></tr>82 <tr·class="memdesc:ab939bd736273aeaa041ac6ec7da846e9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Clones·the·object·clone·needs·to·be·redefined·by·an·implementation·class,·with·the·return·type·covariantly·adapted.·Remember·to·delete·the·resulting·pointer.··<a·href="a01868.html#ab939bd736273aeaa041ac6ec7da846e9">More...</a><br·/></td></tr>
83 <tr·class="separator:ab939bd736273aeaa041ac6ec7da846e9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:ab939bd736273aeaa041ac6ec7da846e9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 <tr·class="memitem:a7f08c4409e8f17388832c262eaadea88"><td·class="memItemLeft"·align="right"·valign="top">virtual&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01868.html#a7f08c4409e8f17388832c262eaadea88">~Cloneable</a>·()</td></tr>84 <tr·class="memitem:a7f08c4409e8f17388832c262eaadea88"><td·class="memItemLeft"·align="right"·valign="top">virtual&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01868.html#a7f08c4409e8f17388832c262eaadea88">~Cloneable</a>·()</td></tr>
Offset 142, 15 lines modifiedOffset 142, 15 lines modified
142 </div><div·class="memdoc">142 </div><div·class="memdoc">
  
143 <p>Clones·the·object·clone·needs·to·be·redefined·by·an·implementation·class,·with·the·return·type·covariantly·adapted.·Remember·to·delete·the·resulting·pointer.·</p>143 <p>Clones·the·object·clone·needs·to·be·redefined·by·an·implementation·class,·with·the·return·type·covariantly·adapted.·Remember·to·delete·the·resulting·pointer.·</p>
  
144 </div>144 </div>
145 </div>145 </div>
146 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>146 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
147 <li><a·class="el"·href="a00137_source.html">interfaces.hh</a></li>147 <li><a·class="el"·href="a00272_source.html">interfaces.hh</a></li>
148 </ul>148 </ul>
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>
154 </body>154 </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="a00227_source.html">dune/common/ios_state.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00176_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="a00227_source.html">ios_state.hh</a></li>106 <li><a·class="el"·href="a00176_source.html">ios_state.hh</a></li>
107 <li><a·class="el"·href="a00305.html">ios_state.cc</a></li>107 <li><a·class="el"·href="a00098.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="a00182_source.html">dune/common/iteratorfacades.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00011_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="a00182_source.html">iteratorfacades.hh</a></li>455 <li><a·class="el"·href="a00011_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="a00182_source.html">dune/common/iteratorfacades.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00011_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="a00182_source.html">iteratorfacades.hh</a></li>503 <li><a·class="el"·href="a00011_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="a00182_source.html">dune/common/iteratorfacades.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00011_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="a00182_source.html">iteratorfacades.hh</a></li>682 <li><a·class="el"·href="a00011_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="a00020_source.html">dune/common/iteratorrange.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00383_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="a00020_source.html">iteratorrange.hh</a></li>282 <li><a·class="el"·href="a00383_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="a00302_source.html">dune/common/lru.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00227_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="a00302_source.html">lru.hh</a></li>723 <li><a·class="el"·href="a00227_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="a00170_source.html">dune/common/mallocallocator.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00188_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="a00170_source.html">mallocallocator.hh</a></li>634 <li><a·class="el"·href="a00188_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="a00170_source.html">dune/common/mallocallocator.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00188_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="a00170_source.html">mallocallocator.hh</a></li>102 <li><a·class="el"·href="a00188_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="a00290_source.html">dune/common/math.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00182_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="a00290_source.html">math.hh</a></li>163 <li><a·class="el"·href="a00182_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="a00290_source.html">dune/common/math.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00182_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="a00290_source.html">math.hh</a></li>158 <li><a·class="el"·href="a00182_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="a00290_source.html">dune/common/math.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00182_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="a00290_source.html">math.hh</a></li>113 <li><a·class="el"·href="a00182_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="a00290_source.html">dune/common/math.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00182_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="a00290_source.html">math.hh</a></li>111 <li><a·class="el"·href="a00182_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="a00290_source.html">dune/common/math.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00182_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="a00290_source.html">math.hh</a></li>78 <li><a·class="el"·href="a00182_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="a00290_source.html">dune/common/math.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00182_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="a00290_source.html">math.hh</a></li>123 <li><a·class="el"·href="a00182_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="a00032_source.html">dune/common/matvectraits.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00389_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="a00032_source.html">matvectraits.hh</a></li>74 <li><a·class="el"·href="a00389_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="a00341_source.html">dune/common/parallel/communication.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00071_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="a00341_source.html">communication.hh</a></li>74 <li><a·class="el"·href="a00071_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="a00341_source.html">dune/common/parallel/communication.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00071_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="a00341_source.html">communication.hh</a></li>1824 <li><a·class="el"·href="a00071_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="a00320_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00029_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="a00320_source.html">communicator.hh</a></li>79 <li><a·class="el"·href="a00029_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="a00320_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00029_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="a00320_source.html">communicator.hh</a></li>79 <li><a·class="el"·href="a00029_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="a00320_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00029_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="a00320_source.html">communicator.hh</a></li>269 <li><a·class="el"·href="a00029_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="a00320_source.html">communicator.hh</a></li>73 <li><a·class="el"·href="a00029_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="a00320_source.html">communicator.hh</a></li>73 <li><a·class="el"·href="a00029_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="a00320_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00029_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="a00320_source.html">communicator.hh</a></li>231 <li><a·class="el"·href="a00029_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="a00320_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00029_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="a00320_source.html">communicator.hh</a></li>115 <li><a·class="el"·href="a00029_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="a00320_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00029_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="a00320_source.html">communicator.hh</a></li>204 <li><a·class="el"·href="a00029_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="a00320_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00029_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="a00320_source.html">communicator.hh</a></li>434 <li><a·class="el"·href="a00029_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="a00350_source.html">dune/common/parallel/future.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00050_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="a00350_source.html">future.hh</a></li>114 <li><a·class="el"·href="a00050_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="a00350_source.html">dune/common/parallel/future.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00050_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="a00350_source.html">future.hh</a></li>267 <li><a·class="el"·href="a00050_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="a00350_source.html">dune/common/parallel/future.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00050_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="a00350_source.html">future.hh</a></li>331 <li><a·class="el"·href="a00050_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="a00350_source.html">dune/common/parallel/future.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00050_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="a00350_source.html">future.hh</a></li>219 <li><a·class="el"·href="a00050_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="a00317_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00065_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="a00317_source.html">indexset.hh</a></li>119 <li><a·class="el"·href="a00065_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="a00317_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00065_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="a00317_source.html">indexset.hh</a></li>114 <li><a·class="el"·href="a00065_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="a00317_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00065_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="a00317_source.html">indexset.hh</a></li>133 <li><a·class="el"·href="a00065_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="a00317_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00065_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="a00317_source.html">indexset.hh</a></li>185 <li><a·class="el"·href="a00065_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="a00317_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00065_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="a00317_source.html">indexset.hh</a></li>895 <li><a·class="el"·href="a00065_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="a00317_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00065_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="a00317_source.html">indexset.hh</a></li>83 <li><a·class="el"·href="a00065_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="a00317_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00065_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="a00317_source.html">indexset.hh</a></li>83 <li><a·class="el"·href="a00065_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="a00329_source.html">dune/common/parallel/indicessyncer.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00089_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="a00329_source.html">indicessyncer.hh</a></li>119 <li><a·class="el"·href="a00089_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>
1.82 KB
./usr/share/doc/libdune-common-doc/doxygen/a02136.html
    
Offset 74, 15 lines modifiedOffset 74, 15 lines modified
74 ··<div·class="headertitle"><div·class="title">Dune::InterfaceBuilder·Class·Reference</div></div>74 ··<div·class="headertitle"><div·class="title">Dune::InterfaceBuilder·Class·Reference</div></div>
75 </div><!--header-->75 </div><!--header-->
76 <div·class="contents">76 <div·class="contents">
  
77 <p>Base·class·of·all·classes·representing·a·communication·interface.··77 <p>Base·class·of·all·classes·representing·a·communication·interface.··
78 ·<a·href="a02136.html#details">More...</a></p>78 ·<a·href="a02136.html#details">More...</a></p>
  
79 <p><code>#include·&lt;<a·class="el"·href="a04445_source.html">dune/common/parallel/interface.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/parallel/interface.hh</a>&gt;</code></p>
80 <div·class="dynheader">80 <div·class="dynheader">
81 Inheritance·diagram·for·Dune::InterfaceBuilder:</div>81 Inheritance·diagram·for·Dune::InterfaceBuilder:</div>
82 <div·class="dyncontent">82 <div·class="dyncontent">
83 <div·class="center"><img·src="a02135.png"·border="0"·usemap="#a_dune_1_1_interface_builder_inherit__map"·alt="Inheritance·graph"/></div>83 <div·class="center"><img·src="a02135.png"·border="0"·usemap="#a_dune_1_1_interface_builder_inherit__map"·alt="Inheritance·graph"/></div>
84 <map·name="a_dune_1_1_interface_builder_inherit__map"·id="a_dune_1_1_interface_builder_inherit__map">84 <map·name="a_dune_1_1_interface_builder_inherit__map"·id="a_dune_1_1_interface_builder_inherit__map">
85 <area·shape="rect"·title="Base·class·of·all·classes·representing·a·communication·interface."·alt=""·coords="5,5,159,32"/>85 <area·shape="rect"·title="Base·class·of·all·classes·representing·a·communication·interface."·alt=""·coords="5,5,159,32"/>
86 <area·shape="rect"·href="a02148.html"·title="Communication·interface·between·remote·and·local·indices."·alt=""·coords="25,80,139,107"/>86 <area·shape="rect"·href="a02148.html"·title="Communication·interface·between·remote·and·local·indices."·alt=""·coords="25,80,139,107"/>
Offset 162, 15 lines modifiedOffset 162, 15 lines modified
162 </div><div·class="memdoc">162 </div><div·class="memdoc">
  
163 <p>Not·for·public·use.·</p>163 <p>Not·for·public·use.·</p>
  
164 </div>164 </div>
165 </div>165 </div>
166 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>166 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
167 <li><a·class="el"·href="a04445_source.html">parallel/interface.hh</a></li>167 <li><a·class="el"·href="a04442_source.html">parallel/interface.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>
3.08 KB
./usr/share/doc/libdune-common-doc/doxygen/a02140.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="a02137.html">List·of·all·members</a>··</div>72 <a·href="a02137.html">List·of·all·members</a>··</div>
73 ··<div·class="headertitle"><div·class="title">Dune::InterfaceBuilder::RemoteIndicesStateError·Class·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::InterfaceBuilder::RemoteIndicesStateError·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="a04445_source.html">dune/common/parallel/interface.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/parallel/interface.hh</a>&gt;</code></p>
77 <div·class="dynheader">77 <div·class="dynheader">
78 Inheritance·diagram·for·Dune::InterfaceBuilder::RemoteIndicesStateError:</div>78 Inheritance·diagram·for·Dune::InterfaceBuilder::RemoteIndicesStateError:</div>
79 <div·class="dyncontent">79 <div·class="dyncontent">
80 <div·class="center"><img·src="a02139.png"·border="0"·usemap="#a_dune_1_1_interface_builder_1_1_remote_indices_state_error_inherit__map"·alt="Inheritance·graph"/></div>80 <div·class="center"><img·src="a02139.png"·border="0"·usemap="#a_dune_1_1_interface_builder_1_1_remote_indices_state_error_inherit__map"·alt="Inheritance·graph"/></div>
81 <map·name="a_dune_1_1_interface_builder_1_1_remote_indices_state_error_inherit__map"·id="a_dune_1_1_interface_builder_1_1_remote_indices_state_error_inherit__map">81 <map·name="a_dune_1_1_interface_builder_1_1_remote_indices_state_error_inherit__map"·id="a_dune_1_1_interface_builder_1_1_remote_indices_state_error_inherit__map">
82 <area·shape="rect"·title="·"·alt=""·coords="11,229,187,271"/>82 <area·shape="rect"·title="·"·alt=""·coords="11,229,187,271"/>
83 <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"/>83 <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 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="a04445_source.html">parallel/interface.hh</a></li>109 <li><a·class="el"·href="a04442_source.html">parallel/interface.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.26 KB
./usr/share/doc/libdune-common-doc/doxygen/a02144.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::InterfaceInformation·Class·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::InterfaceInformation·Class·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Information·describing·an·interface.··75 <p>Information·describing·an·interface.··
76 ·<a·href="a02144.html#details">More...</a></p>76 ·<a·href="a02144.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a04445_source.html">dune/common/parallel/interface.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/parallel/interface.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:ae44761e3e2f5b738e06d04b7e76cf90b"><td·class="memItemLeft"·align="right"·valign="top">size_t&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02144.html#ae44761e3e2f5b738e06d04b7e76cf90b">size</a>·()·const</td></tr>81 <tr·class="memitem:ae44761e3e2f5b738e06d04b7e76cf90b"><td·class="memItemLeft"·align="right"·valign="top">size_t&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02144.html#ae44761e3e2f5b738e06d04b7e76cf90b">size</a>·()·const</td></tr>
82 <tr·class="memdesc:ae44761e3e2f5b738e06d04b7e76cf90b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·number·of·entries·in·the·interface.··<a·href="a02144.html#ae44761e3e2f5b738e06d04b7e76cf90b">More...</a><br·/></td></tr>82 <tr·class="memdesc:ae44761e3e2f5b738e06d04b7e76cf90b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·number·of·entries·in·the·interface.··<a·href="a02144.html#ae44761e3e2f5b738e06d04b7e76cf90b">More...</a><br·/></td></tr>
83 <tr·class="separator:ae44761e3e2f5b738e06d04b7e76cf90b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:ae44761e3e2f5b738e06d04b7e76cf90b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 <tr·class="memitem:a60f60900cb0fae30c356be390fc26c53"><td·class="memItemLeft"·align="right"·valign="top">std::size_t·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02144.html#a60f60900cb0fae30c356be390fc26c53">operator[]</a>·(size_t·i)</td></tr>84 <tr·class="memitem:a60f60900cb0fae30c356be390fc26c53"><td·class="memItemLeft"·align="right"·valign="top">std::size_t·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02144.html#a60f60900cb0fae30c356be390fc26c53">operator[]</a>·(size_t·i)</td></tr>
Offset 393, 15 lines modifiedOffset 393, 15 lines modified
393 </div><div·class="memdoc">393 </div><div·class="memdoc">
  
394 <p>Get·the·number·of·entries·in·the·interface.·</p>394 <p>Get·the·number·of·entries·in·the·interface.·</p>
  
395 </div>395 </div>
396 </div>396 </div>
397 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>397 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
398 <li><a·class="el"·href="a04445_source.html">parallel/interface.hh</a></li>398 <li><a·class="el"·href="a04442_source.html">parallel/interface.hh</a></li>
399 </ul>399 </ul>
400 </div><!--·contents·-->400 </div><!--·contents·-->
401 <!--·start·footer·part·-->401 <!--·start·footer·part·-->
402 <hr·class="footer"/><address·class="footer"><small>402 <hr·class="footer"/><address·class="footer"><small>
403 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4403 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
404 </small></address>404 </small></address>
405 </body>405 </body>
2.11 KB
./usr/share/doc/libdune-common-doc/doxygen/a02148.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="headertitle"><div·class="title">Dune::Interface·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>76 ··<div·class="headertitle"><div·class="title">Dune::Interface·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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p><a·class="el"·href="a01988.html"·title="Collective·communication·interface·and·sequential·default·implementation.">Communication</a>·interface·between·remote·and·local·indices.··79 <p><a·class="el"·href="a01988.html"·title="Collective·communication·interface·and·sequential·default·implementation.">Communication</a>·interface·between·remote·and·local·indices.··
80 ·<a·href="a02148.html#details">More...</a></p>80 ·<a·href="a02148.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a04445_source.html">dune/common/parallel/interface.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/parallel/interface.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::Interface:</div>83 Inheritance·diagram·for·Dune::Interface:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <div·class="center"><img·src="a02147.png"·border="0"·usemap="#a_dune_1_1_interface_inherit__map"·alt="Inheritance·graph"/></div>85 <div·class="center"><img·src="a02147.png"·border="0"·usemap="#a_dune_1_1_interface_inherit__map"·alt="Inheritance·graph"/></div>
86 <map·name="a_dune_1_1_interface_inherit__map"·id="a_dune_1_1_interface_inherit__map">86 <map·name="a_dune_1_1_interface_inherit__map"·id="a_dune_1_1_interface_inherit__map">
87 <area·shape="rect"·title="Communication·interface·between·remote·and·local·indices."·alt=""·coords="25,80,139,107"/>87 <area·shape="rect"·title="Communication·interface·between·remote·and·local·indices."·alt=""·coords="25,80,139,107"/>
88 <area·shape="rect"·href="a02136.html"·title="Base·class·of·all·classes·representing·a·communication·interface."·alt=""·coords="5,5,159,32"/>88 <area·shape="rect"·href="a02136.html"·title="Base·class·of·all·classes·representing·a·communication·interface."·alt=""·coords="5,5,159,32"/>
Offset 292, 15 lines modifiedOffset 292, 15 lines modified
292 </div><div·class="memdoc">292 </div><div·class="memdoc">
  
293 <p>The·MPI·communicator·we·use.·</p>293 <p>The·MPI·communicator·we·use.·</p>
  
294 </div>294 </div>
295 </div>295 </div>
296 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>296 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
297 <li><a·class="el"·href="a04445_source.html">parallel/interface.hh</a></li>297 <li><a·class="el"·href="a04442_source.html">parallel/interface.hh</a></li>
298 </ul>298 </ul>
299 </div><!--·contents·-->299 </div><!--·contents·-->
300 <!--·start·footer·part·-->300 <!--·start·footer·part·-->
301 <hr·class="footer"/><address·class="footer"><small>301 <hr·class="footer"/><address·class="footer"><small>
302 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4302 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
303 </small></address>303 </small></address>
304 </body>304 </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="a00356_source.html">dune/common/parallel/localindex.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00086_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="a00356_source.html">localindex.hh</a></li>169 <li><a·class="el"·href="a00086_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="a00362_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00083_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="a00362_source.html">mpicommunication.hh</a></li>111 <li><a·class="el"·href="a00083_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="a00362_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00083_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="a00362_source.html">mpicommunication.hh</a></li>1726 <li><a·class="el"·href="a00083_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="a00353_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00080_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="a00353_source.html">mpidata.hh</a></li>265 <li><a·class="el"·href="a00080_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="a00353_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00080_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="a00353_source.html">mpidata.hh</a></li>222 <li><a·class="el"·href="a00080_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="a00353_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00080_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="a00353_source.html">mpidata.hh</a></li>299 <li><a·class="el"·href="a00080_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="a00347_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00068_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="a00347_source.html">mpifuture.hh</a></li>265 <li><a·class="el"·href="a00068_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="a00347_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00068_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="a00347_source.html">mpifuture.hh</a></li>256 <li><a·class="el"·href="a00068_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="a00347_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00068_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="a00347_source.html">mpifuture.hh</a></li>186 <li><a·class="el"·href="a00068_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="a00347_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00068_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="a00347_source.html">mpifuture.hh</a></li>503 <li><a·class="el"·href="a00068_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="a00365_source.html">dune/common/parallel/mpiguard.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00059_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="a00365_source.html">mpiguard.hh</a></li>114 <li><a·class="el"·href="a00059_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="a00365_source.html">dune/common/parallel/mpiguard.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00059_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="a00365_source.html">mpiguard.hh</a></li>388 <li><a·class="el"·href="a00059_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="a00344_source.html">dune/common/parallel/mpihelper.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00041_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="a00089.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="a00377.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="a00089.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="a00377.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="a00089.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="a00377.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="a00089.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="a00377.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="a00089.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="a00377.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="a00089.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="a00377.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="a00314.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="a00077.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="aa00314_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00314.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="aa00077_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00077.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="a00344_source.html">mpihelper.hh</a></li>409 <li><a·class="el"·href="a00041_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="a00344_source.html">dune/common/parallel/mpihelper.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00041_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="a00089.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="a00377.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="a00089.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="a00377.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="a00089.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="a00377.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="a00089.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="a00377.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="a00314.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="a00077.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="aa00314_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00314.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="aa00077_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00077.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="a00344_source.html">mpihelper.hh</a></li>440 <li><a·class="el"·href="a00041_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="a00368_source.html">dune/common/parallel/mpipack.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00047_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="a00368_source.html">mpipack.hh</a></li>675 <li><a·class="el"·href="a00047_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="a00368_source.html">dune/common/parallel/mpipack.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00047_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="a00368_source.html">mpipack.hh</a></li>295 <li><a·class="el"·href="a00047_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="a00335_source.html">dune/common/parallel/plocalindex.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00035_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="a00335_source.html">plocalindex.hh</a></li>149 <li><a·class="el"·href="a00035_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="a00335_source.html">dune/common/parallel/plocalindex.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00035_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="a00335_source.html">plocalindex.hh</a></li>122 <li><a·class="el"·href="a00035_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="a00335_source.html">dune/common/parallel/plocalindex.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00035_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="a00335_source.html">plocalindex.hh</a></li>86 <li><a·class="el"·href="a00035_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="a00323_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00038_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="a00323_source.html">remoteindices.hh</a></li>111 <li><a·class="el"·href="a00038_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="a00323_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00038_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="a00323_source.html">remoteindices.hh</a></li>1051 <li><a·class="el"·href="a00038_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="a00323_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00038_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="a00323_source.html">remoteindices.hh</a></li>373 <li><a·class="el"·href="a00038_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="a00323_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00038_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="a00323_source.html">remoteindices.hh</a></li>560 <li><a·class="el"·href="a00038_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="a00323_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00038_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="a00323_source.html">remoteindices.hh</a></li>368 <li><a·class="el"·href="a00038_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="a00323_source.html">remoteindices.hh</a></li>73 <li><a·class="el"·href="a00038_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="a00323_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00038_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="a00323_source.html">remoteindices.hh</a></li>109 <li><a·class="el"·href="a00038_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="a00323_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00038_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="a00323_source.html">remoteindices.hh</a></li>443 <li><a·class="el"·href="a00038_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="a00338_source.html">dune/common/parallel/selection.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00062_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="a00338_source.html">selection.hh</a></li>324 <li><a·class="el"·href="a00062_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="a00338_source.html">dune/common/parallel/selection.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00062_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="a00338_source.html">selection.hh</a></li>290 <li><a·class="el"·href="a00062_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="a00338_source.html">dune/common/parallel/selection.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00062_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="a00338_source.html">selection.hh</a></li>295 <li><a·class="el"·href="a00062_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="a00359_source.html">dune/common/parallel/variablesizecommunicator.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00056_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="a00359.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="a00056.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="a00359.html#ab8808b7c88a6c9013967559c8eae5e8c">h.fixedSize</a>())</td>98 ··········<td>·-&gt;··decltype(<a·class="el"·href="a00056.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="a00359_source.html">variablesizecommunicator.hh</a></li>105 <li><a·class="el"·href="a00056_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="a00359_source.html">dune/common/parallel/variablesizecommunicator.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00056_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="a00359_source.html">variablesizecommunicator.hh</a></li>533 <li><a·class="el"·href="a00056_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="a00014_source.html">parameterizedobject.hh</a></li>89 <li><a·class="el"·href="a00248_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="a00014_source.html">dune/common/parameterizedobject.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00248_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="a00014_source.html">parameterizedobject.hh</a></li>489 <li><a·class="el"·href="a00248_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.09 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="a00308_source.html">dune/common/parametertree.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00170_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, 16 lines modifiedOffset 920, 16 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="a00308_source.html">parametertree.hh</a></li>926 <li><a·class="el"·href="a00170_source.html">parametertree.hh</a></li>
927 <li><a·class="el"·href="a00128.html">parametertree.cc</a></li>927 <li><a·class="el"·href="a00194.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>
934 </body>934 </body>
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="a00308_source.html">dune/common/parametertree.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00170_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="a00308_source.html">parametertree.hh</a></li>112 <li><a·class="el"·href="a00170_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="a00308_source.html">dune/common/parametertree.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00170_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="a00308_source.html">parametertree.hh</a></li>116 <li><a·class="el"·href="a00170_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="a00308_source.html">dune/common/parametertree.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00170_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="a00308_source.html">parametertree.hh</a></li>110 <li><a·class="el"·href="a00170_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="a00308_source.html">dune/common/parametertree.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00170_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="a00308_source.html">parametertree.hh</a></li>112 <li><a·class="el"·href="a00170_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="a00308_source.html">dune/common/parametertree.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00170_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="a00308_source.html">parametertree.hh</a></li>112 <li><a·class="el"·href="a00170_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="a00308_source.html">dune/common/parametertree.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00170_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="a00308_source.html">parametertree.hh</a></li>112 <li><a·class="el"·href="a00170_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="a00308_source.html">dune/common/parametertree.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00170_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="a00308_source.html">parametertree.hh</a></li>112 <li><a·class="el"·href="a00170_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="a00209_source.html">dune/common/parametertreeparser.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00119_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="a00209_source.html">parametertreeparser.hh</a></li>114 <li><a·class="el"·href="a00119_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="a00209_source.html">dune/common/parametertreeparser.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00119_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="a00209_source.html">parametertreeparser.hh</a></li>114 <li><a·class="el"·href="a00119_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="a00209_source.html">dune/common/parametertreeparser.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00119_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="a00209_source.html">parametertreeparser.hh</a></li>510 <li><a·class="el"·href="a00119_source.html">parametertreeparser.hh</a></li>
511 <li><a·class="el"·href="a00389.html">parametertreeparser.cc</a></li>511 <li><a·class="el"·href="a00125.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="a00185_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00179_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="a00185_source.html">poolallocator.hh</a></li>342 <li><a·class="el"·href="a00179_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="a00185_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00179_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="a00185_source.html">poolallocator.hh</a></li>494 <li><a·class="el"·href="a00179_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="a00185_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00179_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="a00185_source.html">poolallocator.hh</a></li>109 <li><a·class="el"·href="a00179_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="a00185_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00179_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="a00185_source.html">poolallocator.hh</a></li>142 <li><a·class="el"·href="a00179_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="a00185_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00179_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="a00185_source.html">poolallocator.hh</a></li>102 <li><a·class="el"·href="a00179_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="a00152_source.html">dune/common/power.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00218_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="a00290.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="a00182.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="a00152_source.html">power.hh</a></li>90 <li><a·class="el"·href="a00218_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="a00152_source.html">dune/common/power.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00218_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="a00290.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="a00182.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="a00152_source.html">power.hh</a></li>96 <li><a·class="el"·href="a00218_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="a00215_source.html">dune/common/precision.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00344_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="a00215_source.html">precision.hh</a></li>152 <li><a·class="el"·href="a00344_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="a00248_source.html">dune/common/promotiontraits.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00209_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="a00248_source.html">promotiontraits.hh</a></li>106 <li><a·class="el"·href="a00209_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="a00248_source.html">dune/common/promotiontraits.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00209_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="a00248_source.html">promotiontraits.hh</a></li>100 <li><a·class="el"·href="a00209_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="a00074_source.html">dune/common/propertymap.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00308_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="a00074_source.html">propertymap.hh</a></li>165 <li><a·class="el"·href="a00308_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="a00074_source.html">dune/common/propertymap.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00308_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="a00074_source.html">propertymap.hh</a></li>88 <li><a·class="el"·href="a00308_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="a00074_source.html">dune/common/propertymap.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00308_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="a00074_source.html">propertymap.hh</a></li>88 <li><a·class="el"·href="a00308_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="a00074_source.html">dune/common/propertymap.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00308_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="a00074_source.html">propertymap.hh</a></li>89 <li><a·class="el"·href="a00308_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="a00074_source.html">dune/common/propertymap.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00308_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="a00074_source.html">propertymap.hh</a></li>89 <li><a·class="el"·href="a00308_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="a00074_source.html">dune/common/propertymap.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00308_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="a00074_source.html">propertymap.hh</a></li>154 <li><a·class="el"·href="a00308_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="a00074_source.html">dune/common/propertymap.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00308_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="a00074_source.html">propertymap.hh</a></li>154 <li><a·class="el"·href="a00308_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="a00074_source.html">dune/common/propertymap.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00308_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="a00074_source.html">propertymap.hh</a></li>91 <li><a·class="el"·href="a00308_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="a00074_source.html">dune/common/propertymap.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00308_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="a00074_source.html">propertymap.hh</a></li>345 <li><a·class="el"·href="a00308_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="a00074_source.html">dune/common/propertymap.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00308_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="a00074_source.html">propertymap.hh</a></li>91 <li><a·class="el"·href="a00308_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="a00074_source.html">dune/common/propertymap.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00308_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="a00074_source.html">propertymap.hh</a></li>91 <li><a·class="el"·href="a00308_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="a00074_source.html">dune/common/propertymap.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00308_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="a00074_source.html">propertymap.hh</a></li>206 <li><a·class="el"·href="a00308_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="a00074_source.html">dune/common/propertymap.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00308_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="a00074_source.html">propertymap.hh</a></li>130 <li><a·class="el"·href="a00308_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="a00233_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00146_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="a00233_source.html">rangeutilities.hh</a></li>433 <li><a·class="el"·href="a00146_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="a00233_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00146_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="a00233_source.html">rangeutilities.hh</a></li>485 <li><a·class="el"·href="a00146_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="a00233_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00146_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="a00233_source.html">rangeutilities.hh</a></li>78 <li><a·class="el"·href="a00146_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="a00233_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00146_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="a00233_source.html">rangeutilities.hh</a></li>78 <li><a·class="el"·href="a00146_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="a00233_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00146_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="a00233_source.html">rangeutilities.hh</a></li>445 <li><a·class="el"·href="a00146_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="a00242_source.html">dune/common/reservedvector.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00314_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="a00242_source.html">reservedvector.hh</a></li>1834 <li><a·class="el"·href="a00314_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="a00098_source.html">dune/common/shared_ptr.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00122_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="a00098.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="a00122.html">dune/common/shared_ptr.hh</a>&gt;</span></div>
174 <div·class="ttc"·id="aa00098_html"><div·class="ttname"><a·href="a00098.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="aa00122_html"><div·class="ttname"><a·href="a00122.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="a00098_source.html">shared_ptr.hh</a></li>182 <li><a·class="el"·href="a00122_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="a00146_source.html">dune/common/simd.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00296_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="a00146_source.html">simd.hh</a></li>100 <li><a·class="el"·href="a00296_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="a00146_source.html">dune/common/simd.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00296_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="a00146_source.html">simd.hh</a></li>106 <li><a·class="el"·href="a00296_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="a00146_source.html">dune/common/simd.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00296_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="a00146_source.html">simd.hh</a></li>100 <li><a·class="el"·href="a00296_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="a00146_source.html">dune/common/simd.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00296_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="a00146_source.html">simd.hh</a></li>100 <li><a·class="el"·href="a00296_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="a00272_source.html">base.hh</a></li>115 <li><a·class="el"·href="a00365_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="a00272_source.html">dune/common/simd/base.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00365_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="a00272_source.html">base.hh</a></li>84 <li><a·class="el"·href="a00365_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="a00272_source.html">dune/common/simd/base.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00365_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="a00272_source.html">base.hh</a></li>74 <li><a·class="el"·href="a00365_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="a00353_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="a00272_source.html">base.hh</a></li>108 <li><a·class="el"·href="a00365_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="a00353_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="a00353_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="a00272_source.html">base.hh</a></li>108 <li><a·class="el"·href="a00365_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="a00353_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="a00353_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="a00272_source.html">base.hh</a></li>93 <li><a·class="el"·href="a00365_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="a00278_source.html">dune/common/simd/io.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00368_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="a00278_source.html">io.hh</a></li>112 <li><a·class="el"·href="a00368_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="a00356_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="a00356_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="a00356_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="a00356_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="a00356_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="a00356_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="a00356_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="a00356_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="a00356_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="a00356_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="a00281_source.html">dune/common/simd/test.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00371_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="a00281_source.html">test.hh</a></li>78 <li><a·class="el"·href="a00371_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="a00281_source.html">dune/common/simd/test.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00371_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="a00281_source.html">test.hh</a></li>349 <li><a·class="el"·href="a00371_source.html">test.hh</a></li>
350 <li><a·class="el"·href="a00260.html">test.cc</a></li>350 <li><a·class="el"·href="a00362.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="a00017_source.html">dune/common/singleton.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00203_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="a00089.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="a00377.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="a00017.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="a00203.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="aa00017_html"><div·class="ttname"><a·href="a00017.html">singleton.hh</a></div><div·class="ttdoc">Useful·wrapper·for·creating·singletons.</div></div>122 <div·class="ttc"·id="aa00203_html"><div·class="ttname"><a·href="a00203.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="a00089.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="a00377.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="a00017_source.html">singleton.hh</a></li>243 <li><a·class="el"·href="a00203_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="a00284_source.html">dune/common/sllist.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00326_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="a00284_source.html">sllist.hh</a></li>521 <li><a·class="el"·href="a00326_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="a00284_source.html">dune/common/sllist.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00326_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="a00284_source.html">sllist.hh</a></li>510 <li><a·class="el"·href="a00326_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="a00284_source.html">dune/common/sllist.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00326_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="a00284_source.html">sllist.hh</a></li>519 <li><a·class="el"·href="a00326_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="a00284_source.html">dune/common/sllist.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00326_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="a00284_source.html">sllist.hh</a></li>179 <li><a·class="el"·href="a00326_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="a00122_source.html">dune/common/std/functional.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00281_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="a00122_source.html">functional.hh</a></li>120 <li><a·class="el"·href="a00281_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="a00113_source.html">dune/common/std/type_traits.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00287_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="a00113_source.html">type_traits.hh</a></li>200 <li><a·class="el"·href="a00287_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="a00113_source.html">dune/common/std/type_traits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00287_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="a00113_source.html">type_traits.hh</a></li>89 <li><a·class="el"·href="a00287_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="a00113_source.html">dune/common/std/type_traits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00287_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="a00113_source.html">type_traits.hh</a></li>89 <li><a·class="el"·href="a00287_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="a00113_source.html">dune/common/std/type_traits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00287_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="a00113_source.html">type_traits.hh</a></li>89 <li><a·class="el"·href="a00287_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="a00371_source.html">dune/common/timer.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00338_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="a00371_source.html">timer.hh</a></li>277 <li><a·class="el"·href="a00338_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>87 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>87 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>87 <li><a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>80 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>89 <li><a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>90 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>83 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>115 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>83 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>97 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>97 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>89 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>89 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>95 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>89 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>102 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>97 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>89 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>102 <li><a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>86 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>83 <li><a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>86 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>83 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>106 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>100 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>99 <li><a·class="el"·href="a00200_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="a00131_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00200_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="a00131_source.html">tupleutility.hh</a></li>98 <li><a·class="el"·href="a00200_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="a00212_source.html">dune/common/tuplevector.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00191_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="a00212_source.html">tuplevector.hh</a></li>274 <li><a·class="el"·href="a00191_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="a00197_source.html">dune/common/typelist.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00242_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="a00197_source.html">typelist.hh</a></li>111 <li><a·class="el"·href="a00242_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="a00197_source.html">dune/common/typelist.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00242_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="a00197_source.html">typelist.hh</a></li>89 <li><a·class="el"·href="a00242_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="a00197_source.html">dune/common/typelist.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00242_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="a00197_source.html">typelist.hh</a></li>89 <li><a·class="el"·href="a00242_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="a00197_source.html">dune/common/typelist.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00242_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="a00197_source.html">typelist.hh</a></li>89 <li><a·class="el"·href="a00242_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="a00197_source.html">dune/common/typelist.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00242_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="a00197_source.html">typelist.hh</a></li>74 <li><a·class="el"·href="a00242_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="a00197_source.html">dune/common/typelist.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00242_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="a00197_source.html">typelist.hh</a></li>89 <li><a·class="el"·href="a00242_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="a00197_source.html">dune/common/typelist.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00242_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="a00197_source.html">typelist.hh</a></li>74 <li><a·class="el"·href="a00242_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="a00197_source.html">dune/common/typelist.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00242_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="a00197_source.html">typelist.hh</a></li>131 <li><a·class="el"·href="a00242_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>78 <li><a·class="el"·href="a00014_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>117 <li><a·class="el"·href="a00014_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>89 <li><a·class="el"·href="a00014_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>114 <li><a·class="el"·href="a00014_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>97 <li><a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>92 <li><a·class="el"·href="a00014_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>88 <li><a·class="el"·href="a00014_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>89 <li><a·class="el"·href="a00014_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>89 <li><a·class="el"·href="a00014_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>88 <li><a·class="el"·href="a00014_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>89 <li><a·class="el"·href="a00014_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>92 <li><a·class="el"·href="a00014_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>89 <li><a·class="el"·href="a00014_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>98 <li><a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>80 <li><a·class="el"·href="a00014_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>124 <li><a·class="el"·href="a00014_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>123 <li><a·class="el"·href="a00014_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>123 <li><a·class="el"·href="a00014_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>123 <li><a·class="el"·href="a00014_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>123 <li><a·class="el"·href="a00014_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>103 <li><a·class="el"·href="a00014_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="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00014_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="a00386_source.html">typetraits.hh</a></li>123 <li><a·class="el"·href="a00014_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="a00158_source.html">dune/common/typeutilities.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00257_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="a00158_source.html">typeutilities.hh</a></li>124 <li><a·class="el"·href="a00257_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="a00158_source.html">dune/common/typeutilities.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00257_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="a00158_source.html">typeutilities.hh</a></li>112 <li><a·class="el"·href="a00257_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>
8.72 KB
./usr/share/doc/libdune-common-doc/doxygen/a04442.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:·interface.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, 31 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><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">simd/simd.hh·File·Reference</div></div>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">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>
69 </div><!--header-->73 </div><!--header-->
70 <div·class="contents">74 <div·class="contents">
  
71 <p>Include·file·for·users·of·the·SIMD·abstraction·layer.··75 <p>Provides·classes·for·building·the·communication·interface·between·remote·indices.··
72 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
73 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a04448_source.html">dune/common/simd/interface.hh</a>&gt;</code><br·/>77 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00038_source.html">remoteindices.hh</a>&quot;</code><br·/>
74 <code>#include·&lt;<a·class="el"·href="a00275_source.html">dune/common/simd/standard.hh</a>&gt;</code><br·/>78 <code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/enumset.hh</a>&gt;</code><br·/>
75 </div>79 </div>
76 <p><a·href="a04442_source.html">Go·to·the·source·code·of·this·file.</a></p>80 <p><a·href="a04442_source.html">Go·to·the·source·code·of·this·file.</a></p>
 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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02136.html">Dune::InterfaceBuilder</a></td></tr>
 85 <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="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="a02140.html">Dune::InterfaceBuilder::RemoteIndicesStateError</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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02144.html">Dune::InterfaceInformation</a></td></tr>
 90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Information·describing·an·interface.··<a·href="a02144.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="a02148.html">Dune::Interface</a></td></tr>
 93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a01988.html"·title="Collective·communication·interface·and·sequential·default·implementation.">Communication</a>·interface·between·remote·and·local·indices.··<a·href="a02148.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><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:ad9b8d21022d554e087cc9255238b6799"><td·class="memItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ad9b8d21022d554e087cc9255238b6799">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;os,·const·Interface·&amp;interface)</td></tr>
 105 <tr·class="separator:ad9b8d21022d554e087cc9255238b6799"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 </table>
77 <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>
78 <div·class="textblock"><p·>Include·file·for·users·of·the·SIMD·abstraction·layer.·</p> 
79 <p·>Include·this·file·if·you·want·to·be·able·to·handle·SIMD·types·&ndash;·do·not·include·the·internal·headers·directly.·</p>108 <div·class="textblock"><p·>Provides·classes·for·building·the·communication·interface·between·remote·indices.·</p>
 109 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
80 </div></div><!--·contents·-->110 </div></div><!--·contents·-->
81 <!--·start·footer·part·-->111 <!--·start·footer·part·-->
82 <hr·class="footer"/><address·class="footer"><small>112 <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.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
84 </small></address>114 </small></address>
85 </body>115 </body>
86 </html>116 </html>
1.57 KB
html2text {}
    
Offset 4, 20 lines modifiedOffset 4, 44 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·simd 
8 simd/simd.hh·File·Reference 
9 Include·file·for·users·of·the·SIMD·abstraction·layer.·More... 
10 #include·<dune/common/simd/interface.hh>7 ····*·parallel
 8 Classes·|·Namespaces·|·Functions
 9 parallel/interface.hh·File·Reference
 10 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets
 11 Provides·classes·for·building·the·communication·interface·between·remote
 12 indices.·More...
 13 #include·"remoteindices.hh"
11 #include·<dune/common/simd/standard.hh>14 #include·<dune/common/enumset.hh>
12 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
 16 ·Classes
 17 class· Dune::InterfaceBuilder
 18  ······Base·class·of·all·classes·representing·a·communication·interface.
 19 ········More...
 20  
 21 class· Dune::InterfaceBuilder::RemoteIndicesStateError
 22  
 23 class· Dune::InterfaceInformation
 24  ······Information·describing·an·interface.·More...
 25  
 26 class· Dune::Interface
 27  ······Communication·interface·between·remote·and·local·indices.·More...
 28  
 29 ·Namespaces
 30 namespace· Dune
 31  ··········Dune·namespace.
 32  
 33 ·Functions
 34 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·Interface·&interface)
 35  
13 *****·Detailed·Description·*****36 *****·Detailed·Description·*****
14 Include·file·for·users·of·the·SIMD·abstraction·layer. 
15 Include·this·file·if·you·want·to·be·able·to·handle·SIMD·types··do·not·include 
16 the·internal·headers·directly.37 Provides·classes·for·building·the·communication·interface·between·remote
 38 indices.
 39 ··Author
 40 ······Markus·Blatt
  
17 ===============================================================================41 ===============================================================================
18 ·····Generated·by [doxygen]·1.9.442 ·····Generated·by [doxygen]·1.9.4
92.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a04442_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:·interface.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, 32 lines modifiedOffset 58, 425 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><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">simd/simd.hh</div></div>68 ··<div·class="headertitle"><div·class="title">parallel/interface.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a04442.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="a04442.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_SIMD_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_INTERFACE_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_SIMD_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_INTERFACE_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="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04448.html">dune/common/simd/interface.hh</a>&gt;</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>
77 <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>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00038.html">remoteindices.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;<a·class="code"·href="a00131.html">dune/common/enumset.hh</a>&gt;</span></div>
78 <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="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="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="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="keyword">public</span>:</div>
 88 <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="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>·</div>
 91 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a02136.html#a8fd7e6b28d58b8b8550a63b416c08148">···40</a></span>····<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a02136.html#a8fd7e6b28d58b8b8550a63b416c08148">~InterfaceBuilder</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>·</div>
 94 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">protected</span>:</div>
 95 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a02136.html#ae9a71b43a7e08ca2a9964deed35b1e28">···47</a></span>····<a·class="code·hl_function"·href="a02136.html#ae9a71b43a7e08ca2a9964deed35b1e28">InterfaceBuilder</a>()</div>
 96 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····{}</div>
 97 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 98 <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>·R,·<span·class="keyword">class</span>·T1,·<span·class="keyword">class</span>·T2,·<span·class="keyword">class</span>·Op,·<span·class="keywordtype">bool</span>·send&gt;</div>
 99 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00416.html#ga05121b68560835efae0092c6a9078e78">buildInterface</a>·(<span·class="keyword">const</span>·R&amp;·remoteIndices,</div>
 100 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·························<span·class="keyword">const</span>·T1&amp;·sourceFlags,·<span·class="keyword">const</span>·T2&amp;·destFlags,</div>
 101 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·························Op&amp;·functor)·<span·class="keyword">const</span>;</div>
 102 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··};</div>
 103 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>
 104 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a02144.html">··100</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02144.html">InterfaceInformation</a></div>
 105 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··{</div>
 106 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>
 107 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="keyword">public</span>:</div>
 108 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 109 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a02144.html#ae44761e3e2f5b738e06d04b7e76cf90b">··108</a></span>····<span·class="keywordtype">size_t</span>·<a·class="code·hl_function"·href="a02144.html#ae44761e3e2f5b738e06d04b7e76cf90b">size</a>()<span·class="keyword">·const</span></div>
 110 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="keyword">····</span>{</div>
 111 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>······<span·class="keywordflow">return</span>·size_;</div>
 112 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····}</div>
 113 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a02144.html#a60f60900cb0fae30c356be390fc26c53">··116</a></span>····std::size_t&amp;·<a·class="code·hl_function"·href="a02144.html#a60f60900cb0fae30c356be390fc26c53">operator[]</a>(<span·class="keywordtype">size_t</span>·i)</div>
 114 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····{</div>
 115 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>······assert(i&lt;size_);</div>
 116 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>······<span·class="keywordflow">return</span>·indices_[i];</div>
 117 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····}</div>
 118 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno"><a·class="line"·href="a02144.html#af672841b5e27036ef0de7111df2e4f08">··125</a></span>····std::size_t·<a·class="code·hl_function"·href="a02144.html#af672841b5e27036ef0de7111df2e4f08">operator[]</a>(<span·class="keywordtype">size_t</span>·i)<span·class="keyword">·const</span></div>
 119 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span><span·class="keyword">····</span>{</div>
 120 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>······assert(i&lt;size_);</div>
 121 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>······<span·class="keywordflow">return</span>·indices_[i];</div>
 122 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>····}</div>
 123 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno"><a·class="line"·href="a02144.html#ae4d44498ce2f25d30fe10d52a8c0b682">··134</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02144.html#ae4d44498ce2f25d30fe10d52a8c0b682">reserve</a>(<span·class="keywordtype">size_t</span>·<a·class="code·hl_function"·href="a02144.html#ae44761e3e2f5b738e06d04b7e76cf90b">size</a>)</div>
 124 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>····{</div>
 125 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>······indices_·=·<span·class="keyword">new</span>·std::size_t[<a·class="code·hl_function"·href="a02144.html#ae44761e3e2f5b738e06d04b7e76cf90b">size</a>];</div>
 126 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>······maxSize_·=·<a·class="code·hl_function"·href="a02144.html#ae44761e3e2f5b738e06d04b7e76cf90b">size</a>;</div>
 127 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>·</div>
 128 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>····}</div>
 129 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno"><a·class="line"·href="a02144.html#a34fc2f7d08e7812ae7e74c5a76317cce">··143</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02144.html#a34fc2f7d08e7812ae7e74c5a76317cce">free</a>()</div>
 130 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>····{</div>
 131 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>······<span·class="keywordflow">if</span>(indices_)</div>
 132 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>········<span·class="keyword">delete</span>[]·indices_;</div>
 133 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>······maxSize_·=·0;</div>
 134 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>······size_=0;</div>
 135 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>······indices_=0;</div>
 136 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>····}</div>
 137 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno"><a·class="line"·href="a02144.html#a4c38673248929efc6a381c7a3905a8a5">··154</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02144.html#a4c38673248929efc6a381c7a3905a8a5">add</a>(std::size_t·index)</div>
 138 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>····{</div>
 139 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>······assert(size_&lt;maxSize_);</div>
 140 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>······indices_[size_++]=index;</div>
 141 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>····}</div>
 142 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>·</div>
 143 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno"><a·class="line"·href="a02144.html#acf04b8261cf9f1ea8919862b8c1417bb">··160</a></span>····<a·class="code·hl_function"·href="a02144.html#acf04b8261cf9f1ea8919862b8c1417bb">InterfaceInformation</a>()</div>
 144 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>······:·size_(0),·maxSize_(0),·indices_(0)</div>
 145 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>····{}</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"><a·class="line"·href="a02144.html#a560e43bc8de72e3d52b91d10060ec2de">··164</a></span>····<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a02144.html#a560e43bc8de72e3d52b91d10060ec2de">~InterfaceInformation</a>()</div>
 148 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno">··165</span>····{}</div>
 149 <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>·</div>
 150 <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno"><a·class="line"·href="a02144.html#a25477924f0360a72ddf14f89054abc2a">··167</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02144.html#a25477924f0360a72ddf14f89054abc2a">operator!=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02144.html">InterfaceInformation</a>&amp;·o)<span·class="keyword">·const</span></div>
 151 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span><span·class="keyword">····</span>{</div>
 152 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>······<span·class="keywordflow">return</span>·!<a·class="code·hl_function"·href="a02144.html#a6da64368ed961306ad2f421075f8e90d">operator==</a>(o);</div>
 153 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>····}</div>
 154 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>·</div>
 155 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno"><a·class="line"·href="a02144.html#a6da64368ed961306ad2f421075f8e90d">··172</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02144.html#a6da64368ed961306ad2f421075f8e90d">operator==</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02144.html">InterfaceInformation</a>&amp;·o)<span·class="keyword">·const</span></div>
 156 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno">··173</span><span·class="keyword">····</span>{</div>
 157 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>······<span·class="keywordflow">if</span>(size_!=o.size_)</div>
 158 <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno">··175</span>········<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div>
 159 <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</span>······<span·class="keywordflow">for</span>(std::size_t·i=0;·i&lt;·size_;·++i)</div>
 160 <div·class="line"><a·id="l00177"·name="l00177"></a><span·class="lineno">··177</span>········<span·class="keywordflow">if</span>(indices_[i]!=o.indices_[i])</div>
 161 <div·class="line"><a·id="l00178"·name="l00178"></a><span·class="lineno">··178</span>··········<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div>
 162 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno">··179</span>······<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div>
 163 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno">··180</span>····}</div>
 164 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</span>·</div>
 165 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno">··182</span>··<span·class="keyword">private</span>:</div>
 166 <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span>····<span·class="keywordtype">size_t</span>·size_;</div>
 167 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>····<span·class="keywordtype">size_t</span>·maxSize_;</div>
Max diff block lines reached; 271/78111 bytes (0.35%) of diff not shown.
16.0 KB
html2text {}
    
Offset 4, 27 lines modifiedOffset 4, 537 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·simd 
8 simd/simd.hh7 ····*·parallel
 8 parallel/interface.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_SIMD_SIMD_HH 
14 ·4#define·DUNE_COMMON_SIMD_SIMD_HH 
15 ·5 
16 ·13#include·<dune/common/simd/interface.hh>15 ·5#ifndef·DUNE_INTERFACE_HH
 16 ·6#define·DUNE_INTERFACE_HH
 17 ·7
 18 ·8#if·HAVE_MPI
 19 ·9
 20 ·10#include·"remoteindices.hh"
17 ·14#include·<dune/common/simd/standard.hh>21 ·11#include·<dune/common/enumset.hh>
 22 ·12
 23 ·13namespace·Dune
 24 ·14{
 25 34·class·InterfaceBuilder
 26 ·35·{
 27 ·36·public:
 28 37·class·RemoteIndicesStateError·:·public·InvalidStateException
 29 ·38·{};
 30 ·39
 31 40·virtual·~InterfaceBuilder()
 32 ·41·{}
 33 ·42
 34 ·43·protected:
 35 47·InterfaceBuilder()
 36 ·48·{}
 37 ·49
 38 ·87·template<class·R,·class·T1,·class·T2,·class·Op,·bool·send>
 39 ·88·void·buildInterface·(const·R&·remoteIndices,
 40 ·89·const·T1&·sourceFlags,·const·T2&·destFlags,
 41 ·90·Op&·functor)·const;
 42 ·91·};
 43 ·92
 44 100·class·InterfaceInformation
 45 ·101·{
 46 ·102
 47 ·103·public:
 48 ·104
 49 108·size_t·size()·const
 50 ·109·{
 51 ·110·return·size_;
 52 ·111·}
 53 116·std::size_t&·operator[](size_t·i)
 54 ·117·{
 55 ·118·assert(i<size_);
 56 ·119·return·indices_[i];
 57 ·120·}
 58 125·std::size_t·operator[](size_t·i)·const
 59 ·126·{
 60 ·127·assert(i<size_);
 61 ·128·return·indices_[i];
 62 ·129·}
 63 134·void·reserve(size_t·size)
 64 ·135·{
 65 ·136·indices_·=·new·std::size_t[size];
 66 ·137·maxSize_·=·size;
 67 ·138
 68 ·139·}
 69 143·void·free()
 70 ·144·{
 71 ·145·if(indices_)
 72 ·146·delete[]·indices_;
 73 ·147·maxSize_·=·0;
 74 ·148·size_=0;
 75 ·149·indices_=0;
 76 ·150·}
 77 154·void·add(std::size_t·index)
 78 ·155·{
 79 ·156·assert(size_<maxSize_);
 80 ·157·indices_[size_++]=index;
 81 ·158·}
18 ·1582 ·159
19 ·16#endif·//·DUNE_COMMON_SIMD_SIMD_HH 
20 standard.hh 
21 SIMD·abstractions·for·the·standard·built-in·types.83 160·InterfaceInformation()
 84 ·161·:·size_(0),·maxSize_(0),·indices_(0)
 85 ·162·{}
 86 ·163
 87 164·virtual·~InterfaceInformation()
 88 ·165·{}
 89 ·166
 90 167·bool·operator!=(const·InterfaceInformation&·o)·const
 91 ·168·{
 92 ·169·return·!operator==(o);
 93 ·170·}
 94 ·171
 95 172·bool·operator==(const·InterfaceInformation&·o)·const
 96 ·173·{
 97 ·174·if(size_!=o.size_)
 98 ·175·return·false;
 99 ·176·for(std::size_t·i=0;·i<·size_;·++i)
 100 ·177·if(indices_[i]!=o.indices_[i])
 101 ·178·return·false;
 102 ·179·return·true;
 103 ·180·}
 104 ·181
 105 ·182·private:
 106 ·186·size_t·size_;
 107 ·190·size_t·maxSize_;
 108 ·194·std::size_t*·indices_;
 109 ·195·};
 110 ·196
 111 208·class·Interface·:·public·InterfaceBuilder
 112 ·209·{
 113 ·210
 114 ·211·public:
 115 216·typedef·std::map<int,std::pair<InterfaceInformation,InterfaceInformation>·>
 116 InformationMap;
 117 ·217
 118 ·234·template<typename·R,·typename·T1,·typename·T2>
 119 ·235·void·build(const·R&·remoteIndices,·const·T1&·sourceFlags,
 120 ·236·const·T2&·destFlags);
Max diff block lines reached; 116/16318 bytes (0.71%) of diff not shown.
29.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a04445.html
    
Offset 58, 61 lines modifiedOffset 58, 138 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">simd/interface.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>
71 <a·href="#func-members">Functions</a>··</div> 
72 ··<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><!--header-->71 </div><!--header-->
74 <div·class="contents">72 <div·class="contents">
  
75 <p>Provides·classes·for·building·the·communication·interface·between·remote·indices.··73 <p>User·interface·of·the·SIMD·abstraction.··
76 <a·href="#details">More...</a></p>74 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00323_source.html">remoteindices.hh</a>&quot;</code><br·/>75 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>
 76 <code>#include·&lt;cstddef&gt;</code><br·/>
 77 <code>#include·&lt;type_traits&gt;</code><br·/>
 78 <code>#include·&lt;utility&gt;</code><br·/>
 79 <code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>
78 <code>#include·&lt;<a·class="el"·href="a00044_source.html">dune/common/enumset.hh</a>&gt;</code><br·/>80 <code>#include·&lt;<a·class="el"·href="a00242_source.html">dune/common/typelist.hh</a>&gt;</code><br·/>
79 </div>81 </div>
80 <p><a·href="a04445_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a04445_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> 
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="a02136.html">Dune::InterfaceBuilder</a></td></tr> 
85 <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="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="a02140.html">Dune::InterfaceBuilder::RemoteIndicesStateError</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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02144.html">Dune::InterfaceInformation</a></td></tr> 
90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Information·describing·an·interface.··<a·href="a02144.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="a02148.html">Dune::Interface</a></td></tr> 
93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a01988.html"·title="Collective·communication·interface·and·sequential·default·implementation.">Communication</a>·interface·between·remote·and·local·indices.··<a·href="a02148.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>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
97 Namespaces</h2></td></tr>85 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>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>
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>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>
100 <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: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>
 90 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<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">Basic·interface</h2></td></tr>
 94 <tr·class="memitem:gaf7f6f3418836afcdb2c033509fd2eb91"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 95 <tr·class="memitem:gaf7f6f3418836afcdb2c033509fd2eb91"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">Dune::Simd::Scalar</a>·=·typename·Overloads::ScalarType&lt;·std::decay_t&lt;·V·&gt;·&gt;::type</td></tr>
 96 <tr·class="memdesc:gaf7f6f3418836afcdb2c033509fd2eb91"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Element·type·of·some·SIMD·type.··<a·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">More...</a><br·/></td></tr>
 97 <tr·class="separator:gaf7f6f3418836afcdb2c033509fd2eb91"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 98 <tr·class="memitem:ga8d4752fe47def6075b211544a932c709"><td·class="memTemplParams"·colspan="2">template&lt;class·S·,·class·V·&gt;·</td></tr>
 99 <tr·class="memitem:ga8d4752fe47def6075b211544a932c709"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#ga8d4752fe47def6075b211544a932c709">Dune::Simd::Rebind</a>·=·typename·Overloads::RebindType&lt;·std::decay_t&lt;·S·&gt;,·std::decay_t&lt;·V·&gt;·&gt;::type</td></tr>
 100 <tr·class="memdesc:ga8d4752fe47def6075b211544a932c709"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Construct·SIMD·type·with·different·scalar·type.··<a·href="a00419.html#ga8d4752fe47def6075b211544a932c709">More...</a><br·/></td></tr>
 101 <tr·class="separator:ga8d4752fe47def6075b211544a932c709"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 <tr·class="memitem:gac6a0cf43eb7664581bd8a6954d7ff305"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 103 <tr·class="memitem:gac6a0cf43eb7664581bd8a6954d7ff305"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·std::size_t&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gac6a0cf43eb7664581bd8a6954d7ff305">Dune::Simd::lanes</a>·()</td></tr>
 104 <tr·class="memdesc:gac6a0cf43eb7664581bd8a6954d7ff305"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Number·of·lanes·in·a·SIMD·type.··<a·href="a00419.html#gac6a0cf43eb7664581bd8a6954d7ff305">More...</a><br·/></td></tr>
 105 <tr·class="separator:gac6a0cf43eb7664581bd8a6954d7ff305"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 <tr·class="memitem:gaca5433c99a350b973623f94491e43a86"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 107 <tr·class="memitem:gaca5433c99a350b973623f94491e43a86"><td·class="memTemplItemLeft"·align="right"·valign="top">decltype(auto)&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gaca5433c99a350b973623f94491e43a86">Dune::Simd::lane</a>·(std::size_t·l,·V·&amp;&amp;v)</td></tr>
 108 <tr·class="memdesc:gaca5433c99a350b973623f94491e43a86"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Extract·an·element·of·a·SIMD·type.··<a·href="a00419.html#gaca5433c99a350b973623f94491e43a86">More...</a><br·/></td></tr>
 109 <tr·class="separator:gaca5433c99a350b973623f94491e43a86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 110 <tr·class="memitem:gab5615170452d6ad3d87596cafef62f7c"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class·U·&gt;·</td></tr>
 111 <tr·class="memitem:gab5615170452d6ad3d87596cafef62f7c"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·V&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gab5615170452d6ad3d87596cafef62f7c">Dune::Simd::implCast</a>·(U·&amp;&amp;u)</td></tr>
 112 <tr·class="memdesc:gab5615170452d6ad3d87596cafef62f7c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Cast·an·expression·from·one·implementation·to·another.··<a·href="a00419.html#gab5615170452d6ad3d87596cafef62f7c">More...</a><br·/></td></tr>
 113 <tr·class="separator:gab5615170452d6ad3d87596cafef62f7c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 114 <tr·class="memitem:gaa0d1652bc61cae3351079ca5510e8d4f"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class·S·&gt;·</td></tr>
 115 <tr·class="memitem:gaa0d1652bc61cae3351079ca5510e8d4f"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·V&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gaa0d1652bc61cae3351079ca5510e8d4f">Dune::Simd::broadcast</a>·(S·s)</td></tr>
 116 <tr·class="memdesc:gaa0d1652bc61cae3351079ca5510e8d4f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Broadcast·a·scalar·to·a·vector·explicitly.··<a·href="a00419.html#gaa0d1652bc61cae3351079ca5510e8d4f">More...</a><br·/></td></tr>
 117 <tr·class="separator:gaa0d1652bc61cae3351079ca5510e8d4f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 118 <tr·class="memitem:ga1a04d18cec7c2f206e9de49926bfe5a8"><td·class="memTemplParams"·colspan="2">template&lt;class·M·,·class·V·&gt;·</td></tr>
 119 <tr·class="memitem:ga1a04d18cec7c2f206e9de49926bfe5a8"><td·class="memTemplItemLeft"·align="right"·valign="top">V&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#ga1a04d18cec7c2f206e9de49926bfe5a8">Dune::Simd::cond</a>·(M·&amp;&amp;mask,·const·V·&amp;ifTrue,·const·V·&amp;ifFalse)</td></tr>
 120 <tr·class="memdesc:ga1a04d18cec7c2f206e9de49926bfe5a8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Like·the·?:·operator.··<a·href="a00419.html#ga1a04d18cec7c2f206e9de49926bfe5a8">More...</a><br·/></td></tr>
 121 <tr·class="separator:ga1a04d18cec7c2f206e9de49926bfe5a8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 122 <tr·class="memitem:gaed055bc5f93bbb34cee35cdcba278b3d"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 123 <tr·class="memitem:gaed055bc5f93bbb34cee35cdcba278b3d"><td·class="memTemplItemLeft"·align="right"·valign="top">V&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gaed055bc5f93bbb34cee35cdcba278b3d">Dune::Simd::cond</a>·(bool·mask,·const·V·&amp;ifTrue,·const·V·&amp;ifFalse)</td></tr>
 124 <tr·class="memdesc:gaed055bc5f93bbb34cee35cdcba278b3d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Like·the·?:·operator.··<a·href="a00419.html#gaed055bc5f93bbb34cee35cdcba278b3d">More...</a><br·/></td></tr>
 125 <tr·class="separator:gaed055bc5f93bbb34cee35cdcba278b3d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 126 <tr·class="memitem:gaa6c890aa2ed0432984358e6e0b487b3f"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 127 <tr·class="memitem:gaa6c890aa2ed0432984358e6e0b487b3f"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gaa6c890aa2ed0432984358e6e0b487b3f">Dune::Simd::max</a>·(const·V·&amp;v1,·const·V·&amp;v2)</td></tr>
 128 <tr·class="memdesc:gaa6c890aa2ed0432984358e6e0b487b3f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·binary·maximum·value·over·two·simd·objects.··<a·href="a00419.html#gaa6c890aa2ed0432984358e6e0b487b3f">More...</a><br·/></td></tr>
 129 <tr·class="separator:gaa6c890aa2ed0432984358e6e0b487b3f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 130 <tr·class="memitem:gafa18ecd1517a0f3c3ae83c6a6b5e1559"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 131 <tr·class="memitem:gafa18ecd1517a0f3c3ae83c6a6b5e1559"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gafa18ecd1517a0f3c3ae83c6a6b5e1559">Dune::Simd::min</a>·(const·V·&amp;v1,·const·V·&amp;v2)</td></tr>
 132 <tr·class="memdesc:gafa18ecd1517a0f3c3ae83c6a6b5e1559"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·binary·minimum·value·over·two·simd·objects.··<a·href="a00419.html#gafa18ecd1517a0f3c3ae83c6a6b5e1559">More...</a><br·/></td></tr>
 133 <tr·class="separator:gafa18ecd1517a0f3c3ae83c6a6b5e1559"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 134 <tr·class="memitem:ga17639369fac8b6c516ebf2125849d0f4"><td·class="memTemplParams"·colspan="2">template&lt;class·Mask·&gt;·</td></tr>
 135 <tr·class="memitem:ga17639369fac8b6c516ebf2125849d0f4"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#ga17639369fac8b6c516ebf2125849d0f4">Dune::Simd::anyTrue</a>·(const·Mask·&amp;mask)</td></tr>
 136 <tr·class="memdesc:ga17639369fac8b6c516ebf2125849d0f4"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Whether·any·entry·is·<code>true</code>··<a·href="a00419.html#ga17639369fac8b6c516ebf2125849d0f4">More...</a><br·/></td></tr>
 137 <tr·class="separator:ga17639369fac8b6c516ebf2125849d0f4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 138 <tr·class="memitem:ga54577fa7b2752b55d6efd05878ca1e24"><td·class="memTemplParams"·colspan="2">template&lt;class·Mask·&gt;·</td></tr>
 139 <tr·class="memitem:ga54577fa7b2752b55d6efd05878ca1e24"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#ga54577fa7b2752b55d6efd05878ca1e24">Dune::Simd::allTrue</a>·(const·Mask·&amp;mask)</td></tr>
 140 <tr·class="memdesc:ga54577fa7b2752b55d6efd05878ca1e24"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Whether·all·entries·are·<code>true</code>··<a·href="a00419.html#ga54577fa7b2752b55d6efd05878ca1e24">More...</a><br·/></td></tr>
 141 <tr·class="separator:ga54577fa7b2752b55d6efd05878ca1e24"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 142 <tr·class="memitem:gaaee5c9c3caa23996397af767ca52845e"><td·class="memTemplParams"·colspan="2">template&lt;class·Mask·&gt;·</td></tr>
 143 <tr·class="memitem:gaaee5c9c3caa23996397af767ca52845e"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gaaee5c9c3caa23996397af767ca52845e">Dune::Simd::anyFalse</a>·(const·Mask·&amp;mask)</td></tr>
 144 <tr·class="memdesc:gaaee5c9c3caa23996397af767ca52845e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Whether·any·entry·is·<code>false</code>··<a·href="a00419.html#gaaee5c9c3caa23996397af767ca52845e">More...</a><br·/></td></tr>
 145 <tr·class="separator:gaaee5c9c3caa23996397af767ca52845e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 146 <tr·class="memitem:gaf404687904c5a04c3ab453b9b19c1562"><td·class="memTemplParams"·colspan="2">template&lt;class·Mask·&gt;·</td></tr>
 147 <tr·class="memitem:gaf404687904c5a04c3ab453b9b19c1562"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gaf404687904c5a04c3ab453b9b19c1562">Dune::Simd::allFalse</a>·(const·Mask·&amp;mask)</td></tr>
 148 <tr·class="memdesc:gaf404687904c5a04c3ab453b9b19c1562"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Whether·all·entries·are·<code>false</code>··<a·href="a00419.html#gaf404687904c5a04c3ab453b9b19c1562">More...</a><br·/></td></tr>
 149 <tr·class="separator:gaf404687904c5a04c3ab453b9b19c1562"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 150 <tr·class="memitem:gacbb7e26df1346d475506ecaab9449f1d"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 151 <tr·class="memitem:gacbb7e26df1346d475506ecaab9449f1d"><td·class="memTemplItemLeft"·align="right"·valign="top">Scalar&lt;·V·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gacbb7e26df1346d475506ecaab9449f1d">Dune::Simd::max</a>·(const·V·&amp;v)</td></tr>
 152 <tr·class="memdesc:gacbb7e26df1346d475506ecaab9449f1d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·horizontal·maximum·value·over·all·lanes.··<a·href="a00419.html#gacbb7e26df1346d475506ecaab9449f1d">More...</a><br·/></td></tr>
 153 <tr·class="separator:gacbb7e26df1346d475506ecaab9449f1d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 154 <tr·class="memitem:ga2549067f8a707c8aa06ee4c32e75bbbc"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 155 <tr·class="memitem:ga2549067f8a707c8aa06ee4c32e75bbbc"><td·class="memTemplItemLeft"·align="right"·valign="top">Scalar&lt;·V·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#ga2549067f8a707c8aa06ee4c32e75bbbc">Dune::Simd::min</a>·(const·V·&amp;v)</td></tr>
 156 <tr·class="memdesc:ga2549067f8a707c8aa06ee4c32e75bbbc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·horizontal·minimum·value·over·all·lanes.··<a·href="a00419.html#ga2549067f8a707c8aa06ee4c32e75bbbc">More...</a><br·/></td></tr>
 157 <tr·class="separator:ga2549067f8a707c8aa06ee4c32e75bbbc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 158 <tr·class="memitem:ga3e3f45a22ca7244829e9adf246ac4a9d"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 159 <tr·class="memitem:ga3e3f45a22ca7244829e9adf246ac4a9d"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">Dune::Simd::mask</a>·(const·V·&amp;v)</td></tr>
 160 <tr·class="memdesc:ga3e3f45a22ca7244829e9adf246ac4a9d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Convert·to·mask,·analogue·of·bool(s)·for·scalars.··<a·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">More...</a><br·/></td></tr>
 161 <tr·class="separator:ga3e3f45a22ca7244829e9adf246ac4a9d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 162 <tr·class="memitem:ga19a63bc3591ee6c8fd5706c9be4380bf"><td·class="memTemplParams"·colspan="2">template&lt;class·V1·,·class·V2·&gt;·</td></tr>
 163 <tr·class="memitem:ga19a63bc3591ee6c8fd5706c9be4380bf"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#ga19a63bc3591ee6c8fd5706c9be4380bf">Dune::Simd::maskOr</a>·(const·V1·&amp;v1,·const·V2·&amp;v2)</td></tr>
 164 <tr·class="memdesc:ga19a63bc3591ee6c8fd5706c9be4380bf"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Logic·or·of·masks.··<a·href="a00419.html#ga19a63bc3591ee6c8fd5706c9be4380bf">More...</a><br·/></td></tr>
 165 <tr·class="separator:ga19a63bc3591ee6c8fd5706c9be4380bf"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Max diff block lines reached; 3421/24337 bytes (14.06%) of diff not shown.
5.5 KB
html2text {}
    
Offset 4, 44 lines modifiedOffset 4, 130 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 ····*·simd
 8 Namespaces
9 parallel/interface.hh·File·Reference9 simd/interface.hh·File·Reference
10 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets 
11 Provides·classes·for·building·the·communication·interface·between·remote 
12 indices.·More... 
13 #include·"remoteindices.hh"10 Common·»·Vectorization·»·Library_Developer's_Interface
 11 User·interface·of·the·SIMD·abstraction.·More...
 12 #include·<cassert>
 13 #include·<cstddef>
 14 #include·<type_traits>
 15 #include·<utility>
 16 #include·<dune/common/simd/base.hh>
14 #include·<dune/common/enumset.hh>17 #include·<dune/common/typelist.hh>
15 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
16 ·Classes 
17 class· Dune::InterfaceBuilder 
18  ······Base·class·of·all·classes·representing·a·communication·interface. 
19 ········More... 
20   
21 class· Dune::InterfaceBuilder::RemoteIndicesStateError 
22   
23 class· Dune::InterfaceInformation 
24  ······Information·describing·an·interface.·More... 
25   
26 class· Dune::Interface 
27  ······Communication·interface·between·remote·and·local·indices.·More... 
28   
29 ·Namespaces19 ·Namespaces
30 namespace· Dune20 namespace· Dune
31  ··········Dune·namespace.21  ··········Dune·namespace.
32  22  
33 ·Functions 
34 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·Interface·&interface)23 namespace· Dune::Simd
 24  ··········Namespace·for·vectorization·interface·functions·used·by·library
 25 ············developers.
 26  
 27 *****·Basic·interface·*****
 28 template<class·V·>
 29 ················using Dune::Simd::Scalar·=·typename·Overloads::ScalarType<
 30 ·······················std::decay_t<·V·>·>::type
 31  ·····················Element·type·of·some·SIMD·type.·More...
 32  
 33 template<class·S·,·class·V·>
 34 ················using Dune::Simd::Rebind·=·typename·Overloads::RebindType<
 35 ·······················std::decay_t<·S·>,·std::decay_t<·V·>·>::type
 36  ·····················Construct·SIMD·type·with·different·scalar·type.·More...
 37  
 38 template<class·V·>
 39 constexpr·std::size_t Dune::Simd::lanes·()
 40  ·····················Number·of·lanes·in·a·SIMD·type.·More...
 41  
 42 template<class·V·>
 43 ·······decltype(auto) Dune::Simd::lane·(std::size_t·l,·V·&&v)
 44  ·····················Extract·an·element·of·a·SIMD·type.·More...
 45  
 46 template<class·V·,·class·U·>
 47 ··········constexpr·V Dune::Simd::implCast·(U·&&u)
 48  ·····················Cast·an·expression·from·one·implementation·to·another.
 49 ·······················More...
 50  
 51 template<class·V·,·class·S·>
 52 ··········constexpr·V Dune::Simd::broadcast·(S·s)
 53  ·····················Broadcast·a·scalar·to·a·vector·explicitly.·More...
 54  
 55 template<class·M·,·class·V·>
 56 ····················V Dune::Simd::cond·(M·&&mask,·const·V·&ifTrue,·const·V
 57 ·······················&ifFalse)
 58  ·····················Like·the·?:·operator.·More...
 59  
 60 template<class·V·>
 61 ····················V Dune::Simd::cond·(bool·mask,·const·V·&ifTrue,·const·V
 62 ·······················&ifFalse)
 63  ·····················Like·the·?:·operator.·More...
 64  
 65 template<class·V·>
 66 ·················auto Dune::Simd::max·(const·V·&v1,·const·V·&v2)
 67  ·····················The·binary·maximum·value·over·two·simd·objects.·More...
 68  
 69 template<class·V·>
 70 ·················auto Dune::Simd::min·(const·V·&v1,·const·V·&v2)
 71  ·····················The·binary·minimum·value·over·two·simd·objects.·More...
 72  
 73 template<class·Mask·>
 74 ·················bool Dune::Simd::anyTrue·(const·Mask·&mask)
 75  ·····················Whether·any·entry·is·true·More...
 76  
 77 template<class·Mask·>
 78 ·················bool Dune::Simd::allTrue·(const·Mask·&mask)
 79  ·····················Whether·all·entries·are·true·More...
 80  
 81 template<class·Mask·>
 82 ·················bool Dune::Simd::anyFalse·(const·Mask·&mask)
 83  ·····················Whether·any·entry·is·false·More...
 84  
 85 template<class·Mask·>
 86 ·················bool Dune::Simd::allFalse·(const·Mask·&mask)
 87  ·····················Whether·all·entries·are·false·More...
 88  
 89 template<class·V·>
 90 ··········Scalar<·V·> Dune::Simd::max·(const·V·&v)
 91  ·····················The·horizontal·maximum·value·over·all·lanes.·More...
 92  
 93 template<class·V·>
 94 ··········Scalar<·V·> Dune::Simd::min·(const·V·&v)
 95  ·····················The·horizontal·minimum·value·over·all·lanes.·More...
 96  
 97 template<class·V·>
 98 ·················auto Dune::Simd::mask·(const·V·&v)
 99  ·····················Convert·to·mask,·analogue·of·bool(s)·for·scalars.
 100 ·······················More...
 101  
 102 template<class·V1·,·class·V2·>
 103 ·················auto Dune::Simd::maskOr·(const·V1·&v1,·const·V2·&v2)
 104  ·····················Logic·or·of·masks.·More...
 105  
 106 template<class·V1·,·class·V2·>
 107 ·················auto Dune::Simd::maskAnd·(const·V1·&v1,·const·V2·&v2)
 108  ·····················Logic·and·of·masks.·More...
Max diff block lines reached; 502/5609 bytes (8.95%) of diff not shown.
133 KB
./usr/share/doc/libdune-common-doc/doxygen/a04445_source.html
    
Offset 58, 425 lines modifiedOffset 58, 220 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">parallel/interface.hh</div></div>68 ··<div·class="headertitle"><div·class="title">simd/interface.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
 71 <a·href="a04445.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="a04445.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_INTERFACE_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_INTERFACE_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_INTERFACE_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_INTERFACE_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="l00017"·name="l00017"></a><span·class="lineno">···17</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">#if·HAVE_MPI</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>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</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><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00323.html">remoteindices.hh</a>&quot;</span></div>79 <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="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00044.html">dune/common/enumset.hh</a>&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="l00021"·name="l00021"></a><span·class="lineno">···21</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="a00365.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="a00242.html">dune/common/typelist.hh</a>&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> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div> 
85 <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="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="keyword">public</span>:</div> 
88 <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="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>·</div> 
91 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a02136.html#a8fd7e6b28d58b8b8550a63b416c08148">···40</a></span>····<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a02136.html#a8fd7e6b28d58b8b8550a63b416c08148">~InterfaceBuilder</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>·</div>83 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 84 <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>
94 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">protected</span>:</div> 
95 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a02136.html#ae9a71b43a7e08ca2a9964deed35b1e28">···47</a></span>····<a·class="code·hl_function"·href="a02136.html#ae9a71b43a7e08ca2a9964deed35b1e28">InterfaceBuilder</a>()</div> 
96 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····{}</div> 
97 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
98 <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>·R,·<span·class="keyword">class</span>·T1,·<span·class="keyword">class</span>·T2,·<span·class="keyword">class</span>·Op,·<span·class="keywordtype">bool</span>·send&gt;</div> 
99 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00416.html#ga05121b68560835efae0092c6a9078e78">buildInterface</a>·(<span·class="keyword">const</span>·R&amp;·remoteIndices,</div> 
100 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·························<span·class="keyword">const</span>·T1&amp;·sourceFlags,·<span·class="keyword">const</span>·T2&amp;·destFlags,</div> 
101 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·························Op&amp;·functor)·<span·class="keyword">const</span>;</div> 
102 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··};</div> 
103 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>85 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
104 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a02144.html">··100</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02144.html">InterfaceInformation</a></div> 
105 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··{</div> 
106 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> 
107 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="keyword">public</span>:</div> 
108 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> 
109 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a02144.html#ae44761e3e2f5b738e06d04b7e76cf90b">··108</a></span>····<span·class="keywordtype">size_t</span>·<a·class="code·hl_function"·href="a02144.html#ae44761e3e2f5b738e06d04b7e76cf90b">size</a>()<span·class="keyword">·const</span></div> 
110 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="keyword">····</span>{</div> 
111 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>······<span·class="keywordflow">return</span>·size_;</div> 
112 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····}</div> 
113 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a02144.html#a60f60900cb0fae30c356be390fc26c53">··116</a></span>····std::size_t&amp;·<a·class="code·hl_function"·href="a02144.html#a60f60900cb0fae30c356be390fc26c53">operator[]</a>(<span·class="keywordtype">size_t</span>·i)</div> 
114 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····{</div> 
115 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>······assert(i&lt;size_);</div> 
116 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>······<span·class="keywordflow">return</span>·indices_[i];</div> 
117 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····}</div> 
118 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno"><a·class="line"·href="a02144.html#af672841b5e27036ef0de7111df2e4f08">··125</a></span>····std::size_t·<a·class="code·hl_function"·href="a02144.html#af672841b5e27036ef0de7111df2e4f08">operator[]</a>(<span·class="keywordtype">size_t</span>·i)<span·class="keyword">·const</span></div> 
119 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span><span·class="keyword">····</span>{</div> 
120 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>······assert(i&lt;size_);</div> 
121 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>······<span·class="keywordflow">return</span>·indices_[i];</div> 
122 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>····}</div> 
123 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno"><a·class="line"·href="a02144.html#ae4d44498ce2f25d30fe10d52a8c0b682">··134</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02144.html#ae4d44498ce2f25d30fe10d52a8c0b682">reserve</a>(<span·class="keywordtype">size_t</span>·<a·class="code·hl_function"·href="a02144.html#ae44761e3e2f5b738e06d04b7e76cf90b">size</a>)</div> 
124 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>····{</div> 
125 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>······indices_·=·<span·class="keyword">new</span>·std::size_t[<a·class="code·hl_function"·href="a02144.html#ae44761e3e2f5b738e06d04b7e76cf90b">size</a>];</div> 
126 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>······maxSize_·=·<a·class="code·hl_function"·href="a02144.html#ae44761e3e2f5b738e06d04b7e76cf90b">size</a>;</div> 
127 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>·</div> 
128 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>····}</div> 
129 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno"><a·class="line"·href="a02144.html#a34fc2f7d08e7812ae7e74c5a76317cce">··143</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02144.html#a34fc2f7d08e7812ae7e74c5a76317cce">free</a>()</div> 
130 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>····{</div> 
131 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>······<span·class="keywordflow">if</span>(indices_)</div> 
132 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>········<span·class="keyword">delete</span>[]·indices_;</div> 
133 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>······maxSize_·=·0;</div> 
134 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>······size_=0;</div> 
135 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>······indices_=0;</div> 
136 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>····}</div> 
137 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno"><a·class="line"·href="a02144.html#a4c38673248929efc6a381c7a3905a8a5">··154</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02144.html#a4c38673248929efc6a381c7a3905a8a5">add</a>(std::size_t·index)</div> 
138 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>····{</div> 
139 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>······assert(size_&lt;maxSize_);</div> 
140 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>······indices_[size_++]=index;</div> 
141 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>····}</div> 
142 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>·</div> 
143 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno"><a·class="line"·href="a02144.html#acf04b8261cf9f1ea8919862b8c1417bb">··160</a></span>····<a·class="code·hl_function"·href="a02144.html#acf04b8261cf9f1ea8919862b8c1417bb">InterfaceInformation</a>()</div> 
144 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>······:·size_(0),·maxSize_(0),·indices_(0)</div> 
145 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>····{}</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"><a·class="line"·href="a02144.html#a560e43bc8de72e3d52b91d10060ec2de">··164</a></span>····<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a02144.html#a560e43bc8de72e3d52b91d10060ec2de">~InterfaceInformation</a>()</div> 
148 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno">··165</span>····{}</div> 
149 <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>·</div> 
150 <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno"><a·class="line"·href="a02144.html#a25477924f0360a72ddf14f89054abc2a">··167</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02144.html#a25477924f0360a72ddf14f89054abc2a">operator!=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02144.html">InterfaceInformation</a>&amp;·o)<span·class="keyword">·const</span></div> 
151 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span><span·class="keyword">····</span>{</div> 
152 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>······<span·class="keywordflow">return</span>·!<a·class="code·hl_function"·href="a02144.html#a6da64368ed961306ad2f421075f8e90d">operator==</a>(o);</div> 
153 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>····}</div> 
154 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>·</div> 
155 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno"><a·class="line"·href="a02144.html#a6da64368ed961306ad2f421075f8e90d">··172</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02144.html#a6da64368ed961306ad2f421075f8e90d">operator==</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02144.html">InterfaceInformation</a>&amp;·o)<span·class="keyword">·const</span></div> 
156 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno">··173</span><span·class="keyword">····</span>{</div> 
157 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>······<span·class="keywordflow">if</span>(size_!=o.size_)</div> 
158 <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno">··175</span>········<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> 
159 <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</span>······<span·class="keywordflow">for</span>(std::size_t·i=0;·i&lt;·size_;·++i)</div> 
160 <div·class="line"><a·id="l00177"·name="l00177"></a><span·class="lineno">··177</span>········<span·class="keywordflow">if</span>(indices_[i]!=o.indices_[i])</div> 
161 <div·class="line"><a·id="l00178"·name="l00178"></a><span·class="lineno">··178</span>··········<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> 
162 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno">··179</span>······<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> 
163 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno">··180</span>····}</div> 
164 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</span>·</div> 
165 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno">··182</span>··<span·class="keyword">private</span>:</div> 
166 <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span>····<span·class="keywordtype">size_t</span>·size_;</div> 
167 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>····<span·class="keywordtype">size_t</span>·maxSize_;</div> 
168 <div·class="line"><a·id="l00194"·name="l00194"></a><span·class="lineno">··194</span>····std::size_t*·indices_;</div> 
169 <div·class="line"><a·id="l00195"·name="l00195"></a><span·class="lineno">··195</span>··};</div> 
170 <div·class="line"><a·id="l00196"·name="l00196"></a><span·class="lineno">··196</span>·</div> 
171 <div·class="line"><a·id="l00208"·name="l00208"></a><span·class="lineno"><a·class="line"·href="a02148.html">··208</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02148.html">Interface</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a02136.html">InterfaceBuilder</a></div> 
172 <div·class="line"><a·id="l00209"·name="l00209"></a><span·class="lineno">··209</span>··{</div> 
173 <div·class="line"><a·id="l00210"·name="l00210"></a><span·class="lineno">··210</span>·</div> 
174 <div·class="line"><a·id="l00211"·name="l00211"></a><span·class="lineno">··211</span>··<span·class="keyword">public</span>:</div> 
175 <div·class="line"><a·id="l00216"·name="l00216"></a><span·class="lineno"><a·class="line"·href="a02148.html#a7872c4faa3f54769d280e114a93a94d9">··216</a></span>····<span·class="keyword">typedef</span>·std::map&lt;int,std::pair&lt;InterfaceInformation,InterfaceInformation&gt;·&gt;·<a·class="code·hl_typedef"·href="a02148.html#a7872c4faa3f54769d280e114a93a94d9">InformationMap</a>;</div> 
176 <div·class="line"><a·id="l00217"·name="l00217"></a><span·class="lineno">··217</span>·</div> 
177 <div·class="line"><a·id="l00234"·name="l00234"></a><span·class="lineno">··234</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·R,·<span·class="keyword">typename</span>·T1,·<span·class="keyword">typename</span>·T2&gt;</div> 
178 <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno">··235</span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00416.html#ga1f0752f49661af9d5bacb90c8910342d">build</a>(<span·class="keyword">const</span>·R&amp;·remoteIndices,·<span·class="keyword">const</span>·T1&amp;·sourceFlags,</div> 
Max diff block lines reached; 70854/113890 bytes (62.21%) of diff not shown.
22.0 KB
html2text {}
    
Offset 4, 537 lines modifiedOffset 4, 278 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·parallel 
8 parallel/interface.hh7 ····*·simd
 8 simd/interface.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_INTERFACE_HH13 ·3#ifndef·DUNE_COMMON_SIMD_INTERFACE_HH
16 ·6#define·DUNE_INTERFACE_HH14 ·4#define·DUNE_COMMON_SIMD_INTERFACE_HH
17 ·7 
18 ·8#if·HAVE_MPI 
19 ·9 
20 ·10#include·"remoteindices.hh"15 ·5
 16 ·17#include·<cassert>
 17 ·18#include·<cstddef>
 18 ·19#include·<type_traits>
 19 ·20#include·<utility>
 20 ·21
 21 ·22#include·<dune/common/simd/base.hh>
21 ·11#include·<dune/common/enumset.hh>22 ·23#include·<dune/common/typelist.hh>
22 ·1223 ·24
23 ·13namespace·Dune24 ·25namespace·Dune·{
24 ·14{ 
25 34·class·InterfaceBuilder25 ·26
 26 ·29
 27 ·32·namespace·Simd·{
 28 ·33
 29 ·223
 30 ·234·template<class·V>
 31 235·using·Scalar·=·typename·Overloads::ScalarType<std::decay_t<V>·>::type;
 32 ·236
 33 ·238
 34 ·251·template<class·S,·class·V>
 35 252·using·Rebind·=
 36 ·253·typename·Overloads::RebindType<std::decay_t<S>,·std::decay_t<V>>::type;
 37 ·254
 38 ·256
 39 ·267
 40 ·288·template<class·V>
 41 289·using·Mask·=·Rebind<bool,_V>;
 42 ·290
 43 ·292
 44 ·298
 45 ·304·template<class·V>
 46 305·constexpr·std::size_t·lanes()
 47 ·306·{
 48 ·307·return·Overloads::LaneCount<std::decay_t<V>>::value;
 49 ·308·}
 50 ·309
 51 ·311
 52 ·323·template<class·V>
 53 324·decltype(auto)·lane(std::size_t·l,·V·&&v)
26 ·35·{54 ·325·{
27 ·36·public: 
28 37·class·RemoteIndicesStateError·:·public·InvalidStateException55 ·326·assert(l·<·lanes<V>());
 56 ·327·return·lane(Overloads::ADLTag<7>{},·l,·std::forward<V>(v));
29 ·38·{};57 ·328·}
30 ·3958 ·329
31 40·virtual·~InterfaceBuilder() 
32 ·41·{} 
33 ·42 
34 ·43·protected: 
35 47·InterfaceBuilder() 
36 ·48·{} 
37 ·49 
38 ·87·template<class·R,·class·T1,·class·T2,·class·Op,·bool·send> 
39 ·88·void·buildInterface·(const·R&·remoteIndices, 
40 ·89·const·T1&·sourceFlags,·const·T2&·destFlags, 
41 ·90·Op&·functor)·const; 
42 ·91·}; 
43 ·92 
44 100·class·InterfaceInformation 
45 ·101·{ 
46 ·102 
47 ·103·public: 
48 ·104 
49 108·size_t·size()·const 
50 ·109·{ 
51 ·110·return·size_; 
52 ·111·} 
53 116·std::size_t&·operator[](size_t·i) 
54 ·117·{ 
55 ·118·assert(i<size_); 
56 ·119·return·indices_[i]; 
57 ·120·} 
58 125·std::size_t·operator[](size_t·i)·const 
59 ·126·{ 
60 ·127·assert(i<size_); 
61 ·128·return·indices_[i]; 
62 ·129·} 
63 134·void·reserve(size_t·size) 
64 ·135·{ 
65 ·136·indices_·=·new·std::size_t[size]; 
66 ·137·maxSize_·=·size; 
67 ·138 
68 ·139·} 
69 143·void·free() 
70 ·144·{ 
71 ·145·if(indices_) 
72 ·146·delete[]·indices_; 
73 ·147·maxSize_·=·0; 
74 ·148·size_=0; 
75 ·149·indices_=0; 
76 ·150·} 
77 154·void·add(std::size_t·index) 
78 ·155·{ 
79 ·156·assert(size_<maxSize_); 
80 ·157·indices_[size_++]=index; 
81 ·158·} 
82 ·159 
83 160·InterfaceInformation() 
84 ·161·:·size_(0),·maxSize_(0),·indices_(0) 
85 ·162·{} 
86 ·163 
87 164·virtual·~InterfaceInformation() 
88 ·165·{} 
89 ·166 
90 167·bool·operator!=(const·InterfaceInformation&·o)·const 
Max diff block lines reached; 16384/22482 bytes (72.88%) of diff not shown.
26.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a04448.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:·interface.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 62, 134 lines modifiedOffset 62, 27 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="header">67 <div·class="header">
 68 ··<div·class="headertitle"><div·class="title">simd/simd.hh·File·Reference</div></div>
68 ··<div·class="summary"> 
69 <a·href="#namespaces">Namespaces</a>··</div> 
70 ··<div·class="headertitle"><div·class="title">simd/interface.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> 
71 </div><!--header-->69 </div><!--header-->
72 <div·class="contents">70 <div·class="contents">
  
73 <p>User·interface·of·the·SIMD·abstraction.··71 <p>Include·file·for·users·of·the·SIMD·abstraction·layer.··
74 <a·href="#details">More...</a></p>72 <a·href="#details">More...</a></p>
 73 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a04445_source.html">dune/common/simd/interface.hh</a>&gt;</code><br·/>
75 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/> 
76 <code>#include·&lt;cstddef&gt;</code><br·/> 
77 <code>#include·&lt;type_traits&gt;</code><br·/> 
78 <code>#include·&lt;utility&gt;</code><br·/> 
79 <code>#include·&lt;<a·class="el"·href="a00272_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>74 <code>#include·&lt;<a·class="el"·href="a00353_source.html">dune/common/simd/standard.hh</a>&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00197_source.html">dune/common/typelist.hh</a>&gt;</code><br·/> 
81 </div>75 </div>
82 <p><a·href="a04448_source.html">Go·to·the·source·code·of·this·file.</a></p>76 <p><a·href="a04448_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="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: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> 
90 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<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">Basic·interface</h2></td></tr> 
94 <tr·class="memitem:gaf7f6f3418836afcdb2c033509fd2eb91"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
95 <tr·class="memitem:gaf7f6f3418836afcdb2c033509fd2eb91"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">Dune::Simd::Scalar</a>·=·typename·Overloads::ScalarType&lt;·std::decay_t&lt;·V·&gt;·&gt;::type</td></tr> 
96 <tr·class="memdesc:gaf7f6f3418836afcdb2c033509fd2eb91"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Element·type·of·some·SIMD·type.··<a·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">More...</a><br·/></td></tr> 
97 <tr·class="separator:gaf7f6f3418836afcdb2c033509fd2eb91"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
98 <tr·class="memitem:ga8d4752fe47def6075b211544a932c709"><td·class="memTemplParams"·colspan="2">template&lt;class·S·,·class·V·&gt;·</td></tr> 
99 <tr·class="memitem:ga8d4752fe47def6075b211544a932c709"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#ga8d4752fe47def6075b211544a932c709">Dune::Simd::Rebind</a>·=·typename·Overloads::RebindType&lt;·std::decay_t&lt;·S·&gt;,·std::decay_t&lt;·V·&gt;·&gt;::type</td></tr> 
100 <tr·class="memdesc:ga8d4752fe47def6075b211544a932c709"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Construct·SIMD·type·with·different·scalar·type.··<a·href="a00419.html#ga8d4752fe47def6075b211544a932c709">More...</a><br·/></td></tr> 
101 <tr·class="separator:ga8d4752fe47def6075b211544a932c709"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 <tr·class="memitem:gac6a0cf43eb7664581bd8a6954d7ff305"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
103 <tr·class="memitem:gac6a0cf43eb7664581bd8a6954d7ff305"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·std::size_t&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gac6a0cf43eb7664581bd8a6954d7ff305">Dune::Simd::lanes</a>·()</td></tr> 
104 <tr·class="memdesc:gac6a0cf43eb7664581bd8a6954d7ff305"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Number·of·lanes·in·a·SIMD·type.··<a·href="a00419.html#gac6a0cf43eb7664581bd8a6954d7ff305">More...</a><br·/></td></tr> 
105 <tr·class="separator:gac6a0cf43eb7664581bd8a6954d7ff305"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
106 <tr·class="memitem:gaca5433c99a350b973623f94491e43a86"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
107 <tr·class="memitem:gaca5433c99a350b973623f94491e43a86"><td·class="memTemplItemLeft"·align="right"·valign="top">decltype(auto)&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gaca5433c99a350b973623f94491e43a86">Dune::Simd::lane</a>·(std::size_t·l,·V·&amp;&amp;v)</td></tr> 
108 <tr·class="memdesc:gaca5433c99a350b973623f94491e43a86"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Extract·an·element·of·a·SIMD·type.··<a·href="a00419.html#gaca5433c99a350b973623f94491e43a86">More...</a><br·/></td></tr> 
109 <tr·class="separator:gaca5433c99a350b973623f94491e43a86"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
110 <tr·class="memitem:gab5615170452d6ad3d87596cafef62f7c"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class·U·&gt;·</td></tr> 
111 <tr·class="memitem:gab5615170452d6ad3d87596cafef62f7c"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·V&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gab5615170452d6ad3d87596cafef62f7c">Dune::Simd::implCast</a>·(U·&amp;&amp;u)</td></tr> 
112 <tr·class="memdesc:gab5615170452d6ad3d87596cafef62f7c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Cast·an·expression·from·one·implementation·to·another.··<a·href="a00419.html#gab5615170452d6ad3d87596cafef62f7c">More...</a><br·/></td></tr> 
113 <tr·class="separator:gab5615170452d6ad3d87596cafef62f7c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 <tr·class="memitem:gaa0d1652bc61cae3351079ca5510e8d4f"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class·S·&gt;·</td></tr> 
115 <tr·class="memitem:gaa0d1652bc61cae3351079ca5510e8d4f"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·V&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gaa0d1652bc61cae3351079ca5510e8d4f">Dune::Simd::broadcast</a>·(S·s)</td></tr> 
116 <tr·class="memdesc:gaa0d1652bc61cae3351079ca5510e8d4f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Broadcast·a·scalar·to·a·vector·explicitly.··<a·href="a00419.html#gaa0d1652bc61cae3351079ca5510e8d4f">More...</a><br·/></td></tr> 
117 <tr·class="separator:gaa0d1652bc61cae3351079ca5510e8d4f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
118 <tr·class="memitem:ga1a04d18cec7c2f206e9de49926bfe5a8"><td·class="memTemplParams"·colspan="2">template&lt;class·M·,·class·V·&gt;·</td></tr> 
119 <tr·class="memitem:ga1a04d18cec7c2f206e9de49926bfe5a8"><td·class="memTemplItemLeft"·align="right"·valign="top">V&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#ga1a04d18cec7c2f206e9de49926bfe5a8">Dune::Simd::cond</a>·(M·&amp;&amp;mask,·const·V·&amp;ifTrue,·const·V·&amp;ifFalse)</td></tr> 
120 <tr·class="memdesc:ga1a04d18cec7c2f206e9de49926bfe5a8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Like·the·?:·operator.··<a·href="a00419.html#ga1a04d18cec7c2f206e9de49926bfe5a8">More...</a><br·/></td></tr> 
121 <tr·class="separator:ga1a04d18cec7c2f206e9de49926bfe5a8"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
122 <tr·class="memitem:gaed055bc5f93bbb34cee35cdcba278b3d"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
123 <tr·class="memitem:gaed055bc5f93bbb34cee35cdcba278b3d"><td·class="memTemplItemLeft"·align="right"·valign="top">V&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gaed055bc5f93bbb34cee35cdcba278b3d">Dune::Simd::cond</a>·(bool·mask,·const·V·&amp;ifTrue,·const·V·&amp;ifFalse)</td></tr> 
124 <tr·class="memdesc:gaed055bc5f93bbb34cee35cdcba278b3d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Like·the·?:·operator.··<a·href="a00419.html#gaed055bc5f93bbb34cee35cdcba278b3d">More...</a><br·/></td></tr> 
125 <tr·class="separator:gaed055bc5f93bbb34cee35cdcba278b3d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
126 <tr·class="memitem:gaa6c890aa2ed0432984358e6e0b487b3f"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
127 <tr·class="memitem:gaa6c890aa2ed0432984358e6e0b487b3f"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gaa6c890aa2ed0432984358e6e0b487b3f">Dune::Simd::max</a>·(const·V·&amp;v1,·const·V·&amp;v2)</td></tr> 
128 <tr·class="memdesc:gaa6c890aa2ed0432984358e6e0b487b3f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·binary·maximum·value·over·two·simd·objects.··<a·href="a00419.html#gaa6c890aa2ed0432984358e6e0b487b3f">More...</a><br·/></td></tr> 
129 <tr·class="separator:gaa6c890aa2ed0432984358e6e0b487b3f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
130 <tr·class="memitem:gafa18ecd1517a0f3c3ae83c6a6b5e1559"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
131 <tr·class="memitem:gafa18ecd1517a0f3c3ae83c6a6b5e1559"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gafa18ecd1517a0f3c3ae83c6a6b5e1559">Dune::Simd::min</a>·(const·V·&amp;v1,·const·V·&amp;v2)</td></tr> 
132 <tr·class="memdesc:gafa18ecd1517a0f3c3ae83c6a6b5e1559"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·binary·minimum·value·over·two·simd·objects.··<a·href="a00419.html#gafa18ecd1517a0f3c3ae83c6a6b5e1559">More...</a><br·/></td></tr> 
133 <tr·class="separator:gafa18ecd1517a0f3c3ae83c6a6b5e1559"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
134 <tr·class="memitem:ga17639369fac8b6c516ebf2125849d0f4"><td·class="memTemplParams"·colspan="2">template&lt;class·Mask·&gt;·</td></tr> 
135 <tr·class="memitem:ga17639369fac8b6c516ebf2125849d0f4"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#ga17639369fac8b6c516ebf2125849d0f4">Dune::Simd::anyTrue</a>·(const·Mask·&amp;mask)</td></tr> 
136 <tr·class="memdesc:ga17639369fac8b6c516ebf2125849d0f4"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Whether·any·entry·is·<code>true</code>··<a·href="a00419.html#ga17639369fac8b6c516ebf2125849d0f4">More...</a><br·/></td></tr> 
137 <tr·class="separator:ga17639369fac8b6c516ebf2125849d0f4"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
138 <tr·class="memitem:ga54577fa7b2752b55d6efd05878ca1e24"><td·class="memTemplParams"·colspan="2">template&lt;class·Mask·&gt;·</td></tr> 
139 <tr·class="memitem:ga54577fa7b2752b55d6efd05878ca1e24"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#ga54577fa7b2752b55d6efd05878ca1e24">Dune::Simd::allTrue</a>·(const·Mask·&amp;mask)</td></tr> 
140 <tr·class="memdesc:ga54577fa7b2752b55d6efd05878ca1e24"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Whether·all·entries·are·<code>true</code>··<a·href="a00419.html#ga54577fa7b2752b55d6efd05878ca1e24">More...</a><br·/></td></tr> 
141 <tr·class="separator:ga54577fa7b2752b55d6efd05878ca1e24"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
142 <tr·class="memitem:gaaee5c9c3caa23996397af767ca52845e"><td·class="memTemplParams"·colspan="2">template&lt;class·Mask·&gt;·</td></tr> 
143 <tr·class="memitem:gaaee5c9c3caa23996397af767ca52845e"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gaaee5c9c3caa23996397af767ca52845e">Dune::Simd::anyFalse</a>·(const·Mask·&amp;mask)</td></tr> 
144 <tr·class="memdesc:gaaee5c9c3caa23996397af767ca52845e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Whether·any·entry·is·<code>false</code>··<a·href="a00419.html#gaaee5c9c3caa23996397af767ca52845e">More...</a><br·/></td></tr> 
145 <tr·class="separator:gaaee5c9c3caa23996397af767ca52845e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
146 <tr·class="memitem:gaf404687904c5a04c3ab453b9b19c1562"><td·class="memTemplParams"·colspan="2">template&lt;class·Mask·&gt;·</td></tr> 
147 <tr·class="memitem:gaf404687904c5a04c3ab453b9b19c1562"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gaf404687904c5a04c3ab453b9b19c1562">Dune::Simd::allFalse</a>·(const·Mask·&amp;mask)</td></tr> 
148 <tr·class="memdesc:gaf404687904c5a04c3ab453b9b19c1562"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Whether·all·entries·are·<code>false</code>··<a·href="a00419.html#gaf404687904c5a04c3ab453b9b19c1562">More...</a><br·/></td></tr> 
149 <tr·class="separator:gaf404687904c5a04c3ab453b9b19c1562"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
150 <tr·class="memitem:gacbb7e26df1346d475506ecaab9449f1d"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
151 <tr·class="memitem:gacbb7e26df1346d475506ecaab9449f1d"><td·class="memTemplItemLeft"·align="right"·valign="top">Scalar&lt;·V·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gacbb7e26df1346d475506ecaab9449f1d">Dune::Simd::max</a>·(const·V·&amp;v)</td></tr> 
152 <tr·class="memdesc:gacbb7e26df1346d475506ecaab9449f1d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·horizontal·maximum·value·over·all·lanes.··<a·href="a00419.html#gacbb7e26df1346d475506ecaab9449f1d">More...</a><br·/></td></tr> 
153 <tr·class="separator:gacbb7e26df1346d475506ecaab9449f1d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
154 <tr·class="memitem:ga2549067f8a707c8aa06ee4c32e75bbbc"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
155 <tr·class="memitem:ga2549067f8a707c8aa06ee4c32e75bbbc"><td·class="memTemplItemLeft"·align="right"·valign="top">Scalar&lt;·V·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#ga2549067f8a707c8aa06ee4c32e75bbbc">Dune::Simd::min</a>·(const·V·&amp;v)</td></tr> 
156 <tr·class="memdesc:ga2549067f8a707c8aa06ee4c32e75bbbc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·horizontal·minimum·value·over·all·lanes.··<a·href="a00419.html#ga2549067f8a707c8aa06ee4c32e75bbbc">More...</a><br·/></td></tr> 
157 <tr·class="separator:ga2549067f8a707c8aa06ee4c32e75bbbc"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
158 <tr·class="memitem:ga3e3f45a22ca7244829e9adf246ac4a9d"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
159 <tr·class="memitem:ga3e3f45a22ca7244829e9adf246ac4a9d"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">Dune::Simd::mask</a>·(const·V·&amp;v)</td></tr> 
160 <tr·class="memdesc:ga3e3f45a22ca7244829e9adf246ac4a9d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Convert·to·mask,·analogue·of·bool(s)·for·scalars.··<a·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">More...</a><br·/></td></tr> 
161 <tr·class="separator:ga3e3f45a22ca7244829e9adf246ac4a9d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
162 <tr·class="memitem:ga19a63bc3591ee6c8fd5706c9be4380bf"><td·class="memTemplParams"·colspan="2">template&lt;class·V1·,·class·V2·&gt;·</td></tr> 
163 <tr·class="memitem:ga19a63bc3591ee6c8fd5706c9be4380bf"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#ga19a63bc3591ee6c8fd5706c9be4380bf">Dune::Simd::maskOr</a>·(const·V1·&amp;v1,·const·V2·&amp;v2)</td></tr> 
164 <tr·class="memdesc:ga19a63bc3591ee6c8fd5706c9be4380bf"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Logic·or·of·masks.··<a·href="a00419.html#ga19a63bc3591ee6c8fd5706c9be4380bf">More...</a><br·/></td></tr> 
165 <tr·class="separator:ga19a63bc3591ee6c8fd5706c9be4380bf"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
166 <tr·class="memitem:gaf74d4b9a4722c8de326046b89e2acef7"><td·class="memTemplParams"·colspan="2">template&lt;class·V1·,·class·V2·&gt;·</td></tr> 
167 <tr·class="memitem:gaf74d4b9a4722c8de326046b89e2acef7"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#gaf74d4b9a4722c8de326046b89e2acef7">Dune::Simd::maskAnd</a>·(const·V1·&amp;v1,·const·V2·&amp;v2)</td></tr> 
168 <tr·class="memdesc:gaf74d4b9a4722c8de326046b89e2acef7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Logic·and·of·masks.··<a·href="a00419.html#gaf74d4b9a4722c8de326046b89e2acef7">More...</a><br·/></td></tr> 
Max diff block lines reached; 904/21968 bytes (4.12%) of diff not shown.
4.95 KB
html2text {}
    
Offset 5, 129 lines modifiedOffset 5, 19 lines modified
  
5 dune-common 2.9.05 dune-common 2.9.0
  
  
6 ····*·dune6 ····*·dune
7 ····*·common7 ····*·common
8 ····*·simd8 ····*·simd
9 Namespaces 
10 simd/interface.hh·File·Reference9 simd/simd.hh·File·Reference
 10 Include·file·for·users·of·the·SIMD·abstraction·layer.·More...
11 Common·»·Vectorization·»·Library_Developer's_Interface 
12 User·interface·of·the·SIMD·abstraction.·More... 
13 #include·<cassert> 
14 #include·<cstddef> 
15 #include·<type_traits> 
16 #include·<utility> 
17 #include·<dune/common/simd/base.hh>11 #include·<dune/common/simd/interface.hh>
18 #include·<dune/common/typelist.hh>12 #include·<dune/common/simd/standard.hh>
19 Go_to_the_source_code_of_this_file.13 Go_to_the_source_code_of_this_file.
20 ·Namespaces 
21 namespace· Dune 
22  ··········Dune·namespace. 
23   
24 namespace· Dune::Simd 
25  ··········Namespace·for·vectorization·interface·functions·used·by·library 
26 ············developers. 
27   
28 *****·Basic·interface·***** 
29 template<class·V·> 
30 ················using Dune::Simd::Scalar·=·typename·Overloads::ScalarType< 
31 ·······················std::decay_t<·V·>·>::type 
32  ·····················Element·type·of·some·SIMD·type.·More... 
33   
34 template<class·S·,·class·V·> 
35 ················using Dune::Simd::Rebind·=·typename·Overloads::RebindType< 
36 ·······················std::decay_t<·S·>,·std::decay_t<·V·>·>::type 
37  ·····················Construct·SIMD·type·with·different·scalar·type.·More... 
38   
39 template<class·V·> 
40 constexpr·std::size_t Dune::Simd::lanes·() 
41  ·····················Number·of·lanes·in·a·SIMD·type.·More... 
42   
43 template<class·V·> 
44 ·······decltype(auto) Dune::Simd::lane·(std::size_t·l,·V·&&v) 
45  ·····················Extract·an·element·of·a·SIMD·type.·More... 
46   
47 template<class·V·,·class·U·> 
48 ··········constexpr·V Dune::Simd::implCast·(U·&&u) 
49  ·····················Cast·an·expression·from·one·implementation·to·another. 
50 ·······················More... 
51   
52 template<class·V·,·class·S·> 
53 ··········constexpr·V Dune::Simd::broadcast·(S·s) 
54  ·····················Broadcast·a·scalar·to·a·vector·explicitly.·More... 
55   
56 template<class·M·,·class·V·> 
57 ····················V Dune::Simd::cond·(M·&&mask,·const·V·&ifTrue,·const·V 
58 ·······················&ifFalse) 
59  ·····················Like·the·?:·operator.·More... 
60   
61 template<class·V·> 
62 ····················V Dune::Simd::cond·(bool·mask,·const·V·&ifTrue,·const·V 
63 ·······················&ifFalse) 
64  ·····················Like·the·?:·operator.·More... 
65   
66 template<class·V·> 
67 ·················auto Dune::Simd::max·(const·V·&v1,·const·V·&v2) 
68  ·····················The·binary·maximum·value·over·two·simd·objects.·More... 
69   
70 template<class·V·> 
71 ·················auto Dune::Simd::min·(const·V·&v1,·const·V·&v2) 
72  ·····················The·binary·minimum·value·over·two·simd·objects.·More... 
73   
74 template<class·Mask·> 
75 ·················bool Dune::Simd::anyTrue·(const·Mask·&mask) 
76  ·····················Whether·any·entry·is·true·More... 
77   
78 template<class·Mask·> 
79 ·················bool Dune::Simd::allTrue·(const·Mask·&mask) 
80  ·····················Whether·all·entries·are·true·More... 
81   
82 template<class·Mask·> 
83 ·················bool Dune::Simd::anyFalse·(const·Mask·&mask) 
84  ·····················Whether·any·entry·is·false·More... 
85   
86 template<class·Mask·> 
87 ·················bool Dune::Simd::allFalse·(const·Mask·&mask) 
88  ·····················Whether·all·entries·are·false·More... 
89   
90 template<class·V·> 
91 ··········Scalar<·V·> Dune::Simd::max·(const·V·&v) 
92  ·····················The·horizontal·maximum·value·over·all·lanes.·More... 
93   
94 template<class·V·> 
95 ··········Scalar<·V·> Dune::Simd::min·(const·V·&v) 
96  ·····················The·horizontal·minimum·value·over·all·lanes.·More... 
97   
98 template<class·V·> 
99 ·················auto Dune::Simd::mask·(const·V·&v) 
100  ·····················Convert·to·mask,·analogue·of·bool(s)·for·scalars. 
101 ·······················More... 
102   
103 template<class·V1·,·class·V2·> 
104 ·················auto Dune::Simd::maskOr·(const·V1·&v1,·const·V2·&v2) 
105  ·····················Logic·or·of·masks.·More... 
106   
107 template<class·V1·,·class·V2·> 
108 ·················auto Dune::Simd::maskAnd·(const·V1·&v1,·const·V2·&v2) 
109  ·····················Logic·and·of·masks.·More... 
110   
111 *****·Syntactic·Sugar·***** 
112 Templates·and·functions·in·this·group·provide·syntactic·sugar,·they·are 
113 implemented·using·the·functionality·from·SimdInterfaceBase,·and·are·not 
114 customizable·by·implementations. 
115 template<class·V·> 
116 ······using Dune::Simd::Mask·=·Rebind<·bool,·V·> 
117  ···········Mask·type·type·of·some·SIMD·type.·More... 
118   
119 template<class·V·> 
120 std::size_t Dune::Simd::lanes·(const·V·&) 
121  ···········Number·of·lanes·in·a·SIMD·type.·More... 
122   
123 *****·Detailed·Description·*****14 *****·Detailed·Description·*****
 15 Include·file·for·users·of·the·SIMD·abstraction·layer.
 16 Include·this·file·if·you·want·to·be·able·to·handle·SIMD·types··do·not·include
 17 the·internal·headers·directly.
124 User·interface·of·the·SIMD·abstraction. 
Max diff block lines reached; 116/5040 bytes (2.30%) of diff not shown.
49.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a04448_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:·interface.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 62, 216 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><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="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">simd/interface.hh</div></div>68 ··<div·class="headertitle"><div·class="title">simd/simd.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <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>71 <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 <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_INTERFACE_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_SIMD_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_INTERFACE_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_SIMD_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="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>76 <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="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>77 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00353.html">dune/common/simd/standard.hh</a>&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><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
80 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>78 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</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="a00272.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="a00197.html">dune/common/typelist.hh</a>&gt;</span></div> 
83 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> 
84 <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="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> 
86 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
87 <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="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
89 <div·class="line"><a·id="l00223"·name="l00223"></a><span·class="lineno">··223</span>·</div> 
90 <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>·V&gt;</div> 
91 <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno"><a·class="line"·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">··235</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">Scalar</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a02620.html">Overloads::ScalarType&lt;std::decay_t&lt;V&gt;</a>·&gt;::type;</div> 
92 <div·class="line"><a·id="l00236"·name="l00236"></a><span·class="lineno">··236</span>·</div> 
93 <div·class="line"><a·id="l00238"·name="l00238"></a><span·class="lineno">··238</span>·</div> 
94 <div·class="line"><a·id="l00251"·name="l00251"></a><span·class="lineno">··251</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·S,·<span·class="keyword">class</span>·V&gt;</div> 
95 <div·class="line"><a·id="l00252"·name="l00252"></a><span·class="lineno"><a·class="line"·href="a00419.html#ga8d4752fe47def6075b211544a932c709">··252</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00419.html#ga8d4752fe47def6075b211544a932c709">Rebind</a>·=</div> 
96 <div·class="line"><a·id="l00253"·name="l00253"></a><span·class="lineno">··253</span>······<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a02624.html">Overloads::RebindType&lt;std::decay_t&lt;S&gt;</a>,·std::decay_t&lt;V&gt;&gt;::type;</div> 
97 <div·class="line"><a·id="l00254"·name="l00254"></a><span·class="lineno">··254</span>·</div> 
98 <div·class="line"><a·id="l00256"·name="l00256"></a><span·class="lineno">··256</span>·</div> 
99 <div·class="line"><a·id="l00267"·name="l00267"></a><span·class="lineno">··267</span>·</div> 
100 <div·class="line"><a·id="l00288"·name="l00288"></a><span·class="lineno">··288</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div> 
101 <div·class="line"><a·id="l00289"·name="l00289"></a><span·class="lineno"><a·class="line"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">··289</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·=·<a·class="code·hl_typedef"·href="a00419.html#ga8d4752fe47def6075b211544a932c709">Rebind&lt;bool,·V&gt;</a>;</div> 
102 <div·class="line"><a·id="l00290"·name="l00290"></a><span·class="lineno">··290</span>·</div> 
103 <div·class="line"><a·id="l00292"·name="l00292"></a><span·class="lineno">··292</span>·</div> 
104 <div·class="line"><a·id="l00298"·name="l00298"></a><span·class="lineno">··298</span>·</div> 
105 <div·class="line"><a·id="l00304"·name="l00304"></a><span·class="lineno">··304</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div> 
106 <div·class="line"><a·id="l00305"·name="l00305"></a><span·class="lineno"><a·class="line"·href="a00419.html#gac6a0cf43eb7664581bd8a6954d7ff305">··305</a></span>····<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a00419.html#gac6a0cf43eb7664581bd8a6954d7ff305">lanes</a>()</div> 
107 <div·class="line"><a·id="l00306"·name="l00306"></a><span·class="lineno">··306</span>····{</div> 
108 <div·class="line"><a·id="l00307"·name="l00307"></a><span·class="lineno">··307</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_struct"·href="a02628.html">Overloads::LaneCount&lt;std::decay_t&lt;V&gt;</a>&gt;::value;</div> 
109 <div·class="line"><a·id="l00308"·name="l00308"></a><span·class="lineno">··308</span>····}</div> 
110 <div·class="line"><a·id="l00309"·name="l00309"></a><span·class="lineno">··309</span>·</div> 
111 <div·class="line"><a·id="l00311"·name="l00311"></a><span·class="lineno">··311</span>·</div> 
112 <div·class="line"><a·id="l00323"·name="l00323"></a><span·class="lineno">··323</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div> 
113 <div·class="line"><a·id="l00324"·name="l00324"></a><span·class="lineno"><a·class="line"·href="a00419.html#gaca5433c99a350b973623f94491e43a86">··324</a></span>····<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a00419.html#gaca5433c99a350b973623f94491e43a86">lane</a>(std::size_t·l,·V·&amp;&amp;v)</div> 
114 <div·class="line"><a·id="l00325"·name="l00325"></a><span·class="lineno">··325</span>····{</div> 
115 <div·class="line"><a·id="l00326"·name="l00326"></a><span·class="lineno">··326</span>······assert(l·&lt;·lanes&lt;V&gt;());</div> 
116 <div·class="line"><a·id="l00327"·name="l00327"></a><span·class="lineno">··327</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00419.html#gaca5433c99a350b973623f94491e43a86">lane</a>(<a·class="code·hl_struct"·href="a02608.html">Overloads::ADLTag&lt;7&gt;</a>{},·l,·std::forward&lt;V&gt;(v));</div> 
117 <div·class="line"><a·id="l00328"·name="l00328"></a><span·class="lineno">··328</span>····}</div> 
118 <div·class="line"><a·id="l00329"·name="l00329"></a><span·class="lineno">··329</span>·</div> 
119 <div·class="line"><a·id="l00331"·name="l00331"></a><span·class="lineno">··331</span>·</div> 
120 <div·class="line"><a·id="l00344"·name="l00344"></a><span·class="lineno">··344</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>·U&gt;</div> 
121 <div·class="line"><a·id="l00345"·name="l00345"></a><span·class="lineno"><a·class="line"·href="a00419.html#gab5615170452d6ad3d87596cafef62f7c">··345</a></span>····<span·class="keyword">constexpr</span>·V·<a·class="code·hl_function"·href="a00419.html#gab5615170452d6ad3d87596cafef62f7c">implCast</a>(U·&amp;&amp;u)</div> 
122 <div·class="line"><a·id="l00346"·name="l00346"></a><span·class="lineno">··346</span>····{</div> 
123 <div·class="line"><a·id="l00347"·name="l00347"></a><span·class="lineno">··347</span>······<span·class="keyword">static_assert</span>(std::is_same&lt;Scalar&lt;V&gt;,·<a·class="code·hl_typedef"·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">Scalar&lt;U&gt;</a>·&gt;::value,</div> 
124 <div·class="line"><a·id="l00348"·name="l00348"></a><span·class="lineno">··348</span>····················<span·class="stringliteral">&quot;Scalar·types·must·match·exactly·in·implCast&quot;</span>);</div> 
125 <div·class="line"><a·id="l00349"·name="l00349"></a><span·class="lineno">··349</span>······<span·class="keyword">static_assert</span>(lanes&lt;V&gt;()·==·lanes&lt;U&gt;(),</div> 
126 <div·class="line"><a·id="l00350"·name="l00350"></a><span·class="lineno">··350</span>····················<span·class="stringliteral">&quot;Number·of·lanes·must·match·in·implCast&quot;</span>);</div> 
127 <div·class="line"><a·id="l00351"·name="l00351"></a><span·class="lineno">··351</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00419.html#gab5615170452d6ad3d87596cafef62f7c">implCast</a>(<a·class="code·hl_struct"·href="a02608.html">Overloads::ADLTag&lt;7&gt;</a>{},·<a·class="code·hl_struct"·href="a03028.html">MetaType&lt;std::decay_t&lt;V&gt;</a>·&gt;{},</div> 
128 <div·class="line"><a·id="l00352"·name="l00352"></a><span·class="lineno">··352</span>······················std::forward&lt;U&gt;(u));</div> 
129 <div·class="line"><a·id="l00353"·name="l00353"></a><span·class="lineno">··353</span>····}</div> 
130 <div·class="line"><a·id="l00354"·name="l00354"></a><span·class="lineno">··354</span>·</div> 
131 <div·class="line"><a·id="l00356"·name="l00356"></a><span·class="lineno">··356</span>·</div> 
132 <div·class="line"><a·id="l00365"·name="l00365"></a><span·class="lineno">··365</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>·S&gt;</div> 
133 <div·class="line"><a·id="l00366"·name="l00366"></a><span·class="lineno"><a·class="line"·href="a00419.html#gaa0d1652bc61cae3351079ca5510e8d4f">··366</a></span>····<span·class="keyword">constexpr</span>·V·<a·class="code·hl_function"·href="a00419.html#gaa0d1652bc61cae3351079ca5510e8d4f">broadcast</a>(S·s)</div> 
134 <div·class="line"><a·id="l00367"·name="l00367"></a><span·class="lineno">··367</span>····{</div> 
135 <div·class="line"><a·id="l00368"·name="l00368"></a><span·class="lineno">··368</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00419.html#gaa0d1652bc61cae3351079ca5510e8d4f">broadcast</a>(<a·class="code·hl_struct"·href="a02608.html">Overloads::ADLTag&lt;7&gt;</a>{},·<a·class="code·hl_struct"·href="a03028.html">MetaType&lt;std::decay_t&lt;V&gt;</a>·&gt;{},</div> 
136 <div·class="line"><a·id="l00369"·name="l00369"></a><span·class="lineno">··369</span>·······················std::move(s));</div> 
137 <div·class="line"><a·id="l00370"·name="l00370"></a><span·class="lineno">··370</span>····}</div> 
138 <div·class="line"><a·id="l00371"·name="l00371"></a><span·class="lineno">··371</span>·</div> 
139 <div·class="line"><a·id="l00373"·name="l00373"></a><span·class="lineno">··373</span>·</div> 
140 <div·class="line"><a·id="l00385"·name="l00385"></a><span·class="lineno">··385</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·M,·<span·class="keyword">class</span>·V&gt;</div> 
141 <div·class="line"><a·id="l00386"·name="l00386"></a><span·class="lineno"><a·class="line"·href="a00419.html#ga1a04d18cec7c2f206e9de49926bfe5a8">··386</a></span>····V·<a·class="code·hl_function"·href="a00419.html#ga1a04d18cec7c2f206e9de49926bfe5a8">cond</a>(M·&amp;&amp;<a·class="code·hl_function"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">mask</a>,·<span·class="keyword">const</span>·V·&amp;ifTrue,·<span·class="keyword">const</span>·V·&amp;ifFalse)</div> 
142 <div·class="line"><a·id="l00387"·name="l00387"></a><span·class="lineno">··387</span>····{</div> 
143 <div·class="line"><a·id="l00388"·name="l00388"></a><span·class="lineno">··388</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00419.html#ga1a04d18cec7c2f206e9de49926bfe5a8">cond</a>(<a·class="code·hl_struct"·href="a02608.html">Overloads::ADLTag&lt;7&gt;</a>{},</div> 
144 <div·class="line"><a·id="l00389"·name="l00389"></a><span·class="lineno">··389</span>··················implCast&lt;Mask&lt;V&gt;·&gt;(std::forward&lt;M&gt;(<a·class="code·hl_function"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">mask</a>)),·ifTrue,·ifFalse);</div> 
145 <div·class="line"><a·id="l00390"·name="l00390"></a><span·class="lineno">··390</span>····}</div> 
146 <div·class="line"><a·id="l00391"·name="l00391"></a><span·class="lineno">··391</span>·</div> 
147 <div·class="line"><a·id="l00393"·name="l00393"></a><span·class="lineno">··393</span>·</div> 
148 <div·class="line"><a·id="l00398"·name="l00398"></a><span·class="lineno">··398</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div> 
149 <div·class="line"><a·id="l00399"·name="l00399"></a><span·class="lineno"><a·class="line"·href="a00419.html#gaed055bc5f93bbb34cee35cdcba278b3d">··399</a></span>····V·<a·class="code·hl_function"·href="a00419.html#ga1a04d18cec7c2f206e9de49926bfe5a8">cond</a>(<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">mask</a>,·<span·class="keyword">const</span>·V·&amp;ifTrue,·<span·class="keyword">const</span>·V·&amp;ifFalse)</div> 
150 <div·class="line"><a·id="l00400"·name="l00400"></a><span·class="lineno">··400</span>····{</div> 
151 <div·class="line"><a·id="l00401"·name="l00401"></a><span·class="lineno">··401</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">mask</a>·?·ifTrue·:·ifFalse;</div> 
152 <div·class="line"><a·id="l00402"·name="l00402"></a><span·class="lineno">··402</span>····}</div> 
153 <div·class="line"><a·id="l00403"·name="l00403"></a><span·class="lineno">··403</span>·</div> 
154 <div·class="line"><a·id="l00405"·name="l00405"></a><span·class="lineno">··405</span>·</div> 
155 <div·class="line"><a·id="l00408"·name="l00408"></a><span·class="lineno">··408</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div> 
156 <div·class="line"><a·id="l00409"·name="l00409"></a><span·class="lineno"><a·class="line"·href="a00419.html#gaa6c890aa2ed0432984358e6e0b487b3f">··409</a></span>····<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00419.html#gaa6c890aa2ed0432984358e6e0b487b3f">max</a>(<span·class="keyword">const</span>·V·&amp;v1,·<span·class="keyword">const</span>·V·&amp;v2)</div> 
157 <div·class="line"><a·id="l00410"·name="l00410"></a><span·class="lineno">··410</span>····{</div> 
158 <div·class="line"><a·id="l00411"·name="l00411"></a><span·class="lineno">··411</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00419.html#gaa6c890aa2ed0432984358e6e0b487b3f">max</a>(<a·class="code·hl_struct"·href="a02608.html">Overloads::ADLTag&lt;7&gt;</a>{},·v1,·v2);</div> 
159 <div·class="line"><a·id="l00412"·name="l00412"></a><span·class="lineno">··412</span>····}</div> 
160 <div·class="line"><a·id="l00413"·name="l00413"></a><span·class="lineno">··413</span>·</div> 
161 <div·class="line"><a·id="l00415"·name="l00415"></a><span·class="lineno">··415</span>·</div> 
162 <div·class="line"><a·id="l00418"·name="l00418"></a><span·class="lineno">··418</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div> 
163 <div·class="line"><a·id="l00419"·name="l00419"></a><span·class="lineno"><a·class="line"·href="a00419.html#gafa18ecd1517a0f3c3ae83c6a6b5e1559">··419</a></span>····<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00419.html#gafa18ecd1517a0f3c3ae83c6a6b5e1559">min</a>(<span·class="keyword">const</span>·V·&amp;v1,·<span·class="keyword">const</span>·V·&amp;v2)</div> 
164 <div·class="line"><a·id="l00420"·name="l00420"></a><span·class="lineno">··420</span>····{</div> 
165 <div·class="line"><a·id="l00421"·name="l00421"></a><span·class="lineno">··421</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00419.html#gafa18ecd1517a0f3c3ae83c6a6b5e1559">min</a>(<a·class="code·hl_struct"·href="a02608.html">Overloads::ADLTag&lt;7&gt;</a>{},·v1,·v2);</div> 
166 <div·class="line"><a·id="l00422"·name="l00422"></a><span·class="lineno">··422</span>····}</div> 
167 <div·class="line"><a·id="l00423"·name="l00423"></a><span·class="lineno">··423</span>·</div> 
168 <div·class="line"><a·id="l00425"·name="l00425"></a><span·class="lineno">··425</span>·</div> 
169 <div·class="line"><a·id="l00428"·name="l00428"></a><span·class="lineno">··428</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Mask&gt;</div> 
170 <div·class="line"><a·id="l00429"·name="l00429"></a><span·class="lineno"><a·class="line"·href="a00419.html#ga17639369fac8b6c516ebf2125849d0f4">··429</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00419.html#ga17639369fac8b6c516ebf2125849d0f4">anyTrue</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="code·hl_function"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">mask</a>)</div> 
171 <div·class="line"><a·id="l00430"·name="l00430"></a><span·class="lineno">··430</span>····{</div> 
Max diff block lines reached; 271/42771 bytes (0.63%) of diff not shown.
7.25 KB
html2text {}
    
Offset 5, 277 lines modifiedOffset 5, 26 lines modified
  
5 dune-common 2.9.05 dune-common 2.9.0
  
  
6 ····*·dune6 ····*·dune
7 ····*·common7 ····*·common
8 ····*·simd8 ····*·simd
9 simd/interface.hh9 simd/simd.hh
10 Go_to_the_documentation_of_this_file.10 Go_to_the_documentation_of_this_file.
11 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·3#ifndef·DUNE_COMMON_SIMD_INTERFACE_HH14 ·3#ifndef·DUNE_COMMON_SIMD_SIMD_HH
15 ·4#define·DUNE_COMMON_SIMD_INTERFACE_HH15 ·4#define·DUNE_COMMON_SIMD_SIMD_HH
16 ·516 ·5
17 ·17#include·<cassert> 
18 ·18#include·<cstddef> 
19 ·19#include·<type_traits> 
20 ·20#include·<utility> 
21 ·21 
22 ·22#include·<dune/common/simd/base.hh>17 ·13#include·<dune/common/simd/interface.hh>
23 ·23#include·<dune/common/typelist.hh>18 ·14#include·<dune/common/simd/standard.hh>
24 ·24 
25 ·25namespace·Dune·{ 
26 ·26 
27 ·29 
28 ·32·namespace·Simd·{ 
29 ·33 
30 ·223 
31 ·234·template<class·V> 
32 235·using·Scalar·=·typename·Overloads::ScalarType<std::decay_t<V>·>::type; 
33 ·236 
34 ·238 
35 ·251·template<class·S,·class·V> 
36 252·using·Rebind·= 
37 ·253·typename·Overloads::RebindType<std::decay_t<S>,·std::decay_t<V>>::type; 
38 ·254 
39 ·256 
40 ·267 
41 ·288·template<class·V> 
42 289·using·Mask·=·Rebind<bool,_V>; 
43 ·290 
44 ·292 
45 ·298 
46 ·304·template<class·V> 
47 305·constexpr·std::size_t·lanes() 
48 ·306·{ 
49 ·307·return·Overloads::LaneCount<std::decay_t<V>>::value; 
50 ·308·} 
51 ·309 
52 ·311 
53 ·323·template<class·V> 
54 324·decltype(auto)·lane(std::size_t·l,·V·&&v) 
55 ·325·{ 
56 ·326·assert(l·<·lanes<V>()); 
57 ·327·return·lane(Overloads::ADLTag<7>{},·l,·std::forward<V>(v)); 
58 ·328·} 
59 ·329 
60 ·331 
61 ·344·template<class·V,·class·U> 
62 345·constexpr·V·implCast(U·&&u) 
63 ·346·{ 
64 ·347·static_assert(std::is_same<Scalar<V>,·Scalar<U>·>::value, 
65 ·348·"Scalar·types·must·match·exactly·in·implCast"); 
66 ·349·static_assert(lanes<V>()·==·lanes<U>(), 
67 ·350·"Number·of·lanes·must·match·in·implCast"); 
68 ·351·return·implCast(Overloads::ADLTag<7>{},·MetaType<std::decay_t<V>·>{}, 
69 ·352·std::forward<U>(u)); 
70 ·353·} 
71 ·354 
72 ·356 
73 ·365·template<class·V,·class·S> 
74 366·constexpr·V·broadcast(S·s) 
75 ·367·{ 
76 ·368·return·broadcast(Overloads::ADLTag<7>{},·MetaType<std::decay_t<V>·>{}, 
77 ·369·std::move(s)); 
78 ·370·} 
79 ·371 
80 ·373 
81 ·385·template<class·M,·class·V> 
82 386·V·cond(M·&&mask,·const·V·&ifTrue,·const·V·&ifFalse) 
83 ·387·{ 
84 ·388·return·cond(Overloads::ADLTag<7>{}, 
85 ·389·implCast<Mask<V>·>(std::forward<M>(mask)),·ifTrue,·ifFalse); 
86 ·390·} 
87 ·391 
88 ·393 
89 ·398·template<class·V> 
90 399·V·cond(bool·mask,·const·V·&ifTrue,·const·V·&ifFalse) 
91 ·400·{ 
92 ·401·return·mask·?·ifTrue·:·ifFalse; 
93 ·402·} 
94 ·403 
95 ·405 
96 ·408·template<class·V> 
97 409·auto·max(const·V·&v1,·const·V·&v2) 
98 ·410·{ 
99 ·411·return·max(Overloads::ADLTag<7>{},·v1,·v2); 
100 ·412·} 
101 ·413 
102 ·41519 ·15
103 ·418·template<class·V> 
104 419·auto·min(const·V·&v1,·const·V·&v2) 
105 ·420·{ 
106 ·421·return·min(Overloads::ADLTag<7>{},·v1,·v2); 
107 ·422·} 
108 ·423 
109 ·425 
110 ·428·template<class·Mask> 
111 429·bool·anyTrue(const·Mask·&mask) 
112 ·430·{ 
113 ·431·return·anyTrue(Overloads::ADLTag<7>{},·mask); 
114 ·432·} 
115 ·433 
116 ·435 
117 ·438·template<class·Mask> 
118 439·bool·allTrue(const·Mask·&mask) 
119 ·440·{ 
120 ·441·return·allTrue(Overloads::ADLTag<7>{},·mask); 
121 ·442·} 
122 ·443 
123 ·445 
124 ·448·template<class·Mask> 
125 449·bool·anyFalse(const·Mask·&mask) 
126 ·450·{ 
127 ·451·return·anyFalse(Overloads::ADLTag<7>{},·mask); 
128 ·452·} 
Max diff block lines reached; 116/7401 bytes (1.57%) of diff not shown.
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="a00239_source.html">dune/common/indices.hh</a>&gt;</code><br·/>81 <code>#include·&lt;<a·class="el"·href="a00251_source.html">dune/common/indices.hh</a>&gt;</code><br·/>
82 <code>#include·&lt;<a·class="el"·href="a00272_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>82 <code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>
83 <code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/simd/defaults.hh</a>&gt;</code><br·/>83 <code>#include·&lt;<a·class="el"·href="a00359_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="a00356_source.html">dune/common/simd/loop.hh</a>&gt;</code><br·/>
85 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>85 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
86 <code>#include·&lt;<a·class="el"·href="a00008_source.html">dune/common/vc.hh</a>&gt;</code><br·/>86 <code>#include·&lt;<a·class="el"·href="a00149_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="a00239.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="a00251.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="a00272.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="a00365.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="a00266.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="a00359.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="a00356.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="a00386.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="a00014.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="a00008.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="a00149.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="aa00008_html"><div·class="ttname"><a·href="a00008.html">vc.hh</a></div><div·class="ttdoc">Compatibility·header·for·including·&lt;Vc/Vc&gt;</div></div> 
615 <div·class="ttc"·id="aa00239_html"><div·class="ttname"><a·href="a00239.html">indices.hh</a></div></div> 
616 <div·class="ttc"·id="aa00263_html"><div·class="ttname"><a·href="a00263.html">loop.hh</a></div></div> 
617 <div·class="ttc"·id="aa00266_html"><div·class="ttname"><a·href="a00266.html">defaults.hh</a></div><div·class="ttdoc">Default·implementations·for·SIMD·Implementations.</div></div> 
618 <div·class="ttc"·id="aa00272_html"><div·class="ttname"><a·href="a00272.html">base.hh</a></div><div·class="ttdoc">Basic·definitions·for·SIMD·Implementations.</div></div> 
619 <div·class="ttc"·id="aa00386_html"><div·class="ttname"><a·href="a00386.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></div>614 <div·class="ttc"·id="aa00014_html"><div·class="ttname"><a·href="a00014.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></div>
 615 <div·class="ttc"·id="aa00149_html"><div·class="ttname"><a·href="a00149.html">vc.hh</a></div><div·class="ttdoc">Compatibility·header·for·including·&lt;Vc/Vc&gt;</div></div>
 616 <div·class="ttc"·id="aa00251_html"><div·class="ttname"><a·href="a00251.html">indices.hh</a></div></div>
 617 <div·class="ttc"·id="aa00356_html"><div·class="ttname"><a·href="a00356.html">loop.hh</a></div></div>
 618 <div·class="ttc"·id="aa00359_html"><div·class="ttname"><a·href="a00359.html">defaults.hh</a></div><div·class="ttdoc">Default·implementations·for·SIMD·Implementations.</div></div>
 619 <div·class="ttc"·id="aa00365_html"><div·class="ttname"><a·href="a00365.html">base.hh</a></div><div·class="ttdoc">Basic·definitions·for·SIMD·Implementations.</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>
834 B
html2text {}
    
Offset 550, 24 lines modifiedOffset 550, 24 lines modified
550 ·756·template<class·V>550 ·756·template<class·V>
551 757·struct·AutonomousValueType<Simd::VcImpl::Proxy<V>·>·:551 757·struct·AutonomousValueType<Simd::VcImpl::Proxy<V>·>·:
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 typetraits.hh
 558 Traits·for·type·conversions·and·type·information.
557 vc.hh559 vc.hh
558 Compatibility·header·for·including·<Vc/Vc>560 Compatibility·header·for·including·<Vc/Vc>
559 indices.hh561 indices.hh
560 loop.hh562 loop.hh
561 defaults.hh563 defaults.hh
562 Default·implementations·for·SIMD·Implementations.564 Default·implementations·for·SIMD·Implementations.
563 base.hh565 base.hh
564 Basic·definitions·for·SIMD·Implementations.566 Basic·definitions·for·SIMD·Implementations.
565 typetraits.hh 
566 Traits·for·type·conversions·and·type·information. 
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="a00254.html">debugalign.hh</a></td><td·class="dirtab"><a·class="el"·href="a00272.html">base.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00254.html">debugalign.hh</a></td><td·class="dirtab"><a·class="el"·href="a00266.html">defaul[·...·truncated·by·diffoscope;·len:·158,·SHA:·434911efcfc8bb85ec721e838ec7b99728887fb8276fd3f54771de720a684e96·...·].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="a00317.html">debugalign.hh</a></td><td·class="dirtab"><a·class="el"·href="a00365.html">base.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00317.html">debugalign.hh</a></td><td·class="dirtab"><a·class="el"·href="a00359.html">defaul[·...·truncated·by·diffoscope;·len:·158,·SHA:·05f352bc2ccdb90407e14e078d07b6db9ba06477f70902b435c6914456fd1501·...·].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="a00392.html">concept.hh</a></td><td·class="dirtab"><a·class="el"·href="a00113.html">type_traits.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00224.html">matrixconcepts.hh</a></td><td·class="dirtab"><a·class="el"·href="a00113.html[·...·truncated·by·diffoscope;·len:·850,·SHA:·197407f168deeb8ee718e13dbe4e6c7de75eb39eb7171eb80de2dca21313fd5b·...·].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="a00101.html">concept.hh</a></td><td·class="dirtab"><a·class="el"·href="a00287.html">type_traits.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00236.html">matrixconcepts.hh</a></td><td·class="dirtab"><a·class="el"·href="a00287.html[·...·truncated·by·diffoscope;·len:·850,·SHA:·2804743a2d021688e15741429f141101b4fc5ab2d86be480bd47f784237056f5·...·].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="a00353.html">mpidata.hh</a></td><td·class="dirtab"><a·class="el"·href="a00113.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="a00080.html">mpidata.hh</a></td><td·class="dirtab"><a·class="el"·href="a00287.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="a00281.html">test.hh</a></td><td·class="dirtab"><a·class="el"·href="a00113.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="a00371.html">test.hh</a></td><td·class="dirtab"><a·class="el"·href="a00287.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>
7.65 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="a00272.html">base.hh</a>·<a·href="a00272_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="a00365.html">base.hh</a>·<a·href="a00365_source.html">[code]</a></td></tr>
87 <tr·class="memdesc:a00272"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Basic·definitions·for·SIMD·Implementations.·<br·/></td></tr>87 <tr·class="memdesc:a00365"><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="a00266.html">defaults.hh</a>·<a·href="a00266_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="a00359.html">defaults.hh</a>·<a·href="a00359_source.html">[code]</a></td></tr>
90 <tr·class="memdesc:a00266"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·implementations·for·SIMD·Implementations.·<br·/></td></tr>90 <tr·class="memdesc:a00359"><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="a04448.html">simd/interface.hh</a>·<a·href="a04448_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:a04448"><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="a00278.html">io.hh</a>·<a·href="a00278_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="a00368.html">io.hh</a>·<a·href="a00368_source.html">[code]</a></td></tr>
96 <tr·class="memdesc:a00278"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">IO·interface·of·the·SIMD·abstraction.·<br·/></td></tr>96 <tr·class="memdesc:a00368"><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="a00356.html">loop.hh</a>·<a·href="a00356_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="a04442.html">simd/simd.hh</a>·<a·href="a04442_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:a04442"><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="a00353.html">standard.hh</a>·<a·href="a00353_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:a00353"><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="a00260.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="a00362.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="a00281.html">test.hh</a>·<a·href="a00281_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="a00371.html">test.hh</a>·<a·href="a00371_source.html">[code]</a></td></tr>
109 <tr·class="memdesc:a00281"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Common·tests·for·simd·abstraction·implementations.·<br·/></td></tr>109 <tr·class="memdesc:a00371"><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="a00107.html">apply.hh</a>·<a·href="a00107_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="a00278.html">apply.hh</a>·<a·href="a00278_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="a00122.html">functional.hh</a>·<a·href="a00122_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="a00281.html">functional.hh</a>·<a·href="a00281_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="a00110.html">make_array.hh</a>·<a·href="a00110_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="a00284.html">make_array.hh</a>·<a·href="a00284_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="a00113.html">type_traits.hh</a>·<a·href="a00113_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="a00287.html">type_traits.hh</a>·<a·href="a00287_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="a00119.html">utility.hh</a>·<a·href="a00119_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="a00275.html">utility.hh</a>·<a·href="a00275_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="a00116.html">variant.hh</a>·<a·href="a00116_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="a00290.html">variant.hh</a>·<a·href="a00290_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>
17.0 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="a00326.html">collectivecommunication.hh</a>·<a·href="a00326_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="a00053.html">collectivecommunication.hh</a>·<a·href="a00053_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="a00341.html">communication.hh</a>·<a·href="a00341_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="a00071.html">communication.hh</a>·<a·href="a00071_source.html">[code]</a></td></tr>
95 <tr·class="memdesc:a00341"><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:a00071"><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="a00320.html">communicator.hh</a>·<a·href="a00320_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="a00029.html">communicator.hh</a>·<a·href="a00029_source.html">[code]</a></td></tr>
98 <tr·class="memdesc:a00320"><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:a00029"><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="a00350.html">future.hh</a>·<a·href="a00350_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="a00050.html">future.hh</a>·<a·href="a00050_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="a00317.html">indexset.hh</a>·<a·href="a00317_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="a00065.html">indexset.hh</a>·<a·href="a00065_source.html">[code]</a></td></tr>
103 <tr·class="memdesc:a00317"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·a·map·between·global·and·local·indices.·<br·/></td></tr>103 <tr·class="memdesc:a00065"><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="a00329.html">indicessyncer.hh</a>·<a·href="a00329_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="a00089.html">indicessyncer.hh</a>·<a·href="a00089_source.html">[code]</a></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>106 <tr·class="memdesc:a00089"><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="a04445.html">parallel/interface.hh</a>·<a·href="a04445_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:a04445"><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="a00356.html">localindex.hh</a>·<a·href="a00356_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="a00086.html">localindex.hh</a>·<a·href="a00086_source.html">[code]</a></td></tr>
112 <tr·class="memdesc:a00356"><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:a00086"><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="a00332.html">mpicollectivecommunication.hh</a>·<a·href="a00332_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="a00044.html">mpicollectivecommunication.hh</a>·<a·href="a00044_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="a00362.html">mpicommunication.hh</a>·<a·href="a00362_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="a00083.html">mpicommunication.hh</a>·<a·href="a00083_source.html">[code]</a></td></tr>
117 <tr·class="memdesc:a00362"><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:a00083"><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="a00353.html">mpidata.hh</a>·<a·href="a00353_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="a00080.html">mpidata.hh</a>·<a·href="a00080_source.html">[code]</a></td></tr>
120 <tr·class="memdesc:a00353"><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:a00080"><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="a00347.html">mpifuture.hh</a>·<a·href="a00347_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="a00068.html">mpifuture.hh</a>·<a·href="a00068_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="a00365.html">mpiguard.hh</a>·<a·href="a00365_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="a00059.html">mpiguard.hh</a>·<a·href="a00059_source.html">[code]</a></td></tr>
125 <tr·class="memdesc:a00365"><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:a00059"><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="a00344.html">mpihelper.hh</a>·<a·href="a00344_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="a00041.html">mpihelper.hh</a>·<a·href="a00041_source.html">[code]</a></td></tr>
128 <tr·class="memdesc:a00344"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helpers·for·dealing·with·MPI.·<br·/></td></tr>128 <tr·class="memdesc:a00041"><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="a00368.html">mpipack.hh</a>·<a·href="a00368_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="a00047.html">mpipack.hh</a>·<a·href="a00047_source.html">[code]</a></td></tr>
131 <tr·class="memdesc:a00368"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">See·MPI_Pack.·<br·/></td></tr>131 <tr·class="memdesc:a00047"><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="a00311.html">mpitraits.hh</a>·<a·href="a00311_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="a00074.html">mpitraits.hh</a>·<a·href="a00074_source.html">[code]</a></td></tr>
134 <tr·class="memdesc:a00311"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Traits·classes·for·mapping·types·onto·MPI_Datatype.·<br·/></td></tr>134 <tr·class="memdesc:a00074"><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="a00335.html">plocalindex.hh</a>·<a·href="a00335_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="a00035.html">plocalindex.hh</a>·<a·href="a00035_source.html">[code]</a></td></tr>
137 <tr·class="memdesc:a00335"><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:a00035"><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="a00323.html">remoteindices.hh</a>·<a·href="a00323_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="a00038.html">remoteindices.hh</a>·<a·href="a00038_source.html">[code]</a></td></tr>
140 <tr·class="memdesc:a00323"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Classes·describing·a·distributed·indexset.·<br·/></td></tr>140 <tr·class="memdesc:a00038"><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="a00338.html">selection.hh</a>·<a·href="a00338_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="a00062.html">selection.hh</a>·<a·href="a00062_source.html">[code]</a></td></tr>
143 <tr·class="memdesc:a00338"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·selecting·indices·based·on·attribute·flags.·<br·/></td></tr>143 <tr·class="memdesc:a00062"><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="a00359.html">variablesizecommunicator.hh</a>·<a·href="a00359_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="a00056.html">variablesizecommunicator.hh</a>·<a·href="a00056_source.html">[code]</a></td></tr>
146 <tr·class="memdesc:a00359"><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:a00056"><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="a00314.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="a00077.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>
73.1 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="a00155.html">alignedallocator.hh</a>·<a·href="a00155_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="a00092.html">alignedallocator.hh</a>·<a·href="a00092_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="a00062.html">arraylist.hh</a>·<a·href="a00062_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="a00116.html">arraylist.hh</a>·<a·href="a00116_source.html">[code]</a></td></tr>
103 <tr·class="memdesc:a00062"><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:a00116"><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="a00161.html">assertandreturn.hh</a>·<a·href="a00161_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="a00167.html">assertandreturn.hh</a>·<a·href="a00167_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="a00104.html">bartonnackmanifcheck.hh</a>·<a·href="a00104_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="a00230.html">bartonnackmanifcheck.hh</a>·<a·href="a00230_source.html">[code]</a></td></tr>
108 <tr·class="memdesc:a00104"><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:a00230"><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="a00287.html">bigunsignedint.hh</a>·<a·href="a00287_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="a00206.html">bigunsignedint.hh</a>·<a·href="a00206_source.html">[code]</a></td></tr>
111 <tr·class="memdesc:a00287"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Portable·very·large·unsigned·integers.·<br·/></td></tr>111 <tr·class="memdesc:a00206"><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="a00245.html">binaryfunctions.hh</a>·<a·href="a00245_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="a00254.html">binaryfunctions.hh</a>·<a·href="a00254_source.html">[code]</a></td></tr>
114 <tr·class="memdesc:a00245"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">helper·classes·to·provide·unique·types·for·standard·functions·<br·/></td></tr>114 <tr·class="memdesc:a00254"><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="a00203.html">bitsetvector.hh</a>·<a·href="a00203_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="a00020.html">bitsetvector.hh</a>·<a·href="a00020_source.html">[code]</a></td></tr>
117 <tr·class="memdesc:a00203"><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:a00020"><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="a00080.html">boundschecking.hh</a>·<a·href="a00080_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="a00173.html">boundschecking.hh</a>·<a·href="a00173_source.html">[code]</a></td></tr>
120 <tr·class="memdesc:a00080"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Macro·for·wrapping·boundary·checks.·<br·/></td></tr>120 <tr·class="memdesc:a00173"><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="a00026.html">classname.hh</a>·<a·href="a00026_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="a00323.html">classname.hh</a>·<a·href="a00323_source.html">[code]</a></td></tr>
123 <tr·class="memdesc:a00026"><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:a00323"><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="a00392.html">concept.hh</a>·<a·href="a00392_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="a00101.html">concept.hh</a>·<a·href="a00101_source.html">[code]</a></td></tr>
126 <tr·class="memdesc:a00392"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Infrastructure·for·concepts.·<br·/></td></tr>126 <tr·class="memdesc:a00101"><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="a00173.html">conditional.hh</a>·<a·href="a00173_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="a00305.html">conditional.hh</a>·<a·href="a00305_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="a00293.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="a00299.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="a00254.html">debugalign.hh</a>·<a·href="a00254_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="a00317.html">debugalign.hh</a>·<a·href="a00317_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="a00140.html">debugallocator.hh</a>·<a·href="a00140_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="a00266.html">debugallocator.hh</a>·<a·href="a00266_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="a00377.html">debugstream.hh</a>·<a·href="a00377_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="a00095.html">debugstream.hh</a>·<a·href="a00095_source.html">[code]</a></td></tr>
137 <tr·class="memdesc:a00377"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Defines·several·output·streams·for·messages·of·different·importance.·<br·/></td></tr>137 <tr·class="memdesc:a00095"><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="a00053.html">densematrix.hh</a>·<a·href="a00053_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="a00350.html">densematrix.hh</a>·<a·href="a00350_source.html">[code]</a></td></tr>
140 <tr·class="memdesc:a00053"><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:a00350"><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="a00125.html">densevector.hh</a>·<a·href="a00125_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="a00107.html">densevector.hh</a>·<a·href="a00107_source.html">[code]</a></td></tr>
143 <tr·class="memdesc:a00125"><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:a00107"><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="a00101.html">deprecated.hh</a>·<a·href="a00101_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="a00137.html">deprecated.hh</a>·<a·href="a00137_source.html">[code]</a></td></tr>
146 <tr·class="memdesc:a00101"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Definition·of·the·<code>DUNE_NO_DEPRECATED_*</code>·macros.·<br·/></td></tr>146 <tr·class="memdesc:a00137"><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="a00194.html">diagonalmatrix.hh</a>·<a·href="a00194_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="a00293.html">diagonalmatrix.hh</a>·<a·href="a00293_source.html">[code]</a></td></tr>
149 <tr·class="memdesc:a00194"><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:a00293"><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="a00230.html">documentation.hh</a>·<a·href="a00230_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="a00164.html">documentation.hh</a>·<a·href="a00164_source.html">[code]</a></td></tr>
152 <tr·class="memdesc:a00230"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Documentation·related·stuff.·<br·/></td></tr>152 <tr·class="memdesc:a00164"><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="a00071.html">dotproduct.hh</a>·<a·href="a00071_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="a00233.html">dotproduct.hh</a>·<a·href="a00233_source.html">[code]</a></td></tr>
155 <tr·class="memdesc:a00071"><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:a00233"><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="a00191.html">dynmatrix.hh</a>·<a·href="a00191_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="a00104.html">dynmatrix.hh</a>·<a·href="a00104_source.html">[code]</a></td></tr>
158 <tr·class="memdesc:a00191"><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:a00104"><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="a00251.html">dynmatrixev.hh</a>·<a·href="a00251_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="a00374.html">dynmatrixev.hh</a>·<a·href="a00374_source.html">[code]</a></td></tr>
161 <tr·class="memdesc:a00251"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">utility·functions·to·compute·eigenvalues·for·dense·matrices.·<br·/></td></tr>161 <tr·class="memdesc:a00374"><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="a00236.html">dynvector.hh</a>·<a·href="a00236_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="a00110.html">dynvector.hh</a>·<a·href="a00110_source.html">[code]</a></td></tr>
164 <tr·class="memdesc:a00236"><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:a00110"><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="a00044.html">enumset.hh</a>·<a·href="a00044_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="a00131.html">enumset.hh</a>·<a·href="a00131_source.html">[code]</a></td></tr>
167 <tr·class="memdesc:a00044"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Classes·for·building·sets·out·of·enumeration·values.·<br·/></td></tr>167 <tr·class="memdesc:a00131"><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="a00035.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="a00113.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="a00143.html">exceptions.hh</a>·<a·href="a00143_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="a00341.html">exceptions.hh</a>·<a·href="a00341_source.html">[code]</a></td></tr>
172 <tr·class="memdesc:a00143"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·few·common·exception·classes.·<br·/></td></tr>172 <tr·class="memdesc:a00341"><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="a00086.html">filledarray.hh</a>·<a·href="a00086_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="a00212.html">filledarray.hh</a>·<a·href="a00212_source.html">[code]</a></td></tr>
175 <tr·class="memdesc:a00086"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·to·generate·an·array·with·a·certain·value.·<br·/></td></tr>175 <tr·class="memdesc:a00212"><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="a00059.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="a00260.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="a00374.html">float_cmp.hh</a>·<a·href="a00374_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="a00224.html">float_cmp.hh</a>·<a·href="a00224_source.html">[code]</a></td></tr>
180 <tr·class="memdesc:a00374"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Various·ways·to·compare·floating-point·numbers.·<br·/></td></tr>180 <tr·class="memdesc:a00224"><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="a00164.html">fmatrix.hh</a>·<a·href="a00164_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="a00311.html">fmatrix.hh</a>·<a·href="a00311_source.html">[code]</a></td></tr>
183 <tr·class="memdesc:a00164"><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:a00311"><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="a00299.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="a00245.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="a00218.html">fmatrixev.hh</a>·<a·href="a00218_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="a00215.html">fmatrixev.hh</a>·<a·href="a00215_source.html">[code]</a></td></tr>
188 <tr·class="memdesc:a00218"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Eigenvalue·computations·for·the·FieldMatrix·class.·<br·/></td></tr>188 <tr·class="memdesc:a00215"><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="a00083.html">ftraits.hh</a>·<a·href="a00083_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="a00392.html">ftraits.hh</a>·<a·href="a00392_source.html">[code]</a></td></tr>
191 <tr·class="memdesc:a00083"><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:a00392"><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="a00176.html">function.hh</a>·<a·href="a00176_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="a00161.html">function.hh</a>·<a·href="a00161_source.html">[code]</a></td></tr>
194 <tr·class="memdesc:a00176"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Simple·base·class·templates·for·functions.·<br·/></td></tr>194 <tr·class="memdesc:a00161"><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="a00206.html">fvector.hh</a>·<a·href="a00206_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="a00302.html">fvector.hh</a>·<a·href="a00302_source.html">[code]</a></td></tr>
197 <tr·class="memdesc:a00206"><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:a00302"><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="a00041.html">genericiterator.hh</a>·<a·href="a00041_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="a00008.html">genericiterator.hh</a>·<a·href="a00008_source.html">[code]</a></td></tr>
200 <tr·class="memdesc:a00041"><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:a00008"><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="a00188.html">gmpfield.hh</a>·<a·href="a00188_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="a00269.html">gmpfield.hh</a>·<a·href="a00269_source.html">[code]</a></td></tr>
203 <tr·class="memdesc:a00188"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wrapper·for·the·GNU·multiprecision·(GMP)·library.·<br·/></td></tr>203 <tr·class="memdesc:a00269"><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="a00038.html">hash.hh</a>·<a·href="a00038_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="a00185.html">hash.hh</a>·<a·href="a00185_source.html">[code]</a></td></tr>
206 <tr·class="memdesc:a00038"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Support·for·calculating·hash·values·of·objects.·<br·/></td></tr>206 <tr·class="memdesc:a00185"><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="a00065.html">hybridutilities.hh</a>·<a·href="a00065_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="a00023.html">hybridutilities.hh</a>·<a·href="a00023_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="a00077.html">indent.hh</a>·<a·href="a00077_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="a00140.html">indent.hh</a>·<a·href="a00140_source.html">[code]</a></td></tr>
211 <tr·class="memdesc:a00077"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·class·for·handling·nested·indentation·in·output.·<br·/></td></tr>211 <tr·class="memdesc:a00140"><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="a00239.html">indices.hh</a>·<a·href="a00239_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="a00251.html">indices.hh</a>·<a·href="a00251_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="a00137.html">interfaces.hh</a>·<a·href="a00137_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="a00272.html">interfaces.hh</a>·<a·href="a00272_source.html">[code]</a></td></tr>
216 <tr·class="memdesc:a00137"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·interfaces·for·detection·of·specific·behavior.·<br·/></td></tr>216 <tr·class="memdesc:a00272"><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="a00305.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="a00098.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; 38270/74669 bytes (51.25%) of diff not shown.
160 KB
./usr/share/doc/libdune-common-doc/doxygen/dune-common.tag.gz
160 KB
dune-common.tag
160 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>a00155.html</filename>21 ····<filename>a00092.html</filename>
22 ····<includes·id="a00170"·name="mallocallocator.hh"·local="yes"·imported="no">mallocallocator.hh</includes>22 ····<includes·id="a00188"·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>a00062.html</filename>30 ····<filename>a00116.html</filename>
31 ····<includes·id="a00182"·name="iteratorfacades.hh"·local="yes"·imported="no">iteratorfacades.hh</includes>31 ····<includes·id="a00011"·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>a00161.html</filename>40 ····<filename>a00167.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>a00104.html</filename>52 ····<filename>a00230.html</filename>
53 ····<includes·id="a00143"·name="exceptions.hh"·local="no"·imported="no">dune/common/exceptions.hh</includes>53 ····<includes·id="a00341"·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>a00104.html</anchorfile>57 ······<anchorfile>a00230.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>a00104.html</anchorfile>64 ······<anchorfile>a00230.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>a00287.html</filename>72 ····<filename>a00206.html</filename>
73 ····<includes·id="a00143"·name="exceptions.hh"·local="no"·imported="no">dune/common/exceptions.hh</includes>73 ····<includes·id="a00341"·name="exceptions.hh"·local="no"·imported="no">dune/common/exceptions.hh</includes>
74 ····<includes·id="a00038"·name="hash.hh"·local="no"·imported="no">dune/common/hash.hh</includes>74 ····<includes·id="a00185"·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>a00245.html</filename>168 ····<filename>a00254.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>a00203.html</filename>176 ····<filename>a00020.html</filename>
177 ····<includes·id="a00080"·name="boundschecking.hh"·local="no"·imported="no">dune/common/boundschecking.hh</includes>177 ····<includes·id="a00173"·name="boundschecking.hh"·local="no"·imported="no">dune/common/boundschecking.hh</includes>
178 ····<includes·id="a00041"·name="genericiterator.hh"·local="no"·imported="no">dune/common/genericiterator.hh</includes>178 ····<includes·id="a00008"·name="genericiterator.hh"·local="no"·imported="no">dune/common/genericiterator.hh</includes>
179 ····<includes·id="a00143"·name="exceptions.hh"·local="no"·imported="no">dune/common/exceptions.hh</includes>179 ····<includes·id="a00341"·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>a00080.html</filename>192 ····<filename>a00173.html</filename>
193 ····<includes·id="a00143"·name="exceptions.hh"·local="no"·imported="no">dune/common/exceptions.hh</includes>193 ····<includes·id="a00341"·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>a00026.html</filename>205 ····<filename>a00323.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; 156194/163685 bytes (95.42%) of diff not shown.
90.7 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="a00314.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="a00077.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="a00326_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00326.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="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>
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="a00341_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00341.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="a00071_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00071.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="a00320_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00320.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="a00029_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00029.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="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>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="a00050_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00050.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="a00317_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00317.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="a00065_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00065.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="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>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="a00089_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00089.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="a04445_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a04445.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="a00356_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00356.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="a00086_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00086.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="a00332_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00332.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="a00044_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00044.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="a00362_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00362.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="a00083_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00083.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="a00353_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00353.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="a00080_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00080.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="a00347_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00347.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="a00068_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00068.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="a00365_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00365.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="a00059_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00059.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="a00344_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00344.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="a00041_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00041.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="a00368_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00368.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="a00047_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00047.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="a00311_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00311.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="a00074_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00074.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="a00335_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00335.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="a00035_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00035.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="a00323_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00323.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="a00038_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00038.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="a00338_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00338.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="a00062_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00062.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="a00359_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00359.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="a00056_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00056.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="a00272_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00272.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="a00365_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00365.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="a00266_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00266.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="a00359_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00359.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="a04448_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a04448.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="a00278_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00278.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="a00368_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00368.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="a00356_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00356.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="a04442_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a04442.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="a00353_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00353.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="a00260.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="a00362.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="a00281_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00281.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="a00371_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00371.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="a00107_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00107.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="a00278_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00278.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="a00122_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00122.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="a00281_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00281.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="a00110_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00110.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="a00284_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00284.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="a00113_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00113.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="a00287_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00287.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="a00119_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00119.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="a00275_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00275.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="a00116_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00116.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="a00290_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00290.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="a00155_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00155.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="a00092_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00092.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="a00062_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00062.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="a00116_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00116.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="a00161_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00161.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="a00167_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00167.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="a00104_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00104.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="a00230_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00230.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="a00287_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00287.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="a00206_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00206.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="a00245_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00245.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="a00254_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00254.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="a00203_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00203.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="a00020_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00020.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="a00080_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00080.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="a00173_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00173.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="a00026_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00026.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="a00323_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00323.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="a00392_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00392.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="a00101_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00101.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="a00173_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00173.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="a00305_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00305.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="a00293.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="a00299.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="a00254_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00254.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="a00317_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00317.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="a00140_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00140.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="a00266_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00266.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="a00377_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00377.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="a00095_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00095.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="a00053_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00053.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="a00350_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00350.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="a00125_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00125.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="a00107_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00107.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="a00101_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00101.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="a00137_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00137.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="a00194_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00194.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="a00293_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00293.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="a00230_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00230.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="a00164_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00164.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="a00071_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00071.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="a00233_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00233.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="a00191_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00191.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="a00104_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00104.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="a00251_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00251.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="a00374_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00374.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="a00236_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00236.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="a00110_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00110.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="a00044_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00044.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="a00131_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00131.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="a00035.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="a00113.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="a00143_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00143.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="a00341_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00341.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="a00086_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00086.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="a00212_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00212.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="a00059.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="a00260.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="a00374_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00374.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="a00224_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00224.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="a00164_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00164.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="a00311_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00311.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="a00299.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="a00245.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="a00218_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00218.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="a00215_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00215.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="a00083_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00083.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="a00392_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00392.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="a00176_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00176.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="a00161_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00161.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="a00206_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00206.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="a00302_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00302.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="a00041_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00041.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="a00008_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00008.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="a00188_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00188.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="a00269_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00269.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="a00038_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00038.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="a00185_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00185.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="a00065_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00065.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="a00023_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00023.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="a00077_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00077.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="a00140_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00140.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="a00239_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00239.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="a00251_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00251.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="a00137_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00137.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="a00272_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00272.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="a00305.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="a00098.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="a00227_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00227.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="a00176_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00176.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="a00182_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00182.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="a00011_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00011.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="a00020_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00020.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="a00383_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00383.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="a00023_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00023.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="a00320_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00320.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="a00302_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00302.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="a00227_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00227.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="a00170_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00170.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="a00188_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00188.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="a00290_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00290.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="a00182_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00182.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="a00224_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00224.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="a00236_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00236.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="a00032_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00032.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="a00389_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00389.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="a00047_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00047.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="a00152_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00152.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="a00014_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00014.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="a00248_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00248.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="a00128.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="a00194.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="a00308_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00308.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="a00170_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00170.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="a00389.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="a00125.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="a00209_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00209.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="a00119_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00119.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="a00257.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="a00221.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="a00029_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00029.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="a00158_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00158.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="a00185_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00185.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="a00179_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00179.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="a00152_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00152.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="a00218_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00218.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="a00215_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00215.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="a00344_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00344.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="a00248_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00248.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="a00209_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00209.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="a00074_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00074.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="a00308_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00308.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="a00167_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00167.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="a00017_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00017.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="a00011_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00011.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="a00386_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00386.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="a00233_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00233.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="a00146_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00146.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="a00149_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00149.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="a00026_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00026.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="a00242_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00242.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="a00314_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00314.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="a00068_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00068.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="a00347_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00347.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="a00056_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00056.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="a00155_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00155.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="a00098_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00098.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="a00122_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00122.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="a00146_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00146.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="a00296_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00296.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="a00017_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00017.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="a00203_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00203.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="a00284_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00284.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="a00326_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00326.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="a00296.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="a00143.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="a00050_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00050.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="a00332_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00332.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="a00134.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="a00329.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="a00200_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00200.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="a00239_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00239.html"·target="_self">stdthread.hh</a></td><td·class="desc"></td></tr>
Max diff block lines reached; 304/92743 bytes (0.33%) 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="a00314.html#a041dd892dba6b2c051d9ab750ef9f3c7">mpi_collective_benchmark.cc</a></li>66 <li>all_methods&#160;:&#160;<a·class="el"·href="a00077.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="a00104.html#a3ae5cb4f2a5339eb07e94108e67bcca7">bartonnackmanifcheck.hh</a></li>69 <li>CHECK_AND_CALL_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00230.html#a3ae5cb4f2a5339eb07e94108e67bcca7">bartonnackmanifcheck.hh</a></li>
70 <li>CHECK_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00104.html#acd7d9df83980a2517813af61e0eb22e1">bartonnackmanifcheck.hh</a></li>70 <li>CHECK_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00230.html#acd7d9df83980a2517813af61e0eb22e1">bartonnackmanifcheck.hh</a></li>
71 <li>CHECKSIZE&#160;:&#160;<a·class="el"·href="a00242.html#a65543e75bc949ecdb95a25b1f4e11675">reservedvector.hh</a></li>71 <li>CHECKSIZE&#160;:&#160;<a·class="el"·href="a00314.html#a65543e75bc949ecdb95a25b1f4e11675">reservedvector.hh</a></li>
72 <li>communicate()&#160;:&#160;<a·class="el"·href="a00314.html#afb912825e02284a6c9ff4f616d528d86">mpi_collective_benchmark.cc</a></li>72 <li>communicate()&#160;:&#160;<a·class="el"·href="a00077.html#afb912825e02284a6c9ff4f616d528d86">mpi_collective_benchmark.cc</a></li>
73 <li>ComposeMPIOp&#160;:&#160;<a·class="el"·href="a00362.html#abf4b9767826441f78c43351f92490b89">mpicommunication.hh</a></li>73 <li>ComposeMPIOp&#160;:&#160;<a·class="el"·href="a00083.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="a00314.html#a8fb837a19378e8d117d1b3f8a7b8fe3a">mpi_collective_benchmark.cc</a></li>76 <li>determineOverlap()&#160;:&#160;<a·class="el"·href="a00077.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="a00200.html#acbf1020c1747ea8c3dd1031d2d608557">stdthread.hh</a></li>79 <li>DUNE_ASSERT_CALL_ONCE&#160;:&#160;<a·class="el"·href="a00239.html#acbf1020c1747ea8c3dd1031d2d608557">stdthread.hh</a></li>
80 <li>DUNE_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00254.html#ac631559314e81560b9e4d2949a9c6f9e">debugalign.hh</a></li>80 <li>DUNE_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00317.html#ac631559314e81560b9e4d2949a9c6f9e">debugalign.hh</a></li>
81 <li>DUNE_BINARY_OP&#160;:&#160;<a·class="el"·href="a00254.html#a29d7d4052b3f82e3ac4809355498a1a0">debugalign.hh</a></li>81 <li>DUNE_BINARY_OP&#160;:&#160;<a·class="el"·href="a00317.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="a00290.html#ad9142ad3167567a3fdc4e29c7996ec95">math.hh</a></li>83 <li>DUNE_COMMON_MATH_ISFUNCTION&#160;:&#160;<a·class="el"·href="a00182.html#ad9142ad3167567a3fdc4e29c7996ec95">math.hh</a></li>
84 <li>DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR&#160;:&#160;<a·class="el"·href="a00290.html#a8a492f8cc06481d5f3b0d514e344dcfa">math.hh</a></li>84 <li>DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR&#160;:&#160;<a·class="el"·href="a00182.html#a8a492f8cc06481d5f3b0d514e344dcfa">math.hh</a></li>
85 <li>DUNE_DEFINE_HASH&#160;:&#160;<a·class="el"·href="a00038.html#a19447db8894b6d86b6b7ef0218694820">hash.hh</a></li>85 <li>DUNE_DEFINE_HASH&#160;:&#160;<a·class="el"·href="a00185.html#a19447db8894b6d86b6b7ef0218694820">hash.hh</a></li>
86 <li>DUNE_EXPORT&#160;:&#160;<a·class="el"·href="a00089.html#a392e8fb5628732502467b715b88974b4">visibility.hh</a></li>86 <li>DUNE_EXPORT&#160;:&#160;<a·class="el"·href="a00377.html#a392e8fb5628732502467b715b88974b4">visibility.hh</a></li>
87 <li>DUNE_FMATRIXEIGENVALUES_CC&#160;:&#160;<a·class="el"·href="a00299.html#afa3d4fc0f9c478d5f00cc7586b9dad48">fmatrixev.cc</a></li>87 <li>DUNE_FMATRIXEIGENVALUES_CC&#160;:&#160;<a·class="el"·href="a00245.html#afa3d4fc0f9c478d5f00cc7586b9dad48">fmatrixev.cc</a></li>
88 <li>DUNE_FUNCTION_HH&#160;:&#160;<a·class="el"·href="a00176.html#aeca4539848c4c95eebbb2389446432c0">function.hh</a></li>88 <li>DUNE_FUNCTION_HH&#160;:&#160;<a·class="el"·href="a00161.html#aeca4539848c4c95eebbb2389446432c0">function.hh</a></li>
89 <li>DUNE_GENERALIZED_CONSTEXPR&#160;:&#160;<a·class="el"·href="a00023.html#a97b632609f7c06170ec5e2be5729c4f0">keywords.hh</a></li>89 <li>DUNE_GENERALIZED_CONSTEXPR&#160;:&#160;<a·class="el"·href="a00320.html#a97b632609f7c06170ec5e2be5729c4f0">keywords.hh</a></li>
90 <li>DUNE_HASH_TEMPLATE_ARGS&#160;:&#160;<a·class="el"·href="a00038.html#ad88c05071e8aafc3796b6d6238900697">hash.hh</a></li>90 <li>DUNE_HASH_TEMPLATE_ARGS&#160;:&#160;<a·class="el"·href="a00185.html#ad88c05071e8aafc3796b6d6238900697">hash.hh</a></li>
91 <li>DUNE_HASH_TYPE&#160;:&#160;<a·class="el"·href="a00038.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">hash.hh</a></li>91 <li>DUNE_HASH_TYPE&#160;:&#160;<a·class="el"·href="a00185.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">hash.hh</a></li>
92 <li>DUNE_INLINE_VARIABLE&#160;:&#160;<a·class="el"·href="a00023.html#afd8117b5ac0497a09e3bdecafbf518a6">keywords.hh</a></li>92 <li>DUNE_INLINE_VARIABLE&#160;:&#160;<a·class="el"·href="a00320.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="a00221.html#a2c5026c661a32b8cb9e0f92a4515c6c6">version.hh</a></li>94 <li>DUNE_MODULE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00380.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="a00356.html#acb2192556fb08c1550c78d0db36245d5">loop.hh</a></li>
98 <li>DUNE_PRIVATE&#160;:&#160;<a·class="el"·href="a00089.html#ab9e9adaae1a11e7546a1b712495d1f42">visibility.hh</a></li>98 <li>DUNE_PRIVATE&#160;:&#160;<a·class="el"·href="a00377.html#ab9e9adaae1a11e7546a1b712495d1f42">visibility.hh</a></li>
99 <li>DUNE_SIMD_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00281.html#ad379032c70061c8e4d7d292356c9381c">test.hh</a></li>99 <li>DUNE_SIMD_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00371.html#ad379032c70061c8e4d7d292356c9381c">test.hh</a></li>
100 <li>DUNE_SIMD_CHECK&#160;:&#160;<a·class="el"·href="a00281.html#a597f9d11a82f392a91b8bc12bd49a595">test.hh</a></li>100 <li>DUNE_SIMD_CHECK&#160;:&#160;<a·class="el"·href="a00371.html#a597f9d11a82f392a91b8bc12bd49a595">test.hh</a></li>
101 <li>DUNE_SIMD_CHECK_OP&#160;:&#160;<a·class="el"·href="a00281.html#a48b2df30d98156457f001562d4bd5270">test.hh</a></li>101 <li>DUNE_SIMD_CHECK_OP&#160;:&#160;<a·class="el"·href="a00371.html#a48b2df30d98156457f001562d4bd5270">test.hh</a></li>
102 <li>DUNE_SIMD_DO&#160;:&#160;<a·class="el"·href="a00281.html#afc92f199d5b487cb38c2befd03eed5de">test.hh</a></li>102 <li>DUNE_SIMD_DO&#160;:&#160;<a·class="el"·href="a00371.html#afc92f199d5b487cb38c2befd03eed5de">test.hh</a></li>
103 <li>DUNE_SIMD_INFIX_OP&#160;:&#160;<a·class="el"·href="a00281.html#a20f7280cead2264697f74b1deebc17e5">test.hh</a></li>103 <li>DUNE_SIMD_INFIX_OP&#160;:&#160;<a·class="el"·href="a00371.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.html#ad0a3db4ac4d313e5df2f650176a7f47a">loop.hh</a></li>
116 <li>DUNE_SIMD_OPNAME&#160;:&#160;<a·class="el"·href="a00281.html#a125e4c3f5620741cca9cc19974d8fc51">test.hh</a></li>116 <li>DUNE_SIMD_OPNAME&#160;:&#160;<a·class="el"·href="a00371.html#a125e4c3f5620741cca9cc19974d8fc51">test.hh</a></li>
117 <li>DUNE_SIMD_POSTFIX_OP&#160;:&#160;<a·class="el"·href="a00281.html#a09facb8a8a5240120cca8ec1d1605959">test.hh</a></li>117 <li>DUNE_SIMD_POSTFIX_OP&#160;:&#160;<a·class="el"·href="a00371.html#a09facb8a8a5240120cca8ec1d1605959">test.hh</a></li>
118 <li>DUNE_SIMD_PREFIX_OP&#160;:&#160;<a·class="el"·href="a00281.html#aeb2257e86dd590d0f724653136732d17">test.hh</a></li>118 <li>DUNE_SIMD_PREFIX_OP&#160;:&#160;<a·class="el"·href="a00371.html#aeb2257e86dd590d0f724653136732d17">test.hh</a></li>
119 <li>DUNE_SIMD_REPL_OP&#160;:&#160;<a·class="el"·href="a00281.html#acf66af48cb08cc1bc5334b44dfd6e016">test.hh</a></li>119 <li>DUNE_SIMD_REPL_OP&#160;:&#160;<a·class="el"·href="a00371.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="a00254.html#a9b2955907ac5ff3c53a5e1dc45e10532">debugalign.hh</a></li>124 <li>DUNE_UNARY_FUNC&#160;:&#160;<a·class="el"·href="a00317.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="a00221.html#ab25a714acc2ab9e565053cb523054a95">version.hh</a></li>126 <li>DUNE_VERSION_EQUAL&#160;:&#160;<a·class="el"·href="a00380.html#ab25a714acc2ab9e565053cb523054a95">version.hh</a></li>
127 <li>DUNE_VERSION_EQUAL_REV&#160;:&#160;<a·class="el"·href="a00221.html#a860ad2275fe1229fe01d9992a6685fe7">version.hh</a></li>127 <li>DUNE_VERSION_EQUAL_REV&#160;:&#160;<a·class="el"·href="a00380.html#a860ad2275fe1229fe01d9992a6685fe7">version.hh</a></li>
128 <li>DUNE_VERSION_GT&#160;:&#160;<a·class="el"·href="a00221.html#a4221602addcd43bfc16992d83eaab73b">version.hh</a></li>128 <li>DUNE_VERSION_GT&#160;:&#160;<a·class="el"·href="a00380.html#a4221602addcd43bfc16992d83eaab73b">version.hh</a></li>
129 <li>DUNE_VERSION_GT_REV&#160;:&#160;<a·class="el"·href="a00221.html#ab892e2a1845da3fb29c5fb0cbe4d413f">version.hh</a></li>129 <li>DUNE_VERSION_GT_REV&#160;:&#160;<a·class="el"·href="a00380.html#ab892e2a1845da3fb29c5fb0cbe4d413f">version.hh</a></li>
130 <li>DUNE_VERSION_GTE&#160;:&#160;<a·class="el"·href="a00221.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">version.hh</a></li>130 <li>DUNE_VERSION_GTE&#160;:&#160;<a·class="el"·href="a00380.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">version.hh</a></li>
131 <li>DUNE_VERSION_GTE_REV&#160;:&#160;<a·class="el"·href="a00221.html#a95ef2ff0c01c2b1add28f5d4a55e6904">version.hh</a></li>131 <li>DUNE_VERSION_GTE_REV&#160;:&#160;<a·class="el"·href="a00380.html#a95ef2ff0c01c2b1add28f5d4a55e6904">version.hh</a></li>
132 <li>DUNE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00221.html#ae3ff9d66de4e43cbc5e67743013977c9">version.hh</a></li>132 <li>DUNE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00380.html#ae3ff9d66de4e43cbc5e67743013977c9">version.hh</a></li>
133 <li>DUNE_VERSION_JOIN&#160;:&#160;<a·class="el"·href="a00221.html#a229e35109d69cff060df5c80e71f3d73">version.hh</a></li>133 <li>DUNE_VERSION_JOIN&#160;:&#160;<a·class="el"·href="a00380.html#a229e35109d69cff060df5c80e71f3d73">version.hh</a></li>
134 <li>DUNE_VERSION_LT&#160;:&#160;<a·class="el"·href="a00221.html#a989ea73953b5d09cb17675d64233a15b">version.hh</a></li>134 <li>DUNE_VERSION_LT&#160;:&#160;<a·class="el"·href="a00380.html#a989ea73953b5d09cb17675d64233a15b">version.hh</a></li>
135 <li>DUNE_VERSION_LT_REV&#160;:&#160;<a·class="el"·href="a00221.html#a475b789ab8bce20d26045e337955a52b">version.hh</a></li>135 <li>DUNE_VERSION_LT_REV&#160;:&#160;<a·class="el"·href="a00380.html#a475b789ab8bce20d26045e337955a52b">version.hh</a></li>
136 <li>DUNE_VERSION_LTE&#160;:&#160;<a·class="el"·href="a00221.html#a30a27a1b8996420c55ed3c6009a62253">version.hh</a></li>136 <li>DUNE_VERSION_LTE&#160;:&#160;<a·class="el"·href="a00380.html#a30a27a1b8996420c55ed3c6009a62253">version.hh</a></li>
137 <li>DUNE_VERSION_LTE_REV&#160;:&#160;<a·class="el"·href="a00221.html#a3e5db809b447136ea37c9c2ab3ea8c52">version.hh</a></li>137 <li>DUNE_VERSION_LTE_REV&#160;:&#160;<a·class="el"·href="a00380.html#a3e5db809b447136ea37c9c2ab3ea8c52">version.hh</a></li>
138 <li>DUNE_VERSION_NEWER&#160;:&#160;<a·class="el"·href="a00221.html#a3ff6f986ce87d82c20da62e6355cf520">version.hh</a></li>138 <li>DUNE_VERSION_NEWER&#160;:&#160;<a·class="el"·href="a00380.html#a3ff6f986ce87d82c20da62e6355cf520">version.hh</a></li>
139 <li>DUNE_VERSION_NEWER_REV&#160;:&#160;<a·class="el"·href="a00221.html#a5b004009c0c7997b2330992534942c3b">version.hh</a></li>139 <li>DUNE_VERSION_NEWER_REV&#160;:&#160;<a·class="el"·href="a00380.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="a00359.html#ab8808b7c88a6c9013967559c8eae5e8c">variablesizecommunicator.hh</a></li>142 <li>fixedSize&#160;:&#160;<a·class="el"·href="a00056.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="a00314.html#a3c04138a5bfe5d72780bb7e82a18e627">mpi_collective_benchmark.cc</a></li>145 <li>main()&#160;:&#160;<a·class="el"·href="a00077.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="a00314.html#a27e2a51c9830747b1c6fd2825389fbae">mpi_collective_benchmark.cc</a></li>148 <li>options&#160;:&#160;<a·class="el"·href="a00077.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="a00314.html#a463abe7d682b6ef6fc100e18d872d4e7">mpi_collective_benchmark.cc</a></li>151 <li>printHeader()&#160;:&#160;<a·class="el"·href="a00077.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="a00314.html#a32c829093c6e6df595cdee323470d482">mpi_collective_benchmark.cc</a></li>154 <li>run()&#160;:&#160;<a·class="el"·href="a00077.html#a32c829093c6e6df595cdee323470d482">mpi_collective_benchmark.cc</a></li>
155 <li>runBlocking()&#160;:&#160;<a·class="el"·href="a00314.html#a2346f2e9a9ad80d88d9bcec29ff6dd00">mpi_collective_benchmark.cc</a></li>155 <li>runBlocking()&#160;:&#160;<a·class="el"·href="a00077.html#a2346f2e9a9ad80d88d9bcec29ff6dd00">mpi_collective_benchmark.cc</a></li>
156 <li>runNonblockingActive()&#160;:&#160;<a·class="el"·href="a00314.html#abb79e76efc659a3c229218399ebc63bc">mpi_collective_benchmark.cc</a></li>156 <li>runNonblockingActive()&#160;:&#160;<a·class="el"·href="a00077.html#abb79e76efc659a3c229218399ebc63bc">mpi_collective_benchmark.cc</a></li>
157 <li>runNonblockingSleep()&#160;:&#160;<a·class="el"·href="a00314.html#a0387f700252c5cdfd84d8c48cb2c0f85">mpi_collective_benchmark.cc</a></li>157 <li>runNonblockingSleep()&#160;:&#160;<a·class="el"·href="a00077.html#a0387f700252c5cdfd84d8c48cb2c0f85">mpi_collective_benchmark.cc</a></li>
158 <li>runNonblockingWait()&#160;:&#160;<a·class="el"·href="a00314.html#abc473f2a6a96ee4a7a3c297d40a04bde">mpi_collective_benchmark.cc</a></li>158 <li>runNonblockingWait()&#160;:&#160;<a·class="el"·href="a00077.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="a00314.html#aec1abd976c753f5575c4f77b754364b3">mpi_collective_benchmark.cc</a></li>161 <li>startCommunication()&#160;:&#160;<a·class="el"·href="a00077.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="a00104.html#a3ae5cb4f2a5339eb07e94108e67bcca7">bartonnackmanifcheck.hh</a></li>66 <li>CHECK_AND_CALL_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00230.html#a3ae5cb4f2a5339eb07e94108e67bcca7">bartonnackmanifcheck.hh</a></li>
67 <li>CHECK_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00104.html#acd7d9df83980a2517813af61e0eb22e1">bartonnackmanifcheck.hh</a></li>67 <li>CHECK_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00230.html#acd7d9df83980a2517813af61e0eb22e1">bartonnackmanifcheck.hh</a></li>
68 <li>CHECKSIZE&#160;:&#160;<a·class="el"·href="a00242.html#a65543e75bc949ecdb95a25b1f4e11675">reservedvector.hh</a></li>68 <li>CHECKSIZE&#160;:&#160;<a·class="el"·href="a00314.html#a65543e75bc949ecdb95a25b1f4e11675">reservedvector.hh</a></li>
69 <li>ComposeMPIOp&#160;:&#160;<a·class="el"·href="a00362.html#abf4b9767826441f78c43351f92490b89">mpicommunication.hh</a></li>69 <li>ComposeMPIOp&#160;:&#160;<a·class="el"·href="a00083.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="a00200.html#acbf1020c1747ea8c3dd1031d2d608557">stdthread.hh</a></li>74 <li>DUNE_ASSERT_CALL_ONCE&#160;:&#160;<a·class="el"·href="a00239.html#acbf1020c1747ea8c3dd1031d2d608557">stdthread.hh</a></li>
75 <li>DUNE_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00254.html#ac631559314e81560b9e4d2949a9c6f9e">debugalign.hh</a></li>75 <li>DUNE_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00317.html#ac631559314e81560b9e4d2949a9c6f9e">debugalign.hh</a></li>
76 <li>DUNE_BINARY_OP&#160;:&#160;<a·class="el"·href="a00254.html#a29d7d4052b3f82e3ac4809355498a1a0">debugalign.hh</a></li>76 <li>DUNE_BINARY_OP&#160;:&#160;<a·class="el"·href="a00317.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="a00290.html#ad9142ad3167567a3fdc4e29c7996ec95">math.hh</a></li>78 <li>DUNE_COMMON_MATH_ISFUNCTION&#160;:&#160;<a·class="el"·href="a00182.html#ad9142ad3167567a3fdc4e29c7996ec95">math.hh</a></li>
79 <li>DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR&#160;:&#160;<a·class="el"·href="a00290.html#a8a492f8cc06481d5f3b0d514e344dcfa">math.hh</a></li>79 <li>DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR&#160;:&#160;<a·class="el"·href="a00182.html#a8a492f8cc06481d5f3b0d514e344dcfa">math.hh</a></li>
80 <li>DUNE_DEFINE_HASH&#160;:&#160;<a·class="el"·href="a00038.html#a19447db8894b6d86b6b7ef0218694820">hash.hh</a></li>80 <li>DUNE_DEFINE_HASH&#160;:&#160;<a·class="el"·href="a00185.html#a19447db8894b6d86b6b7ef0218694820">hash.hh</a></li>
81 <li>DUNE_EXPORT&#160;:&#160;<a·class="el"·href="a00089.html#a392e8fb5628732502467b715b88974b4">visibility.hh</a></li>81 <li>DUNE_EXPORT&#160;:&#160;<a·class="el"·href="a00377.html#a392e8fb5628732502467b715b88974b4">visibility.hh</a></li>
82 <li>DUNE_FMATRIXEIGENVALUES_CC&#160;:&#160;<a·class="el"·href="a00299.html#afa3d4fc0f9c478d5f00cc7586b9dad48">fmatrixev.cc</a></li>82 <li>DUNE_FMATRIXEIGENVALUES_CC&#160;:&#160;<a·class="el"·href="a00245.html#afa3d4fc0f9c478d5f00cc7586b9dad48">fmatrixev.cc</a></li>
83 <li>DUNE_FUNCTION_HH&#160;:&#160;<a·class="el"·href="a00176.html#aeca4539848c4c95eebbb2389446432c0">function.hh</a></li>83 <li>DUNE_FUNCTION_HH&#160;:&#160;<a·class="el"·href="a00161.html#aeca4539848c4c95eebbb2389446432c0">function.hh</a></li>
84 <li>DUNE_GENERALIZED_CONSTEXPR&#160;:&#160;<a·class="el"·href="a00023.html#a97b632609f7c06170ec5e2be5729c4f0">keywords.hh</a></li>84 <li>DUNE_GENERALIZED_CONSTEXPR&#160;:&#160;<a·class="el"·href="a00320.html#a97b632609f7c06170ec5e2be5729c4f0">keywords.hh</a></li>
85 <li>DUNE_HASH_TEMPLATE_ARGS&#160;:&#160;<a·class="el"·href="a00038.html#ad88c05071e8aafc3796b6d6238900697">hash.hh</a></li>85 <li>DUNE_HASH_TEMPLATE_ARGS&#160;:&#160;<a·class="el"·href="a00185.html#ad88c05071e8aafc3796b6d6238900697">hash.hh</a></li>
86 <li>DUNE_HASH_TYPE&#160;:&#160;<a·class="el"·href="a00038.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">hash.hh</a></li>86 <li>DUNE_HASH_TYPE&#160;:&#160;<a·class="el"·href="a00185.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">hash.hh</a></li>
87 <li>DUNE_INLINE_VARIABLE&#160;:&#160;<a·class="el"·href="a00023.html#afd8117b5ac0497a09e3bdecafbf518a6">keywords.hh</a></li>87 <li>DUNE_INLINE_VARIABLE&#160;:&#160;<a·class="el"·href="a00320.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="a00221.html#a2c5026c661a32b8cb9e0f92a4515c6c6">version.hh</a></li>89 <li>DUNE_MODULE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00380.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="a00356.html#acb2192556fb08c1550c78d0db36245d5">loop.hh</a></li>
93 <li>DUNE_PRIVATE&#160;:&#160;<a·class="el"·href="a00089.html#ab9e9adaae1a11e7546a1b712495d1f42">visibility.hh</a></li>93 <li>DUNE_PRIVATE&#160;:&#160;<a·class="el"·href="a00377.html#ab9e9adaae1a11e7546a1b712495d1f42">visibility.hh</a></li>
94 <li>DUNE_SIMD_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00281.html#ad379032c70061c8e4d7d292356c9381c">test.hh</a></li>94 <li>DUNE_SIMD_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00371.html#ad379032c70061c8e4d7d292356c9381c">test.hh</a></li>
95 <li>DUNE_SIMD_CHECK&#160;:&#160;<a·class="el"·href="a00281.html#a597f9d11a82f392a91b8bc12bd49a595">test.hh</a></li>95 <li>DUNE_SIMD_CHECK&#160;:&#160;<a·class="el"·href="a00371.html#a597f9d11a82f392a91b8bc12bd49a595">test.hh</a></li>
96 <li>DUNE_SIMD_CHECK_OP&#160;:&#160;<a·class="el"·href="a00281.html#a48b2df30d98156457f001562d4bd5270">test.hh</a></li>96 <li>DUNE_SIMD_CHECK_OP&#160;:&#160;<a·class="el"·href="a00371.html#a48b2df30d98156457f001562d4bd5270">test.hh</a></li>
97 <li>DUNE_SIMD_DO&#160;:&#160;<a·class="el"·href="a00281.html#afc92f199d5b487cb38c2befd03eed5de">test.hh</a></li>97 <li>DUNE_SIMD_DO&#160;:&#160;<a·class="el"·href="a00371.html#afc92f199d5b487cb38c2befd03eed5de">test.hh</a></li>
98 <li>DUNE_SIMD_INFIX_OP&#160;:&#160;<a·class="el"·href="a00281.html#a20f7280cead2264697f74b1deebc17e5">test.hh</a></li>98 <li>DUNE_SIMD_INFIX_OP&#160;:&#160;<a·class="el"·href="a00371.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.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="a00356.html#ad0a3db4ac4d313e5df2f650176a7f47a">loop.hh</a></li>
111 <li>DUNE_SIMD_OPNAME&#160;:&#160;<a·class="el"·href="a00281.html#a125e4c3f5620741cca9cc19974d8fc51">test.hh</a></li>111 <li>DUNE_SIMD_OPNAME&#160;:&#160;<a·class="el"·href="a00371.html#a125e4c3f5620741cca9cc19974d8fc51">test.hh</a></li>
112 <li>DUNE_SIMD_POSTFIX_OP&#160;:&#160;<a·class="el"·href="a00281.html#a09facb8a8a5240120cca8ec1d1605959">test.hh</a></li>112 <li>DUNE_SIMD_POSTFIX_OP&#160;:&#160;<a·class="el"·href="a00371.html#a09facb8a8a5240120cca8ec1d1605959">test.hh</a></li>
113 <li>DUNE_SIMD_PREFIX_OP&#160;:&#160;<a·class="el"·href="a00281.html#aeb2257e86dd590d0f724653136732d17">test.hh</a></li>113 <li>DUNE_SIMD_PREFIX_OP&#160;:&#160;<a·class="el"·href="a00371.html#aeb2257e86dd590d0f724653136732d17">test.hh</a></li>
114 <li>DUNE_SIMD_REPL_OP&#160;:&#160;<a·class="el"·href="a00281.html#acf66af48cb08cc1bc5334b44dfd6e016">test.hh</a></li>114 <li>DUNE_SIMD_REPL_OP&#160;:&#160;<a·class="el"·href="a00371.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="a00254.html#a9b2955907ac5ff3c53a5e1dc45e10532">debugalign.hh</a></li>119 <li>DUNE_UNARY_FUNC&#160;:&#160;<a·class="el"·href="a00317.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="a00221.html#ab25a714acc2ab9e565053cb523054a95">version.hh</a></li>121 <li>DUNE_VERSION_EQUAL&#160;:&#160;<a·class="el"·href="a00380.html#ab25a714acc2ab9e565053cb523054a95">version.hh</a></li>
122 <li>DUNE_VERSION_EQUAL_REV&#160;:&#160;<a·class="el"·href="a00221.html#a860ad2275fe1229fe01d9992a6685fe7">version.hh</a></li>122 <li>DUNE_VERSION_EQUAL_REV&#160;:&#160;<a·class="el"·href="a00380.html#a860ad2275fe1229fe01d9992a6685fe7">version.hh</a></li>
123 <li>DUNE_VERSION_GT&#160;:&#160;<a·class="el"·href="a00221.html#a4221602addcd43bfc16992d83eaab73b">version.hh</a></li>123 <li>DUNE_VERSION_GT&#160;:&#160;<a·class="el"·href="a00380.html#a4221602addcd43bfc16992d83eaab73b">version.hh</a></li>
124 <li>DUNE_VERSION_GT_REV&#160;:&#160;<a·class="el"·href="a00221.html#ab892e2a1845da3fb29c5fb0cbe4d413f">version.hh</a></li>124 <li>DUNE_VERSION_GT_REV&#160;:&#160;<a·class="el"·href="a00380.html#ab892e2a1845da3fb29c5fb0cbe4d413f">version.hh</a></li>
125 <li>DUNE_VERSION_GTE&#160;:&#160;<a·class="el"·href="a00221.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">version.hh</a></li>125 <li>DUNE_VERSION_GTE&#160;:&#160;<a·class="el"·href="a00380.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">version.hh</a></li>
126 <li>DUNE_VERSION_GTE_REV&#160;:&#160;<a·class="el"·href="a00221.html#a95ef2ff0c01c2b1add28f5d4a55e6904">version.hh</a></li>126 <li>DUNE_VERSION_GTE_REV&#160;:&#160;<a·class="el"·href="a00380.html#a95ef2ff0c01c2b1add28f5d4a55e6904">version.hh</a></li>
127 <li>DUNE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00221.html#ae3ff9d66de4e43cbc5e67743013977c9">version.hh</a></li>127 <li>DUNE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00380.html#ae3ff9d66de4e43cbc5e67743013977c9">version.hh</a></li>
128 <li>DUNE_VERSION_JOIN&#160;:&#160;<a·class="el"·href="a00221.html#a229e35109d69cff060df5c80e71f3d73">version.hh</a></li>128 <li>DUNE_VERSION_JOIN&#160;:&#160;<a·class="el"·href="a00380.html#a229e35109d69cff060df5c80e71f3d73">version.hh</a></li>
129 <li>DUNE_VERSION_LT&#160;:&#160;<a·class="el"·href="a00221.html#a989ea73953b5d09cb17675d64233a15b">version.hh</a></li>129 <li>DUNE_VERSION_LT&#160;:&#160;<a·class="el"·href="a00380.html#a989ea73953b5d09cb17675d64233a15b">version.hh</a></li>
130 <li>DUNE_VERSION_LT_REV&#160;:&#160;<a·class="el"·href="a00221.html#a475b789ab8bce20d26045e337955a52b">version.hh</a></li>130 <li>DUNE_VERSION_LT_REV&#160;:&#160;<a·class="el"·href="a00380.html#a475b789ab8bce20d26045e337955a52b">version.hh</a></li>
131 <li>DUNE_VERSION_LTE&#160;:&#160;<a·class="el"·href="a00221.html#a30a27a1b8996420c55ed3c6009a62253">version.hh</a></li>131 <li>DUNE_VERSION_LTE&#160;:&#160;<a·class="el"·href="a00380.html#a30a27a1b8996420c55ed3c6009a62253">version.hh</a></li>
132 <li>DUNE_VERSION_LTE_REV&#160;:&#160;<a·class="el"·href="a00221.html#a3e5db809b447136ea37c9c2ab3ea8c52">version.hh</a></li>132 <li>DUNE_VERSION_LTE_REV&#160;:&#160;<a·class="el"·href="a00380.html#a3e5db809b447136ea37c9c2ab3ea8c52">version.hh</a></li>
133 <li>DUNE_VERSION_NEWER&#160;:&#160;<a·class="el"·href="a00221.html#a3ff6f986ce87d82c20da62e6355cf520">version.hh</a></li>133 <li>DUNE_VERSION_NEWER&#160;:&#160;<a·class="el"·href="a00380.html#a3ff6f986ce87d82c20da62e6355cf520">version.hh</a></li>
134 <li>DUNE_VERSION_NEWER_REV&#160;:&#160;<a·class="el"·href="a00221.html#a5b004009c0c7997b2330992534942c3b">version.hh</a></li>134 <li>DUNE_VERSION_NEWER_REV&#160;:&#160;<a·class="el"·href="a00380.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="a00314.html#afb912825e02284a6c9ff4f616d528d86">mpi_collective_benchmark.cc</a></li>65 <li>communicate()&#160;:&#160;<a·class="el"·href="a00077.html#afb912825e02284a6c9ff4f616d528d86">mpi_collective_benchmark.cc</a></li>
66 <li>determineOverlap()&#160;:&#160;<a·class="el"·href="a00314.html#a8fb837a19378e8d117d1b3f8a7b8fe3a">mpi_collective_benchmark.cc</a></li>66 <li>determineOverlap()&#160;:&#160;<a·class="el"·href="a00077.html#a8fb837a19378e8d117d1b3f8a7b8fe3a">mpi_collective_benchmark.cc</a></li>
67 <li>main()&#160;:&#160;<a·class="el"·href="a00314.html#a3c04138a5bfe5d72780bb7e82a18e627">mpi_collective_benchmark.cc</a></li>67 <li>main()&#160;:&#160;<a·class="el"·href="a00077.html#a3c04138a5bfe5d72780bb7e82a18e627">mpi_collective_benchmark.cc</a></li>
68 <li>printHeader()&#160;:&#160;<a·class="el"·href="a00314.html#a463abe7d682b6ef6fc100e18d872d4e7">mpi_collective_benchmark.cc</a></li>68 <li>printHeader()&#160;:&#160;<a·class="el"·href="a00077.html#a463abe7d682b6ef6fc100e18d872d4e7">mpi_collective_benchmark.cc</a></li>
69 <li>run()&#160;:&#160;<a·class="el"·href="a00314.html#a32c829093c6e6df595cdee323470d482">mpi_collective_benchmark.cc</a></li>69 <li>run()&#160;:&#160;<a·class="el"·href="a00077.html#a32c829093c6e6df595cdee323470d482">mpi_collective_benchmark.cc</a></li>
70 <li>runBlocking()&#160;:&#160;<a·class="el"·href="a00314.html#a2346f2e9a9ad80d88d9bcec29ff6dd00">mpi_collective_benchmark.cc</a></li>70 <li>runBlocking()&#160;:&#160;<a·class="el"·href="a00077.html#a2346f2e9a9ad80d88d9bcec29ff6dd00">mpi_collective_benchmark.cc</a></li>
71 <li>runNonblockingActive()&#160;:&#160;<a·class="el"·href="a00314.html#abb79e76efc659a3c229218399ebc63bc">mpi_collective_benchmark.cc</a></li>71 <li>runNonblockingActive()&#160;:&#160;<a·class="el"·href="a00077.html#abb79e76efc659a3c229218399ebc63bc">mpi_collective_benchmark.cc</a></li>
72 <li>runNonblockingSleep()&#160;:&#160;<a·class="el"·href="a00314.html#a0387f700252c5cdfd84d8c48cb2c0f85">mpi_collective_benchmark.cc</a></li>72 <li>runNonblockingSleep()&#160;:&#160;<a·class="el"·href="a00077.html#a0387f700252c5cdfd84d8c48cb2c0f85">mpi_collective_benchmark.cc</a></li>
73 <li>runNonblockingWait()&#160;:&#160;<a·class="el"·href="a00314.html#abc473f2a6a96ee4a7a3c297d40a04bde">mpi_collective_benchmark.cc</a></li>73 <li>runNonblockingWait()&#160;:&#160;<a·class="el"·href="a00077.html#abc473f2a6a96ee4a7a3c297d40a04bde">mpi_collective_benchmark.cc</a></li>
74 <li>startCommunication()&#160;:&#160;<a·class="el"·href="a00314.html#aec1abd976c753f5575c4f77b754364b3">mpi_collective_benchmark.cc</a></li>74 <li>startCommunication()&#160;:&#160;<a·class="el"·href="a00077.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="a00314.html#a041dd892dba6b2c051d9ab750ef9f3c7">mpi_collective_benchmark.cc</a></li>65 <li>all_methods&#160;:&#160;<a·class="el"·href="a00077.html#a041dd892dba6b2c051d9ab750ef9f3c7">mpi_collective_benchmark.cc</a></li>
66 <li>fixedSize&#160;:&#160;<a·class="el"·href="a00359.html#ab8808b7c88a6c9013967559c8eae5e8c">variablesizecommunicator.hh</a></li>66 <li>fixedSize&#160;:&#160;<a·class="el"·href="a00056.html#ab8808b7c88a6c9013967559c8eae5e8c">variablesizecommunicator.hh</a></li>
67 <li>options&#160;:&#160;<a·class="el"·href="a00314.html#a27e2a51c9830747b1c6fd2825389fbae">mpi_collective_benchmark.cc</a></li>67 <li>options&#160;:&#160;<a·class="el"·href="a00077.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>
2.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00032_source.html vs.
./usr/share/doc/libdune-common-doc/doxygen/a00389_source.html
Files 0% similar despite different names
    
Offset 65, 15 lines modifiedOffset 65, 15 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="headertitle"><div·class="title">matvectraits.hh</div></div>69 ··<div·class="headertitle"><div·class="title">matvectraits.hh</div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
72 <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 <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>
73 <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="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</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>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_MATVECTRAITS_HH</span></div>76 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_MATVECTRAITS_HH</span></div>
77 <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="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_MATVECTRAITS_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="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="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>
32.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00077_source.html vs.
./usr/share/doc/libdune-common-doc/doxygen/a00134_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:·indent.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 62, 91 lines modifiedOffset 62, 78 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">streamoperators.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
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="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_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> 
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;ostream&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;string&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="a00023.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="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>89 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</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>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>
 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>
 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>
84 <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>
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>113 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keywordflow">if</span>(N&gt;0)</div>
88 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>114 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····{</div>
89 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">public</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>
90 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>118 <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>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>
 120 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keywordflow">return</span>·stream;</div>
93 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····{·}</div>121 <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>·</div>122 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</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>123 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>}·<span·class="comment">//·end·namespace·Dune</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>124 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</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>125 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="preprocessor">#endif</span></div>
 126 <div·class="ttc"·id="aa00023_html"><div·class="ttname"><a·href="a00023.html">hybridutilities.hh</a></div></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...·&gt;·&amp;t)</div><div·class="ttdoc">Read·a·std::tuple.</div><div·class="ttdef"><b>Definition:</b>·streamoperators.hh:43</div></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·class="ttdoc">Range·based·for·loop.</div><div·class="ttdef"><b>Definition:</b>·hybridutilities.hh:268</div></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> 
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> 
Max diff block lines reached; 1129/27474 bytes (4.11%) of diff not shown.
5.21 KB
html2text {}
    
Offset 4, 121 lines modifiedOffset 4, 87 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 indent.hh7 streamoperators.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_HH 
15 ·6#define·DUNE_COMMON_INDENT_HH 
16 ·7 
17 ·8#include·<ostream> 
18 ·9#include·<string> 
19 ·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
20 ·11namespace·Dune·{24 ·19namespace·Dune
21 ·22 
22 52·class·Indent25 ·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)
 31 ·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);
 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;
 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)
23 ·53·{50 ·53·{
24 ·54·const·Indent*·parent; 
25 ·55·std::string·basic_indent; 
26 ·56·unsigned·level; 
27 ·57 
28 ·58·public: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];
29 ·6057 ·60·}
 58 ·61·stream<<"]";
 59 ·62·return·stream;
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·}60 ·63·}
 61 ·64
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·} 
68 ·112 
69 ·115}·//·namespace·Dune62 ·67}·//·end·namespace·Dune
 63 ·68
 64 ·69#endif
 65 hybridutilities.hh
 66 Dune::operator>>
 67 Stream·&·operator>>(Stream·&stream,·std::tuple<·Ts...·>·&t)
 68 Read·a·std::tuple.
 69 Definition:·streamoperators.hh:43
 70 Dune::Hybrid::forEach
 71 constexpr·void·forEach(Range·&&range,·F·&&f)
 72 Range·based·for·loop.
 73 Definition:·hybridutilities.hh:268
70 ·116 
71 ·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 
Max diff block lines reached; 517/5316 bytes (9.73%) of diff not shown.
21.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a00098_source.html vs.
./usr/share/doc/libdune-common-doc/doxygen/a00257_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:·shared_ptr.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, 64 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">shared_ptr.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="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="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_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_COMMON_TYPEUTILITIES_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_SHARED_PTR_HH</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>
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> 
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;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>
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>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00386.html">dune/common/typetraits.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="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><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> 
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> 
86 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{</div>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</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">opera[·...·truncated·by·diffoscope;·len:·52,·SHA:·938df135f569032dde96db086539e88b64ed7c9aa3383cb9732871fb94bfde38·...·]</div>85 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">namespace·</span>Impl</div>
88 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··};</div>86 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··{</div>
89 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</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>
 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>
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>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>
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>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>
92 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··{</div>106 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··{</div>
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>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"[·...·truncated·by·diffoscope;·len:·21,·SHA:·d55dae1b87da619384057a6f81d121f2444fe3a93a01b3b9df921ba118508648·...·];</div>
94 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··}</div>108 <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>109 <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>110 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="keyword">template</span>&lt;&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>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>
99 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··{</div>112 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</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>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="a03[·...·truncated·by·diffoscope;·len:·57,·SHA:·1dd779507e2f921cff0caa0c92402da82c6e3499873be153387b652618a7cb6d·...·];</div>
101 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··}</div>114 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··};</div>
102 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>115 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</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>116 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
109 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>}</div>117 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>
110 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span><span·class="preprocessor">#endif</span></div>118 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>}·<span·class="comment">//·namespace·Dune</span></div>
111 <div·class="ttc"·id="aa00386_html"><div·class="ttname"><a·href="a00386.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></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>
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>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>
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·class="ttdoc">Create·a·shared_ptr·for·a·stack-allocated·object.</div><div·class="ttdef"><b>Definition:</b>·shared_ptr.hh:72</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> 
118 </div><!--·fragment·--></div><!--·contents·-->127 </div><!--·fragment·--></div><!--·contents·-->
119 <!--·start·footer·part·-->128 <!--·start·footer·part·-->
120 <hr·class="footer"/><address·class="footer"><small>129 <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.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
122 </small></address>131 </small></address>
123 </body>132 </body>
124 </html>133 </html>
3.44 KB
html2text {}
    
Offset 4, 76 lines modifiedOffset 4, 81 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 shared_ptr.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 
15 ·6#ifndef·DUNE_SHARED_PTR_HH 
16 ·7#define·DUNE_SHARED_PTR_HH 
17 ·8 
18 ·9#include·<memory> 
19 ·10 
20 ·11#include·<dune/common/typetraits.hh>14 ·5#ifndef·DUNE_COMMON_TYPEUTILITIES_HH
 15 ·6#define·DUNE_COMMON_TYPEUTILITIES_HH
 16 ·7
 17 ·8#include·<cstddef>
 18 ·9#include·<type_traits>
 19 ·10#include·<tuple>
 20 ·11
 21 ·12
21 ·17namespace·Dune22 ·13namespace·Dune·{
22 ·18{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
23 ·47·template<class·T>32 ·29·template<class·This>
 33 ·30·struct·disableCopyMoveHelper<This>·:·public·std::false_type
24 48·struct·null_deleter 
25 ·49·{ 
26 50·void·operator()(T*)·const·{} 
27 ·51·};34 ·31·{};
28 ·52 
29 ·71·template<typename·T> 
30 72·inline·std::shared_ptr<T>·stackobject_to_shared_ptr(T·&·t)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>
31 ·73·{47 ·73·{
32 ·74·return·std::shared_ptr<T>(&t,·null_deleter<T>());48 74·static·constexpr·std::size_t·value·=·priority;
33 ·75·}49 ·75·};
34 ·7650 ·76
 51 ·85·template<>
 52 86·struct·PriorityTag<0>
35 ·77 
36 ·95·template<class·T> 
37 96·auto·wrap_or_move(T&&·t) 
38 ·97·{53 ·87·{
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} 
49 ·125#endif 
50 typetraits.hh 
51 Traits·for·type·conversions·and·type·information.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
52 Dune69 Dune
53 Dune·namespace.70 Dune·namespace.
54 Definition:·alignedallocator.hh:1371 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
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:·shared_ptr.hh:72 
59 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 
  
73 ===============================================================================78 ===============================================================================
74 ·····Generated·by [doxygen]·1.9.479 ·····Generated·by [doxygen]·1.9.4
103 KB
./usr/share/doc/libdune-common-doc/doxygen/a00113_source.html vs.
./usr/share/doc/libdune-common-doc/doxygen/a00035_source.html
Files 21% 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:·type_traits.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, 215 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><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">plocalindex.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="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_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_STD_TYPE_TRAITS_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;type_traits&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>
 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·&lt;<a·class="code"·href="a00386.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·&quot;<a·class="code"·href="a00086.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·&lt;<a·class="code"·href="a00158.html">dune/common/typeutilities.hh</a>&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="a00065.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="a00074.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">#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>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><span·class="preprocessor">#endif</span></div> 
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</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="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>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>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>
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>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>
 97 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··}</div>
92 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>98 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</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>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>
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>101 <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><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>102 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">#if·HAVE_MPI</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>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>
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>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>
114 <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>
115 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">namespace·</span>Impl·{</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>
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>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>
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>114 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</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>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>
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> 
Max diff block lines reached; 59344/88056 bytes (67.39%) of diff not shown.
17.1 KB
html2text {}
    
Offset 4, 284 lines modifiedOffset 4, 327 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 plocalindex.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_HH 
17 ·7 
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#endif 
25 ·1515 ·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
26 ·16namespace·Dune25 ·15namespace·Dune
 26 ·16{
27 ·17{27 ·17
28 ·1828 ·18
 29 ·29·template<class·T>·class·ParallelLocalIndex;
29 ·20 
30 ·29namespace·Std 
31 ·30{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);
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 ·5550 ·55
 51 ·56·public:
 52 64·typedef·T·Attribute;
 53 ·73·ParallelLocalIndex(const·Attribute&·attribute,·bool·isPublic);
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·}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
79 ·75 
80 ·76#endif·//·DOXYGEN 
81 ·77 
82 ·79 
83 87·struct·nonesuch 
84 ·88·{ 
Max diff block lines reached; 13088/17487 bytes (74.84%) of diff not shown.
444 KB
./usr/share/doc/libdune-common-doc/doxygen/a00125_source.html vs.
./usr/share/doc/libdune-common-doc/doxygen/a00293_source.html
Files 24% 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:·densevector.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, 707 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">densevector.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="a00125.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_DENSEVECTOR_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_DENSEVECTOR_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="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;algorithm&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="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>
 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>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</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>
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>·</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="a00041.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="a00083.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="a00032.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="a00248.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="a00071.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="a00080.html">boundschecking.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>86 <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="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>87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00173.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="a00350.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="a00341.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="a00311.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="a00302.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="a00008.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="a00014.html">dune/common/typetraits.hh</a>&gt;</span></div>
93 <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>·</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>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>
100 <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>
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>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>
102 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</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>
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>105 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</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>
109 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>107 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</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>108 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">public</span>:</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>109 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="comment">//=====·type·definitions·and·constants</span></div>
112 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····{</div>110 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</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>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">valu[·...·truncated·by·diffoscope;·len:·10,·SHA:·b371ac451eead9b01742f761f3c4855012da2c604fa105db4b34e7d78a4cc52a·...·];</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>
115 <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>
 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>
116 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</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>
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>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>
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>119 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</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·(<s[·...·truncated·by·diffoscope;·len:·62,·SHA:·466d52d8a25947d39d4bb1b9b511fc51935e7735d4196b2253a3a539d3c01c49·...·]</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="[·...·truncated·by·diffoscope;·len:·84,·SHA:·f09d09b275a023581472c2f56f8a3ccf6a9533b597a658fdf5c6374c898a257e·...·]</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>
 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="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="code·hl_variable"·href="a00411.html#ga7851a5fbd197ee82d4c2c5cebc7f46e2">cols</a>·=·n;</div>
 129 <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>
 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"><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>
125 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{</div>133 <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>
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>135 <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>136 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</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>137 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="comment">//=====·constructors</span></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; 349976/381572 bytes (91.72%) of diff not shown.
71.6 KB
html2text {}
    
Offset 4, 958 lines modifiedOffset 4, 1606 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 densevector.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_DENSEVECTOR_HH 
15 ·6#define·DUNE_DENSEVECTOR_HH14 ·5#ifndef·DUNE_DIAGONAL_MATRIX_HH
 15 ·6#define·DUNE_DIAGONAL_MATRIX_HH
16 ·716 ·7
17 ·8#include·<algorithm>17 ·12#include·<algorithm>
 18 ·13#include·<cassert>
 19 ·14#include·<cmath>
 20 ·15#include·<complex>
 21 ·16#include·<cstddef>
 22 ·17#include·<initializer_list>
 23 ·18#include·<iostream>
 24 ·19#include·<memory>
18 ·9#include·<limits> 
19 ·10#include·<type_traits> 
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 ·18 
28 ·19namespace·Dune·{ 
29 ·2025 ·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
 35 ·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
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·{ 
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>42 ·51·template<class·K,·int·n>
 43 52·class·DiagonalMatrix
52 ·58·inline·typename·FieldTraits<K>::real_type·absreal·(const·std::complex<K>& 
53 c) 
54 ·59·{44 ·53·{
55 ·60·using·std::abs; 
56 ·61·return·abs(c.real())·+·abs(c.imag());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;
 51 61·typedef·value_type·field_type;
57 ·62·}52 ·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)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·()
67 ·80·{72 ·88·{
 73 ·89·return·rows;
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 ·90·}
 75 ·91
 76 ·92·//=====·constructors
 77 ·93
Max diff block lines reached; 68758/73310 bytes (93.79%) of diff not shown.
46.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a00143_source.html vs.
./usr/share/doc/libdune-common-doc/doxygen/a00269_source.html
Files 6% 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:·exceptions.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, 111 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">exceptions.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="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="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>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>
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;exception&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>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</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><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>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>
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">#if·HAVE_GMP·||·DOXYGEN</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="preprocessor">#include·&lt;gmpxx.h&gt;</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="a00209.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="a00014.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>
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="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>
 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>
 98 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">public</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>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>102 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
85 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="comment">/*·forward·declarations·*/</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<[·...·truncated·by·diffoscope;·len:·51,·SHA:·ad7252345dba763af970a1d78f8f1a92a808f38682244718e4fb44fd5aeddbc0·...·]</div>
 104 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······:·Base(str,precision)</div>
86 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">class·</span>Exception;</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>
87 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">struct·</span>ExceptionHook;</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>
88 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>118 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</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>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>
90 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··:·<span·class="keyword">public</span>·std::exception</div>121 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">····</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>
 123 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····}</div>
 124 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 125 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··};</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>
 131 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</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">int</span>·precision2·&gt;</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>
91 <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>
 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>
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> 
99 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····std::string·_message;</div>152 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··{</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>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[·...·truncated·by·diffoscope;·len:·82,·SHA:·42c924d939629aa9af7d721398694ba8d2ed3070b3037dbd7d4485145f9cbf6c·...·];</div>
101 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··};</div>154 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··};</div>
 155 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>}</div>
102 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div>156 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</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> 
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#gab7d05055167bdb067cce622f051cb551">operator·()·</a>()·=·0;</div> 
107 <div·class="line"><a·id="l00177"·name="l00177"></a><span·class="lineno">··177</span>··};</div> 
Max diff block lines reached; 6162/39177 bytes (15.73%) of diff not shown.
7.85 KB
html2text {}
    
Offset 4, 153 lines modifiedOffset 4, 148 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 exceptions.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>
14 ·5 
15 ·6#ifndef·DUNE_EXCEPTIONS_HH 
16 ·7#define·DUNE_EXCEPTIONS_HH 
17 ·8 
18 ·9#include·<exception> 
19 ·10#include·<string>18 ·13#include·<string>
20 ·11#include·<sstream> 
21 ·1219 ·14#include·<type_traits>
 20 ·15
 21 ·16#if·HAVE_GMP·||·DOXYGEN
 22 ·17
 23 ·18#include·<gmpxx.h>
 24 ·19
 25 ·20#include·<dune/common/promotiontraits.hh>
 26 ·21#include·<dune/common/typetraits.hh>
 27 ·22
22 ·13namespace·Dune·{28 ·23namespace·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 
30 ·96·{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
31 ·97·public:37 ·36·public:
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;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();
 62 ·70·}
 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>·{
46 ·177·};69 ·77·};
47 ·17870 ·78
48 179·inline·std::ostream&·operator<<(std::ostream·&stream,·const·Exception·&e) 
49 ·180·{ 
50 ·181·return·stream·<<·e.what(); 
51 ·182·} 
52 ·183 
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·//·DOXYGEN71 ·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·};
60 ·19083 ·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·};
 89 ·96
Max diff block lines reached; 2481/8017 bytes (30.95%) of diff not shown.
301 KB
./usr/share/doc/libdune-common-doc/doxygen/a00329_source.html vs.
./usr/share/doc/libdune-common-doc/doxygen/a00296_source.html
Files 26% 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:·indicessyncer.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, 996 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">indicessyncer.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="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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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> 
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_INDICESSYNCER_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_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>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">#include·&quot;<a·class="code"·href="a00317.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="a00323.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="a00050.html">dune/common/stdstreams.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>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00284.html">dune/common/sllist.hh</a>&gt;</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>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</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>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cmath&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>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;limits&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>
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> 
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="preprocessor">#include·&lt;tuple&gt;</span></div> 
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</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="a00305.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="a00317.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="a00146.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">#if·HAVE_MPI</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="a00014.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="a00149.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>
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>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>
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</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="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="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div>96 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</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>97 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</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>98 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">#if·HAVE_VC</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#gac0[·...·truncated·by·diffoscope;·len:·163,·SHA:·f3bc69c2d5c55d9be4fe9a4cac3ffa88b3106640f142e02205ab3e9bc0a9a0ac·...·]</div>99 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">namespace·</span>VcImpl·{</div>
103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>100 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
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:·86,·SHA:·20b985eb04ccf7d2fe444b278a22577f2653e9098d7b1119b32a6f7b3b289218·...·];</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>
 102 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">class·</span>Proxy</div>
105 <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>
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[·...·truncated·by·diffoscope;·len:·105,·SHA:·e8c790c423bddda7a3c0854b0415a9d40904bf0ca77c98ebd05e768fddff2bf0·...·]</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>
107 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>108 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</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>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>
110 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>114 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</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>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>
 121 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
 122 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······<span·class="comment">//·postfix·operators</span></div>
112 <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>
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>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>
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>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>
115 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>130 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
116 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keyword">private</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>
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>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>
121 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>144 <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>145 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>······<span·class="comment">//·binary·operators</span></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>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>
Max diff block lines reached; 215677/253746 bytes (85.00%) of diff not shown.
52.8 KB
html2text {}
    
Offset 4, 1171 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 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·-*- 
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_INDICESSYNCER_HH 
16 ·6#define·DUNE_INDICESSYNCER_HH 
17 ·7 
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>18 ·30#include·<cassert>
23 ·13#include·<cmath>19 ·31#include·<cstddef>
24 ·14#include·<limits> 
25 ·15#include·<algorithm> 
26 ·16#include·<functional> 
27 ·17#include·<map> 
28 ·18#include·<tuple> 
29 ·19 
30 ·20#if·HAVE_MPI20 ·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>
 33 ·45
31 ·21namespace·Dune34 ·46namespace·Dune
 35 ·47{
 36 ·48
 37 ·49#if·HAVE_VC
 38 ·50·namespace·VcImpl·{
32 ·22{ 
33 ·39·template<typename·T> 
34 40·class·IndicesSyncer 
35 ·41·{ 
36 ·42·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 ·5239 ·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();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
52 ·8362 ·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_;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_]);·}
61 ·10483 ·104
62 ·106·char**·sendBuffers_; 
Max diff block lines reached; 47413/54080 bytes (87.67%) of diff not shown.
227 KB
./usr/share/doc/libdune-common-doc/doxygen/a00362_source.html vs.
./usr/share/doc/libdune-common-doc/doxygen/a00314_source.html
Files 26% 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:·mpicommunication.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 58, 501 lines modifiedOffset 58, 438 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">reservedvector.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="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_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_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_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_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="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>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>
 80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cassert&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>81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;iostream&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>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>
 86 <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/hash.hh</a>&gt;</span></div>
83 <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="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>
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>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="a00314.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>
85 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>93 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</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="a00245.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="a00143.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="a00341.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="a00311.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="a00347.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="a00353.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="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>
94 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</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>
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>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>
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>98 <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> 
119 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">private</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>
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>100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
122 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······BinaryFunction·func;</div>101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">public</span>:</div>
123 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</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>
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>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>
 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>
139 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a00362.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> 
Max diff block lines reached; 162559/189548 bytes (85.76%) of diff not shown.
41.5 KB
html2text {}
    
Offset 4, 666 lines modifiedOffset 4, 642 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 reservedvector.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_COMMON_RESERVEDVECTOR_HH
 15 ·6#define·DUNE_COMMON_RESERVEDVECTOR_HH
17 ·716 ·7
18 ·16#if·HAVE_MPI 
19 ·17 
20 ·18#include·<algorithm>17 ·12#include·<algorithm>
21 ·19#include·<functional> 
22 ·20#include·<memory>18 ·13#include·<array>
 19 ·14#include·<cassert>
 20 ·15#include·<iostream>
 21 ·16#include·<iterator>
 22 ·17#include·<cstddef>
 23 ·18#include·<initializer_list>
 24 ·19
 25 ·20#include·<dune/common/hash.hh>
23 ·2126 ·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
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·Dune33 ·28namespace·Dune
34 ·32{34 ·29{
 35 ·45·template<class·T,·int·n>
 36 46·class·ReservedVector
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·{37 ·47·{
 38 ·48·using·storage_type·=·std::array<T,n>;
 39 ·49
 40 ·50·public:
 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;
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 ·7653 ·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·{}
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;·\ 
Max diff block lines reached; 37978/42519 bytes (89.32%) of diff not shown.